zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    使用sstream来进行类型转换
    C++中的istringstream
    C++中如何按照map中的value来进行排序
    019:别叫,这个大整数已经很简化了!
    ccf题库20170903--Json查询
    ccf题库中2015年12月2号消除类游戏
    ccf题库中2016年4月2日俄罗斯方块问题
    C++基础算法学习——逆波兰表达式问题
    C++基础算法学习——N皇后问题
    C++基础算法学习——汉洛塔问题
  • 原文地址:https://www.cnblogs.com/createyuan/p/4082988.html
Copyright © 2011-2022 走看看