소스 검색

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

Sebastian Harl 13 년 전
부모
커밋
f53f346797
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      check_junos.pl

+ 1 - 1
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");