";
echo $nombre_alerta;
echo " | ";
if ($alert_type == 0) {
$tipo_alerta = __('OID');
} elseif ($alert_type == 1) {
$tipo_alerta = __('customvalue');
} elseif ($alert_type == 2) {
$tipo_alerta = __('SNMP_agent');
} else {
$tipo_alerta = "N/A";
}
echo $tipo_alerta;
echo " | ";
if ($alert_type == 2) {
echo $agent;
} else {
echo "N/A";
}
echo " | ";
if ($alert_type == 0) {
echo $oid;
} else {
echo "N/A";
}
echo " | ";
if ($alert_type == 1) {
echo $custom_oid;
} else {
echo "N/A";
}
echo " | ";
echo $description;
echo " | ";
echo $times_fired;
echo " | ";
if ($last_fired != "0000-00-00 00:00:00")
echo $last_fired;
else
echo __('never');
echo " | ";
echo "
";
echo "
 |
";
}
echo "