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.

  • 相关阅读:
    golang中,new和make的区别
    k8s客户端库
    k8s 拉取私有镜像
    kubernetes-client / python
    k8s集群外go客户端示例
    K8s获取NodePort
    KUBERNETES中的服务发现机制与方式
    Rancher容器目录持久化
    rancher k8s 实现pod弹性伸缩
    在Terminal里,使用Shift+Insert来代替鼠标右键来进行粘贴操作
  • 原文地址:https://www.cnblogs.com/createyuan/p/4082988.html
Copyright © 2011-2022 走看看