diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index d28d92ada4..4203689aca 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2009-04-24 Manuel Arostegui + + * operation/agentes/status_monitor.php: Fixed bug #2779382 + 2009-04-24 Esteban Sánchez * extras/pandoradb_migrate_v2.x_to_v3.0.sql: Removed local components table diff --git a/pandora_console/operation/agentes/status_monitor.php b/pandora_console/operation/agentes/status_monitor.php index 7c6f152158..1b4b93e3cf 100644 --- a/pandora_console/operation/agentes/status_monitor.php +++ b/pandora_console/operation/agentes/status_monitor.php @@ -229,9 +229,9 @@ foreach ($result as $row) { $data[2] = ''; $data[3] = substr ($row["module_name"], 0, 30); - - $data[4] = $row["agent_interval"]; - + + $data[4] = ($row['module_interval'] == 0) ? $row['agent_interval'] : $row['module_interval']; + if ($row["estado"] == 0) { $data[5] = print_status_image(STATUS_MODULE_OK, $row["datos"], true); } elseif ($row["estado"] == 1) {