Skip to content

Commit

Permalink
fix(cyberoam-snmp): avoid uppercase chars in options
Browse files Browse the repository at this point in the history
  • Loading branch information
omercier committed Feb 4, 2025
1 parent 9115be2 commit feda54b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/network/cyberoam/snmp/mode/vpnstatus.pm
Original file line number Diff line number Diff line change
Expand Up @@ -365,11 +365,11 @@ Thresholds.
Thresholds.
=item B<--warning-total-partiallyActive>
=item B<--warning-total-partially-active>
Thresholds.
=item B<--critical-total-partiallyActive>
=item B<--critical-total-partially-active>
Thresholds.
Expand Down
3 changes: 3 additions & 0 deletions tests/network/cyberoam/snmp/vpn-status.robot
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ vpn-status ${tc}
... 10 --critical-status='' --warning-total=0 --critical-total=20 WARNING: VPN total: 4 | 'total'=4;0:0;0:20;0; 'total_inactive'=1;;;0; 'total_active'=3;;;0; 'total_partially_active'=0;;;0;
... 11 --critical-status='' --warning-total-inactive=10 --critical-total-inactive=0 CRITICAL: VPN inactive: 1 | 'total'=4;;;0; 'total_inactive'=1;0:10;0:0;0; 'total_active'=3;;;0; 'total_partially_active'=0;;;0;
... 12 --critical-status='' --warning-total-active=0 --critical-total-active=0 CRITICAL: VPN active: 3 | 'total'=4;;;0; 'total_inactive'=1;;;0; 'total_active'=3;0:0;0:0;0; 'total_partially_active'=0;;;0;
... 13 --critical-status='0' --warning-total-partially-active=1:1 WARNING: VPN partially active: 0 | 'total'=4;;;0; 'total_inactive'=1;;;0; 'total_active'=3;;;0; 'total_partially_active'=0;1:1;;0;
... 14 --critical-status='0' --critical-total-partially-active=1:1 CRITICAL: VPN partially active: 0 | 'total'=4;;;0; 'total_inactive'=1;;;0; 'total_active'=3;;;0; 'total_partially_active'=0;;1:1;0;

0 comments on commit feda54b

Please sign in to comment.