Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_apt_last_update
0.0.1
2012-06-05
- Nagios 3.x
GPL
62037
Reviews (1)
byelysium, June 4, 2020
#!/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...")
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...")