Skip to content

Commit

Permalink
fix(colubris-snmp): fix labels to manage 15 minutes average thresholds (
Browse files Browse the repository at this point in the history
#5378)

Refs: CTOR-1197
  • Loading branch information
omercier authored Jan 6, 2025
1 parent 92473a4 commit 4dfdfb8
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions src/network/colubris/snmp/mode/load.pm
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ sub set_counters {
],
}
},
{ label => '1min', set => {
{ label => '15min', set => {
key_values => [ { name => 'load15' } ],
output_template => '%s',
perfdatas => [
Expand Down Expand Up @@ -104,24 +104,38 @@ __END__
=head1 MODE
Check load-average.
Check average system load.
=over 8
=item B<--filter-counters>
Only display some counters (regexp can be used).
Example: --filter-counters='15min'
Example: C<--filter-counters='15min'>
=item B<--warning-1min>
Thresholds.
=item B<--critical-1min>
Thresholds.
=item B<--warning-5min>
Thresholds.
=item B<--critical-5min>
Thresholds.
=item B<--warning-*>
=item B<--warning-15min>
Warning threshold.
Can be: '1min', '5min', '15min'.
Thresholds.
=item B<--critical-*>
=item B<--critical-15min>
Critical threshold.
Can be: '1min', '5min', '15min'.
Thresholds.
=back
Expand Down

0 comments on commit 4dfdfb8

Please sign in to comment.