2008-10-20 Jorge Gonzalez <jorgegonz@artica.es>
* operation/agentes/estado_agente.php, operation/agentes/bulbs.php: fixed bug, blue monitor means it has no monitors, while gray means it has no data. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d62aed5fa8
commit
1fe3b48d79
|
@ -1,3 +1,9 @@
|
|||
2008-10-20 Jorge Gonzalez <jorgegonz@artica.es>
|
||||
|
||||
* operation/agentes/estado_agente.php, operation/agentes/bulbs.php:
|
||||
fixed bug, blue monitor means it has no monitors, while gray means
|
||||
it has no data.
|
||||
|
||||
2008-10-20 Esteban Sanchez <estebans@artica.es>
|
||||
|
||||
* operation/agentes/estado_grupo.php: Fixed a notice error when the
|
||||
|
|
|
@ -28,7 +28,7 @@ echo "
|
|||
<td class='f9i'>
|
||||
<img src='images/pixel_red.png' width=20 height=10> ".__('Alert fired')."</td>
|
||||
<tr><td class='f9i'>
|
||||
<img src='images/pixel_gray.png' width=40 height=18> ".__('Agent without monitors')."</td>
|
||||
<img src='images/pixel_blue.png' width=40 height=18> ".__('Agent without monitors')."</td>
|
||||
<td class='f9i'>
|
||||
<img src='images/pixel_blue.png' width=40 height=18> ".__('Agent without data')."</td>
|
||||
<td class='f9i'>
|
||||
|
|
|
@ -329,13 +329,13 @@ echo '<img class="bot" src="images/groups_small/'.show_icon_group($id_grupo).'.p
|
|||
echo "<img src='images/pixel_green.png' width=40 height=18 title='".__('All Monitors OK')."'>";
|
||||
}
|
||||
elseif ($numero_datamodules > 0) {
|
||||
echo "<img src='images/pixel_gray.png' width=40 height=18 title='".__('Agent without monitors')."'>";
|
||||
echo "<img src='images/pixel_blue.png' width=40 height=18 title='".__('Agent without monitors')."'>";
|
||||
}
|
||||
elseif ($monitor_down > 0) {
|
||||
echo "<img src='images/pixel_fucsia.png' width=40 height=18 title='".__('Agent down')."'>";
|
||||
}
|
||||
} else
|
||||
echo "<img src='images/pixel_blue.png' width=40 height=18 title='".__('Agent without data')."'>";
|
||||
echo "<img src='images/pixel_gray.png' width=40 height=18 title='".__('Agent without data')."'>";
|
||||
|
||||
// checks if an alert was fired recently
|
||||
echo "<td class='$tdcolor' align='center'>";
|
||||
|
|
Loading…
Reference in New Issue