Home Directory Plugins Operating Systems Linux Check CPU Usage via SNMP

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 Usage via SNMP

Rating
2 votes
Favoured:
1
Current Version
1.0
Last Release Date
2011-02-07
Compatible With
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
120322
Files:
FileDescription
check_cpu_snmp.bashnagios plugin scripts
check_cpu_snmp.phppnp template for check_cpu_snmp
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!
Check CPU Usage via SNMP
Shell script to check cpu usage via SNMP.
My environment need check overall CPU usage under Linux/Windows system via SNMP (not require NRPE plugin).

Complete with performance data report (can display using pnp system)
Pre-requirement
1. snmpwalk command (under Redhat/CentOS use snmp-utils package)

On Target system (Work with Linux/MS Windows)
1. Enable SNMP readonly community
2. Allow firewall (optional)

Sample output
$ check_cpu_snmp.bash -H x.x.x.x -C community
CPU Usage : 15 % |cpu=15%;60;90;0;100
Reviews (1)
byabdel, February 13, 2015
Hello,

I'm using Redhat 5, and the check gives me an erro:

./check_cpu_snmp.bash: line 116: let: CCC = /1: syntax error: operand expected (error token is "/1")
Cannot retrive information


Any help?

Thanks,