check_junos: 'chassis_environment' check: Use WARNING if no components found.

This commit is contained in:
Sebastian Harl 2012-01-03 10:35:28 +01:00
parent 6676d2b6d8
commit f53f346797

View file

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