mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-23 10:53:44 +01:00
parent
03f7389842
commit
cbcaa14997
@ -45,6 +45,11 @@ def main():
|
|||||||
for pkg in pkg_updates[update_type]:
|
for pkg in pkg_updates[update_type]:
|
||||||
p.add_long_output(" %s" % pkg)
|
p.add_long_output(" %s" % pkg)
|
||||||
|
|
||||||
|
for m in known_types:
|
||||||
|
m = m.lower()
|
||||||
|
if not p.get_metric(m):
|
||||||
|
p.add_metric(m, 0)
|
||||||
|
|
||||||
p.check_all_metrics()
|
p.check_all_metrics()
|
||||||
p.exit()
|
p.exit()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user