Home Directory Plugins Operating Systems Linux check_apt_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_apt_last_update

Current Version
0.0.1
Last Release Date
2012-06-05
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
61760
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a nagios plugin to check how long it has been since apt-get upgrade was last run. It should be installed on each server you want to check and accessed via NRPE.
Reviews (1)
#!/usr/bin/env python3
4a5
> # plugin adjusted from python2 to python3 20200603
8c9
__version__ = "0.0.2"
33c34
print("%sOK: %s" % (check, message))
36c37
print("%sWARNING: %s" % (check, message))
39c40
print("%sCRITICAL: %s" % (check, message))
42c43
print("UNKNOWN: %s" % message)
147a149,151
> # self.verbosity = int(self.verbosity)
> if self.verbosity == None:
> self.verbosity = 0
149c153
print("%s" % message)
192c196
line = next(f)
315,316c319,320
% (__title__, __version__, __author__))
326c330
print("Caught Control-C...")