2012-02-10 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_modules.php: Changed module status image for unknown status to gray. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
fcfaafcdef
commit
87cad661ee
|
@ -1,3 +1,8 @@
|
||||||
|
2012-02-10 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||||
|
|
||||||
|
* include/functions_modules.php: Changed module status image for unknown
|
||||||
|
status to gray.
|
||||||
|
|
||||||
2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2012-02-09 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* operation/events/events_list.php: Added colors in name and group
|
* operation/events/events_list.php: Added colors in name and group
|
||||||
|
|
|
@ -1193,15 +1193,15 @@ function modules_get_status($id_agent_module, $db_status, $data, &$status, &$tit
|
||||||
$last_status = modules_get_agentmodule_last_status($id_agent_module);
|
$last_status = modules_get_agentmodule_last_status($id_agent_module);
|
||||||
switch($last_status) {
|
switch($last_status) {
|
||||||
case 0:
|
case 0:
|
||||||
$status = STATUS_MODULE_OK;
|
$status = STATUS_AGENT_DOWN;
|
||||||
$title = __('UNKNOWN')." - ".__('Last status')." ".__('NORMAL');
|
$title = __('UNKNOWN')." - ".__('Last status')." ".__('NORMAL');
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
$status = STATUS_MODULE_CRITICAL;
|
$status = STATUS_AGENT_DOWN;
|
||||||
$title = __('UNKNOWN')." - ".__('Last status')." ".__('CRITICAL');
|
$title = __('UNKNOWN')." - ".__('Last status')." ".__('CRITICAL');
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
$status = STATUS_MODULE_WARNING;
|
$status = STATUS_AGENT_DOWN;
|
||||||
$title = __('UNKNOWN')." - ".__('Last status')." ".__('WARNING');
|
$title = __('UNKNOWN')." - ".__('Last status')." ".__('WARNING');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue