Fix some minor bugs
git-svn-id: http://svn.merethis.net/centreon-esxd/trunk@88 a5eaa968-4c79-4d68-970d-af6011b5b055
This commit is contained in:
parent
600cfbc200
commit
933c8d5429
|
@ -144,9 +144,9 @@ sub run {
|
||||||
if ($#nic_downs >= 0) {
|
if ($#nic_downs >= 0) {
|
||||||
if ($self->{skip_errors} == 0 || $self->{filter} == 0) {
|
if ($self->{skip_errors} == 0 || $self->{filter} == 0) {
|
||||||
$status = centreon::esxd::common::errors_mask($status, 'UNKNOWN');
|
$status = centreon::esxd::common::errors_mask($status, 'UNKNOWN');
|
||||||
}
|
centreon::esxd::common::output_add(\$output_unknown, \$output_unknown_append, ", ",
|
||||||
centreon::esxd::common::output_add(\$output_unknown, \$output_unknown_append, ", ",
|
|
||||||
"Link(s) '" . join("','", @nic_downs) . "' is(are) down");
|
"Link(s) '" . join("','", @nic_downs) . "' is(are) down");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (keys %pnic_def_up) {
|
foreach (keys %pnic_def_up) {
|
||||||
|
|
|
@ -99,9 +99,9 @@ sub run {
|
||||||
centreon::esxd::common::output_add(\$output_critical, \$output_critical_append, ", ",
|
centreon::esxd::common::output_add(\$output_critical, \$output_critical_append, ", ",
|
||||||
"VMTools not running on VM:" . $not_running);
|
"VMTools not running on VM:" . $not_running);
|
||||||
}
|
}
|
||||||
if ($not_running ne '') {
|
if ($not_up2date ne '') {
|
||||||
centreon::esxd::common::output_add(\$output_warning, \$output_warning_append, ", ",
|
centreon::esxd::common::output_add(\$output_warning, \$output_warning_append, ", ",
|
||||||
"VMTools not up-to-date on VM:" . $not_running);
|
"VMTools not up-to-date on VM:" . $not_up2date);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($output_unknown ne "") {
|
if ($output_unknown ne "") {
|
||||||
|
|
Loading…
Reference in New Issue