mirror of
https://github.com/FAUSheppy/monitoring-tools
synced 2025-12-06 03:21:35 +01:00
fix: use auto encoded output everywhere
This commit is contained in:
@@ -31,7 +31,7 @@ if __name__ == "__main__":
|
|||||||
print("Insurgency CRITICAL - {}".format(p.stdout))
|
print("Insurgency CRITICAL - {}".format(p.stdout))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
elif "not loaded" in p.stdout:
|
elif "not loaded" in p.stdout:
|
||||||
print("Insurgency WARNING - {}".format(out))
|
print("Insurgency WARNING - {}".format(p.stdout))
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
else:
|
else:
|
||||||
print("Insurgency OK")
|
print("Insurgency OK")
|
||||||
|
|||||||
Reference in New Issue
Block a user