check_junos: Improved OK output for interfaces,@with_description+<iface>.
This commit is contained in:
parent
d051c32019
commit
c001002a1f
|
@ -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)" : ""));
|
||||
|
|
Loading…
Reference in a new issue