2008-10-20 Esteban Sanchez <estebans@artica.es>

* operation/agentes/estado_agente.php: Checking if there are monitors
        down has more priority than check if there are no data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Esteban Sanchez 2008-10-20 12:40:59 +00:00
parent 77058003ca
commit 2be270195e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-10-20 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_agente.php: Checking if there are monitors
down has more priority than check if there are no data.
2008-10-20 Manuel Arostegui <marostegui@artica.es>
* operation/agentes/estado_agente.php: Fixed agent status color

View File

@ -327,10 +327,10 @@ echo '<img class="bot" src="images/groups_small/'.show_icon_group($id_grupo).'.p
}
} elseif ($monitor_ok > 0) {
echo '<img src="images/pixel_green.png" width="40" height="18" title="'.__('All Monitors OK').'" />';
} elseif ($numero_datamodules == 0) {
echo '<img src="images/pixel_blue.png" width="40" height="18" title="'.__('Agent without data').'" />';
} elseif ($monitor_down > 0) {
echo '<img src="images/pixel_fucsia.png" width="40" height="18" title="'.__('Agent down').'" />';
} elseif ($numero_datamodules == 0) {
echo '<img src="images/pixel_blue.png" width="40" height="18" title="'.__('Agent without data').'" />';
}
} else {
if ($numero_datamodules == 0) {