Fork me on GitHub

cacti 添加

一,为已有host添加新的监控图  (基于snmp)

在console控制台下点击“New Graphs”,选择要添加监控图的主机。在Graph Templates中选择一个Graph模板,本例选择SNMP - Ceneric OID Template,点击create按钮。

填写以下信息,在“Title”文本框中填写Graph的名字,在“Vertical Lable”文本框中填写描述信息或是所绘图片使用的单位等,显示在所绘图片的左侧,在“name”文本框中填写此数据源的名字,在“LegendColor”中选择画图使用的颜色,在“Legend Text”填写图例的名字,在“OID”文本框中填写要监控的主机的OID信息,点击“create”按钮完成Graph的创建。

之后等待10分钟左右便可看图

二,合并多个数据源到一张图上

在console控制台下点击“Graph Management”,然后点击Add链接。

在“Select Graph Template”下拉框中选择None,在“Host”下拉框中选择None,然后点击create按钮。

在“Title”文本框中输入Graph的名字。

点击Add链接,添加Graph Items。

添加多个数据源,将所选的多个数据源画到一张监控图上。

 例如tcp主动与被动

1.3.6.1.2.1.6.5.0  主动  LINE1 : LAST

1.3.6.1.2.1.6.6.0  被动  LINE1 : LAST

完成后将所画的监控图放到Graph Trees中。

Data source Type

How the data from the OID should be stored by RRDTool and interpreted on the graph. If the value of the OID represents the actual data,
you should use GAUGE for this field. If the OID value is a constantly incrementing number, you should use COUNTER for this field.
The two remaining field values, DERIVE and ABSOLUTE can be ignored in most situations.

posted on 2014-11-08 11:42  阳光-源泉  阅读(347)  评论(0编辑  收藏  举报

导航