Home Directory Plugins Operating Systems Linux Check RHEL Last Update

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 RHEL Last Update

Rating
0 votes
Favoured:
0
Current Version
0.2
Last Release Date
2013-09-18
Compatible With
  • Nagios 3.x
License
GPL
Hits
34286
Files:
FileDescription
check_rhel_lastupdate.shcheck_rhel_lastupdate.sh
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!
Plugin calculates number of days since last success update on your RHEL, CentOS server.
Plugin calculates number of days since last success update on your RHEL, CentOS server.
You have to define your warning and critical thresholds by your own according to your local policy for periodical server update and you will have under control your update process.
Additionally you should define (switch -u)how many packages you have updated last time which can be assumed as regular server update.
Plugin is checking rpm '%{INSTALLTIME} parameter and then calculates days since last update and number updates that you define over -u parameter.
Additionally plugin displays latest Kernel that is applied.
Plugin needs NRPE to be executed remotely. If you decide to define plugin to be executed with arguments over NRPE you have to enable arguments in nrpe.cfg.
nrpe.cfg:
command[check_rhel_lastupdate]=/usr/lib64/nagios/plugins/check_rhel_lastupdate.sh -u $ARG1$ -w $ARG2$ -c $ARG3$