Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_cpuwaitdisk.pl

Rating
0 votes
Favoured:
0
Hits
94925
Files:
FileDescription
check_cpuwaitdisk.plcheck_cpuwaitdisk.pl:: Version 0.2
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This perl script checks the percentage of cpu-time waiting for the io-system while having a task in mind with sysstat/sar
The script uses the output of "sar" for getting the data. According to that you will have to install sysstat/sar prior to using this script. I suggest running "sa1 1 1" every X minutes via cron and fetching the results with this script.

The script checks the given params for warning/critical status for every single CPU an causes an alarm if one of it exceeds them.

In addition to that the script generates nice performance output of every CPU fur further analysis.

The version of the script is 0.2 at the moment and my first time with perl - so please do not expect it to be professional programmed, updates will follow.