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
175333
Files:
FileDescription
check_cpu.plMain check script
misc.pmModule with supporting functionality
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.