* operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange
* operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
455a548876
commit
d71282f836
|
@ -1,3 +1,7 @@
|
|||
2010-03-19 Eric Ross <eric.ross.c@gmail.com>
|
||||
* operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange
|
||||
* operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information
|
||||
|
||||
2010-03-19 Eric Ross <eric.ross.c@gmail.com>
|
||||
* include/config_process.php: Fixing warning when no timezone is defined for the user
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ foreach ($modules as $module) {
|
|||
case 10: echo "<td class=$tdcolor style='color:darkgreen; font-weight:bold;'>TRACE</td>"; break;
|
||||
case 20: echo "<td class=$tdcolor style='color:darkgreen; font-weight:bold;'>DEBUG</td>"; break;
|
||||
case 30: echo "<td class=$tdcolor style='color:darkgreen; font-weight:bold;'>INFO</td>"; break;
|
||||
case 40: echo "<td class=$tdcolor style='color:darkgreen; font-weight:bold;'>WARN</td>"; break;
|
||||
case 40: echo "<td class=$tdcolor style='color:darkorange; font-weight:bold;'>WARN</td>"; break;
|
||||
case 50: echo "<td class=$tdcolor style='color:red; font-weight:bold;'>ERROR</td>"; break;
|
||||
case 60: echo "<td class=$tdcolor style='color:red; font-weight:bold;'>FATAL</td>"; break;
|
||||
}
|
||||
|
|
|
@ -165,11 +165,13 @@ else {
|
|||
print_image ($image, false, array ("border" => 0));
|
||||
}
|
||||
|
||||
echo '<table width="450" cellspacing="1" cellpadding="1" class="databox" style="margin-left: 20px">';
|
||||
echo '<tr><td><b>'.__('Max. Value').'</b>: '.format_for_graph (get_agentmodule_data_max ($id, $period));
|
||||
echo '</td><td><b>'.__('Avg. Value').'</b>: '.format_for_graph (get_agentmodule_data_average ($id, $period));
|
||||
echo '</td><td><b>'.__('Min. Value').'</b>: '.format_for_graph (get_agentmodule_data_min ($id, $period));
|
||||
echo '</td></tr></table>';
|
||||
if ($graph_type != "log4x") {
|
||||
echo '<table width="450" cellspacing="1" cellpadding="1" class="databox" style="margin-left: 20px">';
|
||||
echo '<tr><td><b>'.__('Max. Value').'</b>: '.format_for_graph (get_agentmodule_data_max ($id, $period));
|
||||
echo '</td><td><b>'.__('Avg. Value').'</b>: '.format_for_graph (get_agentmodule_data_average ($id, $period));
|
||||
echo '</td><td><b>'.__('Min. Value').'</b>: '.format_for_graph (get_agentmodule_data_min ($id, $period));
|
||||
echo '</td></tr></table>';
|
||||
}
|
||||
|
||||
//z-index is 1 because 2 made the calendar show under the divmenu.
|
||||
echo '<div id="divmenu" class="menu" style="z-index:1;"><b>'.__('Pandora FMS Graph configuration menu').'</b><br />'.__('Please, make your changes and apply with the <i>Reload</i> button');
|
||||
|
|
Loading…
Reference in New Issue