+ Enhance f5 network bigip connections mode
This commit is contained in:
parent
68df9b2e5c
commit
dd62e4c43f
|
@ -24,11 +24,11 @@ use base qw(centreon::plugins::mode);
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
use centreon::plugins::values;
|
||||||
|
|
||||||
my $maps_counters = {
|
my $maps_counters = {
|
||||||
global => [
|
global => [
|
||||||
{ set => {
|
{ label => 'client', set => {
|
||||||
label => 'client',
|
|
||||||
key_values => [ { name => 'client' } ],
|
key_values => [ { name => 'client' } ],
|
||||||
output_template => 'Current client connections : %s',
|
output_template => 'Current client connections : %s',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
|
@ -37,18 +37,16 @@ my $maps_counters = {
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ set => {
|
{ label => 'client-ssl', set => {
|
||||||
label => 'client-ssl',
|
|
||||||
key_values => [ { name => 'client_ssl' } ],
|
key_values => [ { name => 'client_ssl' } ],
|
||||||
output_template => 'Current client SSL connections : %s',
|
output_template => 'Current client SSL connections : %s',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
{ label => 'ClientSSL', value => 'client_absolute', template => '%s',
|
{ label => 'ClientSSL', value => 'client_ssl_absolute', template => '%s',
|
||||||
min => 0, unit => 'con' },
|
min => 0, unit => 'con' },
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ set => {
|
{ label => 'server', set => {
|
||||||
label => 'server',
|
|
||||||
key_values => [ { name => 'server' } ],
|
key_values => [ { name => 'server' } ],
|
||||||
output_template => 'Current server connections: %s',
|
output_template => 'Current server connections: %s',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
|
@ -57,8 +55,7 @@ my $maps_counters = {
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ set => {
|
{ label => 'server-ssl', set => {
|
||||||
label => 'server-ssl',
|
|
||||||
key_values => [ { name => 'server_ssl' } ],
|
key_values => [ { name => 'server_ssl' } ],
|
||||||
output_template => 'Current server SSL connections : %s',
|
output_template => 'Current server SSL connections : %s',
|
||||||
perfdatas => [
|
perfdatas => [
|
||||||
|
@ -218,5 +215,4 @@ Can be: 'client', 'server', 'client-ssl', 'server-ssl'.
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
Loading…
Reference in New Issue