From 1c721dd4e6f940a409b1b0c8c20af5a3d5a13bb4 Mon Sep 17 00:00:00 2001 From: Simon Lauger Date: Sun, 19 Sep 2021 22:07:55 +0200 Subject: [PATCH] fix: measurement should be undef for hapktrxrate and hapkttxrate (#47) --- check_netscaler.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/check_netscaler.pl b/check_netscaler.pl index f184286..241b6be 100755 --- a/check_netscaler.pl +++ b/check_netscaler.pl @@ -1221,8 +1221,6 @@ sub check_hastatus { foreach ( 'hatotpktrx', 'hatotpkttx', 'hapktrxrate', 'hapkttxrate' ) { if ( $_ eq 'hatotpktrx' || $_ eq 'hatotpkttx' ) { $measurement = 'c'; - } elsif ( $_ eq 'hapktrxrate' || $_ eq 'hapkttxrate' ) { - $measurement = 'a'; } else { $measurement = undef; }