Cacti hard disk I/O Monitoring Method

Source: Internet
Author: User

CactiIs a commonly used monitoring network software, sometimes I useMonitoringMyHard DiskI/O. Let's see how it works!

Cacti hard disk I/O monitoring method:

The cacti template can only monitor the disk usage, but cannot monitor the usage percentage. Therefore, we can customize cdef to monitor the disk usage and use the thold plug-in to implement the alarm function. All the materials found on the Internet are implemented on cacti.0.8.6, and I use cacti.0.8.7. Therefore, make the following changes based on the actual situation:

Under the cacti directory, vi global_arrays.php

Search custom_data_source_types. Modify the following section:

 
 
  1. $custom_data_source_types = array(  
  2.  
  3. "CURRENT_DATA_SOURCE" => "Current Graph Item Data Source",  
  4.  
  5. "ALL_DATA_SOURCES_NODUPS" => "All Data Sources (Don't Include Duplicates)",  
  6.  
  7. "ALL_DATA_SOURCES_DUPS" => "All Data Sources (Include Duplicates)",  
  8.  
  9. "SIMILAR_DATA_SOURCES_NODUPS" => "All Similar Data Sources (Don't Include Duplicates)",  
  10.  
  11. "SIMILAR_DATA_SOURCES_DUPS" => "All Similar Data Sources (Include Duplicates)",  
  12.  
  13. "CURRENT_DS_MINIMUM_VALUE" => "Current Data Source Item: Minimum Value",  
  14.  
  15. "CURRENT_DS_MAXIMUM_VALUE" => "Current Data Source Item: Maximum Value",  
  16.  
  17. "CURRENT_GRAPH_MINIMUM_VALUE" => "Graph: Lower Limit",  
  18.  

// Add the following two rows

 
 
  1. "CURRENT_GRAPH_MAXIMUM_VALUE" => "Graph: Upper Limit",  
  2.  
  3. "VALUE_OF_HDD_TOTAL" => "Value of hdd_total data source");  
  4.  

// Chinese version:

"CURRENT_GRAPH_MAXIMUM_VALUE" => "Image: upper limit ",

"VALUE_OF_HDD_TOTAL" => "values of all hard disk data ");

Create a cdef module in the Graph Management-cdefs on the cacti interface and add the following fields by name:

 
 
  1. Item #1 Special Data Source: CURRENT_DATA_SOURCE  
  2.  
  3. Item #2 Custom String: 100  
  4.  
  5. Item #3 Operator: *  
  6.  
  7. Item #4 Special Data Source: VALUE_OF_HDD_TOTAL  
  8.  
  9. Item #5 Operator: /  
  10.  

That is to say

 
 
  1. cdef=CURRENT_DATA_SOURCE,100,*,VALUE_OF_HDD_TOTAL,/  
  2.  

In this way, you can add the monitoring Hard disk module in Threshold Templates. I added the Host MIB-Hard Drive Space, and finally selected the custom CDEF in Threshold cdef, in this way, the hard disk usage can be monitored normally.

After reading the complete article, I think everyone has learned how to monitor hard disk I/O through Cacti! Wish you success!

  • CACTI client SNMP settings
  • Cacti configures Threshold (Thold) and sends an email alert
  • Detailed introduction to Cacti configuration and installation
  • Monitor memcache using cacti
  • Install Cacti in Windows
  • UbuntuLinux system sets up cacti Monitoring Service

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.