fix(mode): remove inoperative metrics (#2816)

This commit is contained in:
Thibault S 2021-05-21 11:32:42 +02:00 committed by GitHub
parent a4afbd1285
commit 94ef1ce305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 20 deletions

View File

@ -76,24 +76,7 @@ sub get_metrics_mapping {
'unit' => '',
'min' => '0',
'template' => '%d'
},
'tcpsynsent ' => {
'output' => 'TCP Syn Sent',
'label' => 'tcp-syn-sent',
'nlabel' => 'appserviceplan.connections.tcp.synsent.count',
'unit' => '',
'min' => '0',
'template' => '%d'
},
'tcptimewait ' => {
'output' => 'TCP Time Wait',
'label' => 'tcp-timewait',
'nlabel' => 'appserviceplan.connections.tcp.timewait.count',
'unit' => '',
'min' => '0',
'template' => '%d'
},
}
};
return $metrics_mapping;
@ -188,13 +171,13 @@ Set resource group (Required if resource's name is used).
=item B<--warning-*>
Warning threshold where '*' can be:
'tcp-timewait', 'tcp-syn-sent', 'tcp-syn-received', 'tcp-ack-last', 'tcp-fin-wait2', 'tcp-fin-wait1',
'tcp-syn-received', 'tcp-ack-last', 'tcp-fin-wait2', 'tcp-fin-wait1',
'tcp-closewait', 'tcp-closing'.
=item B<--critical-*>
Critical threshold where '*' can be:
'tcp-timewait', 'tcp-syn-sent', 'tcp-syn-received', 'tcp-ack-last', 'tcp-fin-wait2', 'tcp-fin-wait1',
'tcp-syn-received', 'tcp-ack-last', 'tcp-fin-wait2', 'tcp-fin-wait1',
'tcp-closewait', 'tcp-closing'.
=back