WIP centreon compat vmware 3.0.0 connector

This commit is contained in:
garnier-quentin 2019-02-01 16:05:35 +01:00
parent 43643bf060
commit e2d977be33
3 changed files with 6 additions and 6 deletions

View File

@ -135,7 +135,7 @@ sub new {
"filter" => { name => 'filter' },
"scope-datacenter:s" => { name => 'scope_datacenter' },
"scope-cluster:s" => { name => 'scope_cluster' },
"unknown-status:s" => { name => 'unknown_status', default => '%{status} !~ /^connected$/' },
"unknown-status:s" => { name => 'unknown_status', default => '%{status} !~ /^connected$/i' },
"warning-status:s" => { name => 'warning_status', default => '' },
"critical-status:s" => { name => 'critical_status', default => '' },
});
@ -203,7 +203,7 @@ Search in following cluster(s) (can be a regexp).
=item B<--unknown-status>
Set warning threshold for status (Default: '%{status} !~ /^connected$/').
Set warning threshold for status (Default: '%{status} !~ /^connected$/i').
Can used special variables like: %{status}
=item B<--warning-status>

View File

@ -134,7 +134,7 @@ sub new {
"filter" => { name => 'filter' },
"scope-datacenter:s" => { name => 'scope_datacenter' },
"scope-cluster:s" => { name => 'scope_cluster' },
"unknown-status:s" => { name => 'unknown_status', default => '%{status} !~ /^connected$/' },
"unknown-status:s" => { name => 'unknown_status', default => '%{status} !~ /^connected$/i' },
"warning-status:s" => { name => 'warning_status', default => '' },
"critical-status:s" => { name => 'critical_status', default => '' },
});
@ -204,7 +204,7 @@ Search in following cluster(s) (can be a regexp).
=item B<--unknown-status>
Set warning threshold for status (Default: '%{status} !~ /^connected$/').
Set warning threshold for status (Default: '%{status} !~ /^connected$/i').
Can used special variables like: %{status}
=item B<--warning-status>

View File

@ -158,7 +158,7 @@ sub new {
"scope-host:s" => { name => 'scope_host' },
"display-description" => { name => 'display_description' },
"filter-description:s" => { name => 'filter_description' },
"unknown-status:s" => { name => 'unknown_status', default => '%{connection_state} !~ /^connected$/ or %{power_state} !~ /^poweredOn$/i' },
"unknown-status:s" => { name => 'unknown_status', default => '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i' },
"warning-status:s" => { name => 'warning_status', default => '' },
"critical-status:s" => { name => 'critical_status', default => '' },
});
@ -243,7 +243,7 @@ Search in following host(s) (can be a regexp).
=item B<--unknown-status>
Set warning threshold for status (Default: '%{connection_state} !~ /^connected$/ or %{power_state} !~ /^poweredOn$/i').
Set warning threshold for status (Default: '%{connection_state} !~ /^connected$/i or %{power_state} !~ /^poweredOn$/i').
Can used special variables like: %{status}
=item B<--warning-status>