This commit is contained in:
Kekskurse 2019-12-30 18:27:47 +01:00
parent ff21d573bd
commit 6be7149779

3
run.py
View file

@ -10,6 +10,7 @@ from monitors.cpu import CPU
from monitors.user import User from monitors.user import User
from monitors.network import Network from monitors.network import Network
from monitors.apt import APT from monitors.apt import APT
from monitors.ufw import UFW
#exporter = Cli() #exporter = Cli()
exporter = StatsdExporter() exporter = StatsdExporter()
@ -23,6 +24,8 @@ checks.append(CPU(exporter))
checks.append(User(exporter)) checks.append(User(exporter))
checks.append(Network(exporter)) checks.append(Network(exporter))
checks.append(APT(exporter)) checks.append(APT(exporter))
checks.append(UFW(exporter))
while True: while True:
for check in checks: for check in checks: