This commit is contained in:
Kekskurse 2019-12-30 18:51:57 +01:00
parent 4031d905b5
commit fff9ac1928
1 changed files with 1 additions and 1 deletions

View File

@ -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)