From c001002a1f51b988edc69657845db59c3454e354 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 3 Jan 2012 10:24:51 +0100 Subject: [PATCH] check_junos: Improved OK output for interfaces,@with_description+. --- check_junos.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)" : ""));