Managed
This commit is contained in:
parent
4031d905b5
commit
fff9ac1928
|
@ -10,4 +10,4 @@ class APT:
|
|||
def run(self):
|
||||
stream = os.popen('apt list --upgradable 2>/dev/null | wc -l')
|
||||
output = stream.read()
|
||||
self.exporter.gauge("apt.upgradable", int(output))
|
||||
self.exporter.gauge("apt.upgradable", int(output) - 1)
|
||||
|
|
Loading…
Reference in New Issue