Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
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
Owner
Sunchai Rungruengchoosakul
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2011/01/check_cpu_snmp.bash
License
GPL
Compatible With
nagios plugin scripts
pnp template for check_cpu_snmp
Pre-requirement 1. snmpwalk command (under Redhat/CentOS/Rocky/Alma 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
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,
You must be logged in to submit a review.
To:
From: