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

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.

主站蜘蛛池模板: 和田市| 当阳市| 赤壁市| 永兴县| 德惠市| 锡林郭勒盟| 嫩江县| 潞西市| 来宾市| 漠河县| 万盛区| 繁峙县| 铅山县| 叙永县| 哈尔滨市| 象山县| 渝北区| 凤凰县| 文昌市| 钦州市| 增城市| 咸丰县| 衡阳县| 若尔盖县| 东乡| 洛扎县| 新津县| 云浮市| 保山市| 麻江县| 吴江市| 曲沃县| 九寨沟县| 麻城市| 额济纳旗| 乌拉特中旗| 平度市| 浙江省| 峨边| 潮安县| 中阳县|