cacti 多核心CPU CPU占用汇总

1.下载模版

csdn博客不能上传文件蛋疼啊。。。。。

http://download.csdn.net/detail/wojiaodazhong/5505805

2.操作过程

  2.1 导入模板----省略

  2.2 创建图形

     ----进入控制面板

     ----打开设备页面

     ----选择要创建图形的设备(服务器)

     ----点击右上角的“Create Graphs for the Host”

     ----从下拉菜单中选择”Gragh Template Section“----HOST MIB - MULT CPU utilization on X processor box  ,X就是核心数,对应选下

     ----点击”Create“。

     ----然后让填写 index-value 。。。 这3个值默认空就行。点击保存。

  2.3进入图形管理

     ----进入控制面板

     ----打开”Graph Management“ 图形管理页面。

     ----定位到刚刚新建的图形。ps.先选择刚刚的主机过滤下,不然太多可能不好找。

     ----选择 "Supplemental Graph Template Data”..原文说一啪啦.一会上个图大家就明白了.

     ----这里有个可选项 ,可以把原来的单核心图形模版删除了,但是注意不要把数据源给删除了. ps.反正我没删,大家随意

   2.4 自定义操作 

      ------原文是让设置图形颜色,我觉得默认就挺好看的啊。难得麻烦。

-- This bit just changes the colour of the Average (or MEAN) CPU utilization from yellow to PINK (as above), but you can choose any colour/opacity combination
-- Goto Graph Templates on the Console Tab
-- Click on the Multi-CPU Template you want to change
-- Click on Item #1
-- Choose the "Color" [sic] from the dropdown (I chose FF00FF)
-- Choose the "Opacity/Alpha Channel" from the dropdown (I chose 30%)
-- Click Save

最后上图一张



原文如下:

    

1. Import the template in cacti
-- Goto the console pane
-- Click on Import Templates
-- Choose the file (template) to import
-- Click Import

2. Create Graphs
-- Goto console pane
-- Goto Devices
-- Choose your device (host)
-- Click on Create *Create Graphs for this Host
-- Choose from the drop down in the "Graph Template Section" the relevant graph - "HOST MIB - MULT CPU utilization on X processor box" - Where X is the number of CPUs in your device
-- Click Create
-- on the next screen you will asked the index-value/type ... just click on save and  its not over yet  !!

3. Get the Graphs working
-- Goto Console
-- Goto Graph Management
-- locate the graph you just created, click on it
-- in "Supplemental Graph Template Data” select the cpu you wish to graph on the multi-cpu-graph, for each data source item, from the relevant dropdown. This is most likely HOSTNAME - CPU Utilization - CPU0 (cpu), HOSTNAME - CPU Utilization - CPU1 (cpu) and so on ...
-- (optional - : you can now delete the initial graphs that you created in step 2 but when asked  be sure to keep the data-sources intact  because the multi-cpu-graph needs these data sources.)

4. A little bit of customisation
-- This bit just changes the colour of the Average (or MEAN) CPU utilization from yellow to PINK (as above), but you can choose any colour/opacity combination
-- Goto Graph Templates on the Console Tab
-- Click on the Multi-CPU Template you want to change
-- Click on Item #1
-- Choose the "Color" [sic] from the dropdown (I chose FF00FF)
-- Choose the "Opacity/Alpha Channel" from the dropdown (I chose 30%)
-- Click Save

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值