This commit is contained in:
garnier-quentin 2020-05-26 09:21:26 +02:00
parent 7003d934e0
commit adfe6a05f0
2 changed files with 4 additions and 6 deletions

View File

@ -236,9 +236,7 @@ Can used special variables like: %{config_status}, %{connection_status}, %{regi
=item B<--warning-*> B<--critical-*>
Thresholds.
Can be: 'memory-usage', 'usage-free', 'usage-prct', 'traffic-in', 'traffic-out',
'cpu-utilization', 'connection-accesspoints', 'connection-client-devices-authorized',
'connection-rogue-devices'.
Can be: 'traffic-in', 'traffic-out', 'connection-client-devices-authorized'.
=back

View File

@ -107,7 +107,7 @@ sub set_counters {
]
}
},
{ label => 'usage-free', display_ok => 0, nlabel => 'accesspoint.memory.free.bytes', set => {
{ label => 'memory-usage-free', display_ok => 0, nlabel => 'accesspoint.memory.free.bytes', set => {
key_values => [ { name => 'free' }, { name => 'used' }, { name => 'prct_used' }, { name => 'prct_free' }, { name => 'total' }, { name => 'display' } ],
closure_custom_output => $self->can('custom_usage_output'),
perfdatas => [
@ -115,7 +115,7 @@ sub set_counters {
]
}
},
{ label => 'usage-prct', display_ok => 0, nlabel => 'accesspoint.memory.usage.percentage', set => {
{ label => 'memory-usage-prct', display_ok => 0, nlabel => 'accesspoint.memory.usage.percentage', set => {
key_values => [ { name => 'prct_used' }, { name => 'display' } ],
output_template => 'ram used: %.2f %%',
perfdatas => [
@ -318,7 +318,7 @@ Can used special variables like: %{zd_connection_status}
=item B<--warning-*> B<--critical-*>
Thresholds.
Can be: 'memory-usage', 'usage-free', 'usage-prct', 'traffic-in', 'traffic-out',
Can be: 'memory-usage', 'memory-usage-free', 'memory-usage-prct', 'traffic-in', 'traffic-out',
'cpu-utilization', 'connection-accesspoints', 'connection-client-devices-authorized',
'connection-rogue-devices'.