diff --git a/check_junos.pl b/check_junos.pl index e16f7d2..997e67a 100755 --- a/check_junos.pl +++ b/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)" : ""));