benzhou 发表于 2015-11-22 12:51:18

cacti 多核心CPU CPU占用汇总 --- 模板最多支持8核心

  转自:http://blog.iyunv.com/wojiaodazhong/article/details/8998505

  
  1.下载模版
  csdn博客不能上传文件蛋疼啊。。。。。
  http://download.iyunv.com/detail/wojiaodazhong/5505805

  2.操作过程
  2.1 导入模板----省略
  2.2 创建图形
     ----进入控制面板
     ----打开设备页面
     ----选择要创建图形的设备(服务器)
   ----点击右上角的“Create Graphs for the Host”
   ----从下拉菜单中选择”Gragh Template Section“----HOSTMIB - MULT CPU utilization on X processor box,X就是核心数,对应选下
   ----点击”Create“。
   ----然后让填写 index-value 。。。 这3个值默认空就行。点击保存。
2.3进入图形管理
   ----进入控制面板
   ----打开”Graph Management“ 图形管理页面。
   ----定位到刚刚新建的图形。ps.先选择刚刚的主机过滤下,不然太多可能不好找。
   ----选择 "SupplementalGraph 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 ConsoleTab
-- Click on the Multi-CPU Template youwant to change
-- Click on Item #1
-- Choose the "Color" from thedropdown (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 relevantgraph - "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 clickon 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 graphon 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 instep 2 but when asked be sure to keep thedata-sources intact because the multi-cpu-graph needs these datasources.)

4.A little bit of customisation
-- This bit just changes the colour of the Average (or MEAN) CPU utilizationfrom 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" from the dropdown (I chose FF00FF)
-- Choose the "Opacity/Alpha Channel" from the dropdown (I chose 30%)
-- Click Save
页: [1]
查看完整版本: cacti 多核心CPU CPU占用汇总 --- 模板最多支持8核心