Commit 8cc147e8 authored by Hamza Dely's avatar Hamza Dely

[Icinga2] Intervalles de tension et fréquence plus souples pour les onduleurs

parent 02b7d3b7
......@@ -247,8 +247,8 @@ class UPS(nagiosplugin.Resource):
def main():
check = nagiosplugin.Check(
UPS(args.hostname, args.community, args.legacy, args.battery, args.input, args.output, args.environment),
nagiosplugin.ScalarContext('frequency', '48:52', '45:55'),
nagiosplugin.ScalarContext('voltage', '215:235', '200:250'),
nagiosplugin.ScalarContext('frequency', '45:55', '40:60'),
nagiosplugin.ScalarContext('voltage', '220:240', '200:260'),
nagiosplugin.ScalarContext('current', '~:', '~:'),
nagiosplugin.ScalarContext('load', '~:70', '~:90'),
nagiosplugin.ScalarContext('temperature', '10:20', '0:30'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment