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:
Quentin Garnier 2013-10-11 11:26:08 +00:00
parent 600cfbc200
commit 933c8d5429
2 changed files with 4 additions and 4 deletions

View File

@ -144,9 +144,9 @@ sub run {
if ($#nic_downs >= 0) {
if ($self->{skip_errors} == 0 || $self->{filter} == 0) {
$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");
}
}
foreach (keys %pnic_def_up) {

View File

@ -99,9 +99,9 @@ sub run {
centreon::esxd::common::output_add(\$output_critical, \$output_critical_append, ", ",
"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, ", ",
"VMTools not up-to-date on VM:" . $not_running);
"VMTools not up-to-date on VM:" . $not_up2date);
}
if ($output_unknown ne "") {