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

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
29554
Files:
FileDescription
check_rhel_lastupdate.shcheck_rhel_lastupdate.sh
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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$