2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/status_monitor.php: fix the what interval to check in the monitor. Fixes: 2902446 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8bb497cf7d
commit
96cc5b2ec9
|
@ -1,3 +1,9 @@
|
|||
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/agentes/status_monitor.php: fix the what interval to check in
|
||||
the monitor.
|
||||
Fixes: 2902446
|
||||
|
||||
2009-11-25 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* include/functions_filemanager.php: fix bug that the url content "//" in
|
||||
|
|
|
@ -247,7 +247,12 @@ foreach ($result as $row) {
|
|||
|
||||
$seconds = get_system_time () - $row["utimestamp"];
|
||||
|
||||
if ($seconds >= ($row["module_interval"] * 2)) {
|
||||
if ($row["module_interval"] > 0)
|
||||
$interval = $row["module_interval"];
|
||||
else
|
||||
$interval = $row["agent_interval"];
|
||||
|
||||
if ($seconds >= ($interval * 2)) {
|
||||
$option = array ("html_attr" => 'class="redb"');
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue