mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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
050a7faf28
commit
38df3554bc
@ -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>
|
2008-10-20 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* operation/agentes/estado_grupo.php: Fixed a notice error when the
|
* operation/agentes/estado_grupo.php: Fixed a notice error when the
|
||||||
|
@ -28,7 +28,7 @@ echo "
|
|||||||
<td class='f9i'>
|
<td class='f9i'>
|
||||||
<img src='images/pixel_red.png' width=20 height=10> ".__('Alert fired')."</td>
|
<img src='images/pixel_red.png' width=20 height=10> ".__('Alert fired')."</td>
|
||||||
<tr><td class='f9i'>
|
<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'>
|
<td class='f9i'>
|
||||||
<img src='images/pixel_blue.png' width=40 height=18> ".__('Agent without data')."</td>
|
<img src='images/pixel_blue.png' width=40 height=18> ".__('Agent without data')."</td>
|
||||||
<td class='f9i'>
|
<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')."'>";
|
echo "<img src='images/pixel_green.png' width=40 height=18 title='".__('All Monitors OK')."'>";
|
||||||
}
|
}
|
||||||
elseif ($numero_datamodules > 0) {
|
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) {
|
elseif ($monitor_down > 0) {
|
||||||
echo "<img src='images/pixel_fucsia.png' width=40 height=18 title='".__('Agent down')."'>";
|
echo "<img src='images/pixel_fucsia.png' width=40 height=18 title='".__('Agent down')."'>";
|
||||||
}
|
}
|
||||||
} else
|
} 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
|
// checks if an alert was fired recently
|
||||||
echo "<td class='$tdcolor' align='center'>";
|
echo "<td class='$tdcolor' align='center'>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user