2007-07-31 20:11:27 +02:00
|
|
|
<?php
|
|
|
|
|
2009-06-08 20:15:58 +02:00
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
|
|
|
// Copyright (c) 2005-2009 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
2007-07-31 20:11:27 +02:00
|
|
|
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
2008-08-22 20:07:32 +02:00
|
|
|
// as published by the Free Software Foundation for version 2.
|
2007-07-31 20:11:27 +02:00
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
2009-06-08 20:15:58 +02:00
|
|
|
|
|
|
|
|
2007-07-31 20:11:27 +02:00
|
|
|
|
2009-04-09 23:06:17 +02:00
|
|
|
echo '
|
|
|
|
<table cellpadding="3" cellspacing="3">
|
2009-04-06 13:02:05 +02:00
|
|
|
<tr>
|
2011-04-13 18:11:02 +02:00
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_AGENT_OK, __('All Monitors OK'), true) . __('All Monitors OK') . '</td>
|
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_MODULE_CRITICAL, __('At least one monitor fails'), true) . __('At least one monitor fails') . '</td>
|
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_MODULE_WARNING, __('Change between Green/Red state'), true) . __('Change between Green/Red state') . '</td>
|
2009-04-06 13:02:05 +02:00
|
|
|
|
2011-04-13 18:11:02 +02:00
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_ALERT_FIRED, __('Alert fired'), true) . __('Alert fired') . '</td>
|
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_ALERT_DISABLED, __('Alert disabled'), true) . __('Alerts disabled') . '</td>
|
2009-04-06 13:02:05 +02:00
|
|
|
|
2009-04-09 23:06:17 +02:00
|
|
|
</tr><tr>
|
2009-04-06 13:02:05 +02:00
|
|
|
|
2011-04-13 18:11:02 +02:00
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_AGENT_NO_DATA, __('Agent without data'), true) . __('Agent without data') . '</td>
|
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_AGENT_DOWN, __('Agent down'), true) . __('Agent down') . '</td>
|
2009-04-06 13:02:05 +02:00
|
|
|
|
2011-04-13 18:11:02 +02:00
|
|
|
<td class="f9i">' . ui_print_status_image(STATUS_ALERT_NOT_FIRED, __('Alert not fired'), true) . __('Alert not fired') . '</td>
|
2009-04-06 13:02:05 +02:00
|
|
|
|
2007-07-31 20:11:27 +02:00
|
|
|
</tr>
|
|
|
|
</table>
|
2009-04-09 23:06:17 +02:00
|
|
|
';
|
2007-07-31 20:11:27 +02:00
|
|
|
?>
|