Operating Systems

check_cputime

Description:

This is a plugin designed using Bash script.
This plugin is created so that ‘Performance Gauges’ in Nagios XI work properly, showing appropriate ‘Warning’ and ‘Critical’ regions.

Current Version

1.0

Last Release Date

September 25, 2014

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI

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!
Project Files
Project Photos
Project Notes
For Performance Gauges to show details properly, performance data should be in following format: 'VarName'=CurrentValue Unit;WarningValue;CriticalValue;MininumValue;MaximumValue Important: 1. It uses the output of 'sar' command. 2. Warning and Critical thresholds are 80% and 90% for %user, %system, % nice, %iowait and %steal time. 3. Warning and Critical thresholds for %idle time makes no sense. How To Use: To monitor remote Linux server: 1. Keep the plugin in /usr/local/nagios/libexec directory. 2. Add following line to the nrpe.cfg file: command[check_cputime.sh]=sudo /usr/local/nagios/libexec/check_cputime.sh 3. Add the following line to /etc/sudoers file: nagios ALL=(ALL) NOPASSWD:/usr/local/nagios/libexec/check_cputime.sh Usage: On Monitoring Server: ./check_nrpe -H 128.9.45.13 -c check_cputime.sh Output: OK- %user=8.03%, %nice=0.00%, %system=21.07%, %iowait=0.00%, %steal=0.00%, %idle=70.90% | '%user'=8.03%;80;90;0;100 '%nice'=0.00%;80;90;0;100 '%system'=21.07%;80;90;0;100 '%iowait'=0.00%;80;90;0;100 '%steal'=0.00%;80;90;0;100 %idle=70.90%;;;0;100
Reviews (0) Add a Review
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
0 (0)
Favorites
0
Views
18,446