From f53f3467973ff243120134f44f140ed9f00a7587 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 3 Jan 2012 10:35:28 +0100 Subject: [PATCH] check_junos: 'chassis_environment' check: Use WARNING if no components found. --- check_junos.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_junos.pl b/check_junos.pl index 8965904..49282d7 100755 --- a/check_junos.pl +++ b/check_junos.pl @@ -400,7 +400,7 @@ sub check_chassis_environment } if (! $items_count) { - $plugin->add_message(UNKNOWN, "no components found"); + $plugin->add_message(WARNING, "no components found"); } elsif ($items_count == $items_ok) { $plugin->add_message(OK, "$items_ok components OK");