Linux

Check CPU Usage via SNMP

Description:

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)

Current Version

1.0

Last Release Date

2011-02-07

Compatible With

  • Nagios 2.x
  • Nagios 3.x

License

GPL


Project Files
Project Photos
Project Notes
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) Add a Review
erro
by abdel, February 28, 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,



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (2)
Favorites
1
Views
120,387