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 cpu

Rating
4 votes
Favoured:
0
Hits
175223
Files:
FileDescription
check_cpu.plMain check script
misc.pmModule with supporting functionality
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Yet an other CPU check plugin for uni-/multi-processor Linux machines.
The plugin can handle trigging on either total used CPU time (default) **or** total idle CPU time. It calculates a //5 second average// for each values which means that Idle% + Used% isn't always 100%.
All values are correctly calculated depending on the number of ticks per second the kernel uses and the number of CPUs present in the machine (No consideration is taken to the fact that it might not be a multi-processor machine but a uni-processor with Hyper Threading).
Reviews (1)
byjabbasi, June 13, 2013
0 of 1 people found this review helpful
1: Can't download the file; had to copy from browser and past it in vi
2: not enough instruction how to set it up and what it needs to run
3: no instructions on how to run it and pass parameters to it.
4: Doesn't which perl version it needs
I tried to run it and I got following line
I do have perl installed
nagios@wlnagios:~> which perl
/usr/bin/perl
nagios@wlnagios:~>

nagios@wlnagios:~> ./check_cpu.pl
Can't locate Getopt/Compact.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at ./check_cpu.pl line 5.
BEGIN failed--compilation aborted at ./check_cpu.pl line 5.