Fixed images. Only simple images in item Agent/modules report
This commit is contained in:
parent
145c521c11
commit
ce5b5dab66
|
@ -1379,7 +1379,8 @@ function reporting_html_agent_module($table, $item) {
|
||||||
__("%s in %s : NORMAL",
|
__("%s in %s : NORMAL",
|
||||||
$module_name,
|
$module_name,
|
||||||
$row['agent_name']),
|
$row['agent_name']),
|
||||||
true, array('width' => '20px', 'height' => '20px'));
|
true, array('width' => '20px', 'height' => '20px'),
|
||||||
|
'images/status_sets/default/');
|
||||||
break;
|
break;
|
||||||
case AGENT_STATUS_CRITICAL:
|
case AGENT_STATUS_CRITICAL:
|
||||||
$table_data .= ui_print_status_image(
|
$table_data .= ui_print_status_image(
|
||||||
|
@ -1387,7 +1388,8 @@ function reporting_html_agent_module($table, $item) {
|
||||||
__("%s in %s : CRITICAL",
|
__("%s in %s : CRITICAL",
|
||||||
$module_name,
|
$module_name,
|
||||||
$row['agent_name']),
|
$row['agent_name']),
|
||||||
true, array('width' => '20px', 'height' => '20px'));
|
true, array('width' => '20px', 'height' => '20px'),
|
||||||
|
'images/status_sets/default/');
|
||||||
break;
|
break;
|
||||||
case AGENT_STATUS_WARNING:
|
case AGENT_STATUS_WARNING:
|
||||||
$table_data .= ui_print_status_image(
|
$table_data .= ui_print_status_image(
|
||||||
|
@ -1395,7 +1397,8 @@ function reporting_html_agent_module($table, $item) {
|
||||||
__("%s in %s : WARNING",
|
__("%s in %s : WARNING",
|
||||||
$module_name,
|
$module_name,
|
||||||
$row['agent_name']),
|
$row['agent_name']),
|
||||||
true, array('width' => '20px', 'height' => '20px'));
|
true, array('width' => '20px', 'height' => '20px'),
|
||||||
|
'images/status_sets/default/');
|
||||||
break;
|
break;
|
||||||
case AGENT_STATUS_UNKNOWN:
|
case AGENT_STATUS_UNKNOWN:
|
||||||
$table_data .= ui_print_status_image(
|
$table_data .= ui_print_status_image(
|
||||||
|
@ -1403,7 +1406,8 @@ function reporting_html_agent_module($table, $item) {
|
||||||
__("%s in %s : UNKNOWN",
|
__("%s in %s : UNKNOWN",
|
||||||
$module_name,
|
$module_name,
|
||||||
$row['agent_name']),
|
$row['agent_name']),
|
||||||
true, array('width' => '20px', 'height' => '20px'));
|
true, array('width' => '20px', 'height' => '20px'),
|
||||||
|
'images/status_sets/default/');
|
||||||
break;
|
break;
|
||||||
case AGENT_MODULE_STATUS_NORMAL_ALERT:
|
case AGENT_MODULE_STATUS_NORMAL_ALERT:
|
||||||
case AGENT_MODULE_STATUS_WARNING_ALERT:
|
case AGENT_MODULE_STATUS_WARNING_ALERT:
|
||||||
|
@ -1413,7 +1417,8 @@ function reporting_html_agent_module($table, $item) {
|
||||||
__("%s in %s : ALERTS FIRED",
|
__("%s in %s : ALERTS FIRED",
|
||||||
$module_name,
|
$module_name,
|
||||||
$row['agent_name']),
|
$row['agent_name']),
|
||||||
true, array('width' => '20px', 'height' => '20px'));
|
true, array('width' => '20px', 'height' => '20px'),
|
||||||
|
'images/status_sets/default/');
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
$table_data .= ui_print_status_image(
|
$table_data .= ui_print_status_image(
|
||||||
|
@ -1421,7 +1426,8 @@ function reporting_html_agent_module($table, $item) {
|
||||||
__("%s in %s : Not initialize",
|
__("%s in %s : Not initialize",
|
||||||
$module_name,
|
$module_name,
|
||||||
$row['agent_name']),
|
$row['agent_name']),
|
||||||
true, array('width' => '20px', 'height' => '20px'));
|
true, array('width' => '20px', 'height' => '20px'),
|
||||||
|
'images/status_sets/default/');
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$table_data .= "</td>";
|
$table_data .= "</td>";
|
||||||
|
|
Loading…
Reference in New Issue