Skip to content

Commit

Permalink
fix: measurement should be undef for hapktrxrate and hapkttxrate (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
slauger committed Sep 19, 2021
1 parent c0628ef commit ef23964
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions check_netscaler.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ef23964

Please sign in to comment.