Browse Source

check_junos: Improved OK output for interfaces,@with_description+<iface>.

Sebastian Harl 13 years ago
parent
commit
c001002a1f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      check_junos.pl

+ 1 - 1
check_junos.pl

@@ -301,7 +301,7 @@ sub check_interfaces
 	}
 
 	if ((! $down_count) && (! $phys_down_count)) {
-		if (! scalar(@targets)) {
+		if ((! scalar(@targets)) || $opts->{'with_description'}) {
 			$plugin->add_message(OK, "all interfaces up"
 				. ($have_lag_ifaces
 					? " (including all LAG member interfaces)" : ""));