- Cacti 0.8 Beginner's Guide
- Thomas Urban
- 275字
- 2021-04-09 21:42:09
Now you are going to add colors to the three areas of the graph.
- Add another item.
- Select the Host-Resource-Mib: Running Processes as the Data Source.
- Select a red color.
- Select AREA as the Graph Item Type and put Over Threshold into the Text Format field.
- Click on Create.
- For the yellow area, you need to add yet another item.
- Select AREA as the Graph Item Type, choose a yellow color, and put Near Threshold into the Text Format field.
- Select isYellow_45-50 as the CDEF function to use.
- Click on Create.
- The last one will be the green area, so click on Add again.
- Select AREA as the Graph Item Type, choose a green color, and put Under Threshold into the Text Format field.
- Select isGreen_0-44 as the CDEF function and check the Insert Hard Return box.
- Click on Create. Your graph definition should now look like the following screenshot. Verify that you have defined all of the items in the same way.
You have now added your three colored areas to the graph. Using the same principle as for the RRDtool graph command, you based the values of the single areas on a CDEF value. This will make sure that only the relevant area shows up on the graph, depending on the data value.
By selecting a data source you can also see that this data source is automatically added to the Graph Item Inputs list.
推薦閱讀
- 3ds Max 2016中文版完全自學手冊
- Flash CC從入門到精通
- Photoshop CS6從入門到精通
- 中文版Maya 2014案例教程
- CAD/CAM技術與應用
- Salesforce CRM: The Definitive Admin Handbook
- 新編 中文版Photoshop入門與提高
- Implementing SugarCRM 5.x
- Asterisk 1.4 : The Professional's Guide
- Learning Dojo
- 中文版Photoshop 2023從入門到精通
- 動畫制作基礎(項目教學版)
- Photoshop攝影后期必修5項核心技法 基本調整+光影校正+色彩修飾+局部處理+銳化降噪
- 中文版Corel DRAW X5案例實訓教材
- Photoshop CC 從入門到精通