官术网_书友最值得收藏!

Time for action – defining a CDEF in Cacti

  1. Go to Management | Graph Management and click on the CDEFs submenu.
  2. On the usual screen, click on the Add link to the top right.
  3. Now you can give the new CDEF a useful name. Enter isGreen_0-44 and click on Create.
  4. Another table will appear. Click on the Add link.
  5. For CDEF Item Type, select Custom String from the drop-down box.
  6. Enter a,0,44,LIMIT into the CDEF Item Value field and click on Create. The first CDEF is created and you will see your CDEF definition together with a Save Successful message at the top.
    TiCDEF definitionaboutme for action – defining a CDEF in Cacti
  7. Repeat the steps and create a new CDEF called isYellow_45-50 and the Item Value of a,45,50,LIMIT.
  8. Now that you have defined your two CDEF items, you can proceed with the graph template creation.

What just happened?

You have created the two CDEF items which you are going to use to change the appearance of your running processes graph to go yellow before reaching a threshold, and stay green when it is way below the threshold.

Defining the graph template

Now that you have created your CDEFs, you can create your special graph template. The graph will have the green, yellow, and red areas defined, as well as the HRULE item showing the threshold. The threshold is set at 50.

主站蜘蛛池模板: 错那县| 来宾市| 图木舒克市| 上饶市| 化德县| 社旗县| 广安市| 盖州市| 海口市| 盐边县| 江都市| 大丰市| 谷城县| 迁安市| 班玛县| 滦平县| 九龙县| 汨罗市| 响水县| 从江县| 女性| 长兴县| 麻城市| 开江县| 兰坪| 奉新县| 宁津县| 大理市| 扎兰屯市| 天峨县| 名山县| 武安市| 泽普县| 磴口县| 忻城县| 宜城市| 五原县| 衡水市| 大宁县| 武义县| 滁州市|