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:
mdtrooper 2009-11-25 13:18:03 +00:00
parent 8bb497cf7d
commit 96cc5b2ec9
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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 {