Fixed images. Only simple images in item Agent/modules report

This commit is contained in:
m-lopez-f 2017-03-30 13:36:57 +02:00
parent b8a3fec55f
commit 5b1f65685f
1 changed files with 10 additions and 5 deletions

View File

@ -1344,7 +1344,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(
@ -1352,7 +1353,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(
@ -1360,7 +1362,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(
@ -1368,7 +1371,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_STATUS_ALERT_FIRED: case AGENT_STATUS_ALERT_FIRED:
$table_data .= ui_print_status_image( $table_data .= ui_print_status_image(
@ -1376,7 +1380,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;
} }
$table_data .= "</td>"; $table_data .= "</td>";