diff --git a/pandora_console/godmode/admin_access_logs.php b/pandora_console/godmode/admin_access_logs.php index f1e3588825..9b1d197b70 100644 --- a/pandora_console/godmode/admin_access_logs.php +++ b/pandora_console/godmode/admin_access_logs.php @@ -99,15 +99,23 @@ if (comprueba_login() == 0) } $offset_counter = 0; - + $color=0; // Get data - while ($row=mysql_fetch_array($result) and ($offset_counter < $block_size) ){ + while ($row=mysql_fetch_array($result) and ($offset_counter < $block_size) ){ + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } $usuario=$row["ID_usuario"]; - echo ''.$usuario; - echo ''.$row["accion"]; - echo ''.$row["fecha"]; - echo ''.$row["IP_origen"]; - echo ''.$row["descripcion"]; + echo ''.$usuario; + echo ''.$row["accion"]; + echo ''.$row["fecha"]; + echo ''.$row["IP_origen"]; + echo ''.$row["descripcion"]; echo ''; $offset_counter++; } diff --git a/pandora_console/godmode/agentes/configurar_agente.php b/pandora_console/godmode/agentes/configurar_agente.php index 1641524a5c..080b76fe46 100644 --- a/pandora_console/godmode/agentes/configurar_agente.php +++ b/pandora_console/godmode/agentes/configurar_agente.php @@ -578,7 +578,7 @@ echo ''.$lang_label["agent_name"].' "; + echo "  "; } ?> @@ -700,8 +700,8 @@ if ( $creacion_agente != 1) { $module_interval2 = $row["module_interval"]; $module_group2 = $row["id_module_group"]; - echo "".$nombre_modulo; - echo ""; + echo "".$nombre_modulo; + echo ""; if ($id_tipo > 0) { echo ""; } @@ -910,7 +910,7 @@ if (isset($_POST["oid"])){ -
+
'; else { audit_db($id_user,$REMOTE_ADDR, "ACL Violation","Trying to access Agent Management"); require ("general/noaccess.php"); - } + } \ No newline at end of file diff --git a/pandora_console/godmode/agentes/modificar_agente.php b/pandora_console/godmode/agentes/modificar_agente.php index 927427c975..4b1186055e 100644 --- a/pandora_console/godmode/agentes/modificar_agente.php +++ b/pandora_console/godmode/agentes/modificar_agente.php @@ -64,14 +64,22 @@ if (give_acl($id_user, 0, "AW")==1) { echo "".$lang_label["group"]; echo "".$lang_label["description"]; echo "".$lang_label["delete"]; - + $color=0; while ($row=mysql_fetch_array($result)){ $id_grupo = $row["id_grupo"]; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } if (give_acl($id_user, $id_grupo, "AW")==1){ - echo "".$row["nombre"].""; - echo ' ( '.dame_grupo($id_grupo).' )'; - echo ''.$row["comentarios"].''; - echo ''; + echo "".$row["nombre"].""; + echo " ( ".dame_grupo($id_grupo)." )"; + echo "".$row["comentarios"].""; + echo ""; } } echo "
"; diff --git a/pandora_console/godmode/alertas/modificar_alerta.php b/pandora_console/godmode/alertas/modificar_alerta.php index 7f2583969b..6f1075c804 100644 --- a/pandora_console/godmode/alertas/modificar_alerta.php +++ b/pandora_console/godmode/alertas/modificar_alerta.php @@ -56,13 +56,23 @@ if ( (give_acl($id_user, 0, "LM")==1)){ echo "".$lang_label["alertname"]; echo "".$lang_label["description"]; echo "".$lang_label["delete"]; + $color=0; $sql1='SELECT * FROM talerta ORDER BY nombre'; $result=mysql_query($sql1); while ($row=mysql_fetch_array($result)){ - echo "".$row["nombre"].""; - echo "".$row["descripcion"]; - echo ''; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "".$row["nombre"].""; + echo "".$row["descripcion"]; + echo ""; } + echo "
"; echo ""; echo "
"; diff --git a/pandora_console/godmode/db/db_audit.php b/pandora_console/godmode/db/db_audit.php index 27d508bf79..e71a5cec8c 100644 --- a/pandora_console/godmode/db/db_audit.php +++ b/pandora_console/godmode/db/db_audit.php @@ -91,14 +91,14 @@ if (comprueba_login() == 0) echo ""; $result_t=mysql_query("SELECT COUNT(*) FROM tsesion"); $row=mysql_fetch_array($result_t); - echo "".$lang_label["total"].""; - echo "".$row[0]." ".$lang_label["records"]; + echo "".$lang_label["total"].""; + echo "".$row[0]." ".$lang_label["records"]; echo ""; $result_t=mysql_query("SELECT min(fecha) FROM tsesion"); $row=mysql_fetch_array($result_t); - echo "".$lang_label["first_date"].""; - echo "".$row[0]; + echo "".$lang_label["first_date"].""; + echo "".$row[0]; echo ""; $result_t=mysql_query("SELECT max(fecha) FROM tsesion"); diff --git a/pandora_console/godmode/db/db_event.php b/pandora_console/godmode/db/db_event.php index a079739e54..70591f39fb 100644 --- a/pandora_console/godmode/db/db_event.php +++ b/pandora_console/godmode/db/db_event.php @@ -88,8 +88,8 @@ if (comprueba_login() == 0) echo ""; $result_t=mysql_query("SELECT min(timestamp) FROM tevento"); $row=mysql_fetch_array($result_t); - echo "".$lang_label["first_date"].""; - echo "".$row[0]; + echo "".$lang_label["first_date"].""; + echo "".$row[0]; echo ""; diff --git a/pandora_console/godmode/db/db_info_data.php b/pandora_console/godmode/db/db_info_data.php index b90ba3ef72..641d91f247 100644 --- a/pandora_console/godmode/db/db_info_data.php +++ b/pandora_console/godmode/db/db_info_data.php @@ -27,9 +27,10 @@ if (comprueba_login() == 0) echo "".$lang_label["agent_name"]; echo "".$lang_label["assigned_module"]; echo "".$lang_label["total_data"]; + $color=0; $result_2=mysql_query("SELECT id_agente FROM tagente"); - while ($row2=mysql_fetch_array($result_2)){ + while ($row2=mysql_fetch_array($result_2)){ $total_agente=0; $result_3c=mysql_query("SELECT COUNT(id_agente_modulo) FROM tagente_modulo WHERE id_agente = ".$row2["id_agente"]); $row3c=mysql_fetch_array($result_3c); @@ -39,10 +40,18 @@ if (comprueba_login() == 0) $result_4=mysql_query("SELECT COUNT(id_agente_modulo) FROM tagente_datos WHERE id_agente_modulo = ".$row3["id_agente_modulo"]); $row4=mysql_fetch_array($result_4); $total_agente=$total_agente + $row4[0]; - } - echo "".dame_nombre_agente($row2[0]).""; - echo "".$row3c[0]; - echo "".$total_agente; + } + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "".dame_nombre_agente($row2[0]).""; + echo "".$row3c[0]; + echo "".$total_agente; flush(); //ob_flush(); } diff --git a/pandora_console/godmode/db/db_purge.php b/pandora_console/godmode/db/db_purge.php index afc50330a8..2d7b6e204a 100644 --- a/pandora_console/godmode/db/db_purge.php +++ b/pandora_console/godmode/db/db_purge.php @@ -178,38 +178,52 @@ if (comprueba_login() == 0) - + + - + - + + + +
+ +
+
- + - +
+ +
+
- + +
+ +
+
- + - -
- - - +
+ + + +

diff --git a/pandora_console/godmode/grupos/lista_grupos.php b/pandora_console/godmode/grupos/lista_grupos.php index 282e8cc007..f032985dea 100644 --- a/pandora_console/godmode/grupos/lista_grupos.php +++ b/pandora_console/godmode/grupos/lista_grupos.php @@ -57,13 +57,21 @@ if (comprueba_login() == 0) echo "".$lang_label["delete"].""; $sql1='SELECT * FROM tgrupo ORDER BY nombre'; $result=mysql_query($sql1); - + $color=1; while ($row=mysql_fetch_array($result)){ $iconindex_g[$row["id_grupo"]] = $row["icon"]; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } if ($row["id_grupo"] != 1){ - echo "" ; - echo "".$row["nombre"].""; - echo ''; + echo "" ; + echo "".$row["nombre"].""; + echo ""; } } echo "
"; diff --git a/pandora_console/godmode/perfiles/lista_perfiles.php b/pandora_console/godmode/perfiles/lista_perfiles.php index 01c4ed7cd0..73736727de 100644 --- a/pandora_console/godmode/perfiles/lista_perfiles.php +++ b/pandora_console/godmode/perfiles/lista_perfiles.php @@ -175,6 +175,7 @@ echo ""; } else { // View list data + $color=0; ?> '; + echo ""; + } echo ""; echo ""; diff --git a/pandora_console/godmode/servers/modificar_server.php b/pandora_console/godmode/servers/modificar_server.php index caf28074e2..823dffa2ff 100644 --- a/pandora_console/godmode/servers/modificar_server.php +++ b/pandora_console/godmode/servers/modificar_server.php @@ -35,7 +35,7 @@ if (comprueba_login() == 0) { echo "

".$lang_label["update_server"]."

"; echo "
"; - $query="SELECT * FROM tserver WHERE id_server=".$id_server; + $query="SELECT * FROM tserver WHERE id_server=".$id_server; $result=mysql_query($query); if (mysql_num_rows($result)){ $row=mysql_fetch_array($result); @@ -87,6 +87,7 @@ if (comprueba_login() == 0) { echo "
".$nombre.""; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "".$nombre.""; - echo ""; + echo ""; if ($incident_view == 1) echo ""; - echo ""; + echo ""; if ($incident_edit == 1) echo ""; - echo ""; + echo ""; if ($incident_management == 1) echo ""; - echo ""; + echo ""; if ($agent_view == 1) echo ""; - echo ""; + echo ""; if ($agent_edit == 1) echo ""; - echo ""; + echo ""; if ($alert_edit == 1) echo ""; - echo ""; + echo ""; if ($user_management == 1) echo ""; - echo ""; + echo ""; if ($db_management == 1) echo ""; - echo ""; + echo ""; if ($alert_management == 1) echo ""; - echo ""; + echo ""; if ($pandora_management == 1) echo ""; - echo '
".$lang_label['laststart']; echo "".$lang_label['lastupdate']; echo "".$lang_label['action']; + $color=1; while ($row=mysql_fetch_array($result)){ $name = $row["name"]; $address = $row["ip_address"]; @@ -101,7 +102,15 @@ if (comprueba_login() == 0) { $description = $row["description"]; $id_server = $row["id_server"]; - echo "
"; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "
"; echo "$name"; echo ""; if ($status ==0){ @@ -109,32 +118,32 @@ if (comprueba_login() == 0) { } else { echo ""; } - echo ""; + echo ""; echo "$address"; - echo "".substr($description,0,25); - echo ""; + echo "".substr($description,0,25); + echo ""; if ($network_server == 1){ echo ""; } - echo ""; + echo ""; if ($data_server == 1){ echo ""; } - echo ""; + echo ""; if ($snmp_server == 1){ echo ""; } - echo ""; + echo ""; if ($master == 1){ echo ""; } - echo ""; + echo ""; if ($checksum == 1){ echo ""; } - echo "".substr($keepalive,0,25); - echo "".substr($laststart,0,25); - echo " "; + echo "".substr($keepalive,0,25); + echo "".substr($laststart,0,25); + echo " "; } echo '
'; } diff --git a/pandora_console/godmode/setup/links.php b/pandora_console/godmode/setup/links.php index 17f8be41e9..edebe40ebf 100644 --- a/pandora_console/godmode/setup/links.php +++ b/pandora_console/godmode/setup/links.php @@ -92,13 +92,22 @@ if (comprueba_login() == 0) echo "".$lang_label["delete"]; $sql1='SELECT * FROM tlink ORDER BY name'; $result=mysql_query($sql1); + $color=1; while ($row=mysql_fetch_array($result)){ - echo "".$row["name"].""; - echo ''; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "".$row["name"].""; + echo ''; } echo "
"; echo ""; - echo ""; + echo ""; echo ""; echo "
"; } // Fin bloque else diff --git a/pandora_console/godmode/setup/setup.php b/pandora_console/godmode/setup/setup.php index 0e56693a9b..9aaf164e08 100644 --- a/pandora_console/godmode/setup/setup.php +++ b/pandora_console/godmode/setup/setup.php @@ -53,20 +53,20 @@ if (comprueba_login() == 0) } echo ''; - echo ''.$lang_label["block_size"]; - echo ''; + echo ''.$lang_label["block_size"]; + echo ''; echo ''.$lang_label["days_compact"]; echo ''; - echo ''.$lang_label["days_purge"]; - echo ''; + echo ''.$lang_label["days_purge"]; + echo ''; echo ''.$lang_label["graph_res"]; echo ''; - echo ''.$lang_label["step_compact"]; - echo ''; + echo ''.$lang_label["step_compact"]; + echo ''; echo ''.$lang_label["graph_order"]; echo ''; + echo ''.$lang_label["truetype"]; + echo ''; echo "
"; - + $color = 0; $id_evento = 0; if ($offset !=0) $offset_limit = $offset +1; @@ -205,33 +205,40 @@ if (comprueba_login() == 0) { $result=mysql_query($sql); $row=mysql_fetch_array($result); $id_group = $row["id_grupo"]; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } //if (give_acl($id_usuario, $id_group, "IR") == 1){ // Only incident read access to view data - $offset_counter++; - echo ""; - echo ""; - if ($row["estado"] == 0) - echo ""; - else - echo ""; - echo "".$row["evento"]; - if ($row["id_agente"] > 0){ - echo "".dame_nombre_agente($row["id_agente"]).""; - echo "".dame_nombre_grupo($row["id_grupo"]); - echo ""; + $offset_counter++; + echo ""; + if ($row["estado"] == 0) + echo ""; + else + echo ""; + echo "".$row["evento"]; + if ($row["id_agente"] > 0){ + echo "".dame_nombre_agente($row["id_agente"]).""; + echo "".dame_nombre_grupo($row["id_grupo"]); + echo ""; } else { // for SNMP generated alerts - echo "".$lang_label["alert"]." / SNMP"; - echo ""; + echo "".$lang_label["alert"]." / SNMP"; + echo ""; } if ($row["estado"] <> 0) echo " ".dame_nombre_real($row["id_usuario"])."".substr($row["id_usuario"],0,8).""; - echo "".$row["timestamp"]; - echo ""; + echo "".$row["timestamp"]; + echo ""; if (($row["estado"] == 0) and (give_acl($id_usuario,$id_group,"IW") ==1)) echo ""; if (give_acl($id_usuario,$id_group,"IM") ==1) echo ""; - echo ""; + echo ""; echo ""; echo ""; //} diff --git a/pandora_console/operation/incidents/incident.php b/pandora_console/operation/incidents/incident.php index 585125aca9..3f096ee262 100644 --- a/pandora_console/operation/incidents/incident.php +++ b/pandora_console/operation/incidents/incident.php @@ -304,6 +304,7 @@ if (isset($_POST['operacion'])){ echo "".$lang_label["source"]; echo "".$lang_label["in_openedby"]; echo "".$lang_label["delete"]; + $color = 0; // Skip offset records and begin show data if ($offset !=0) @@ -322,11 +323,19 @@ if (isset($_POST['operacion'])){ $result=mysql_query($sql); $row=mysql_fetch_array($result); $id_group = $row["id_grupo"]; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } if (give_acl($id_usuario, $id_group, "IR") ==1){ // Only incident read access to view data ! $offset_counter++; $note_number = dame_numero_notas($row["id_incidencia"]); echo ""; - echo "".$row["id_incidencia"].""; + echo "".$row["id_incidencia"].""; // Check for attachments in this incident $result3=mysql_query("SELECT * FROM tattachment WHERE id_incidencia = ".$row["id_incidencia"]); @@ -345,7 +354,7 @@ if (isset($_POST['operacion'])){ if (($row["estado"] == 0) && ($note_number >0 )){ $row["estado"] = 1; } - echo ""; + echo ""; switch ($row["estado"]) { case 0: echo ""; break; @@ -358,8 +367,8 @@ if (isset($_POST['operacion'])){ case 13: echo ""; break; } - echo "".substr(salida_limpia($row["titulo"]),0,27); - echo ""; + echo "".substr(salida_limpia($row["titulo"]),0,27); + echo ""; switch ( $row["prioridad"] ){ case 0: echo ""."".""; break; case 1: echo ""."".""; break; @@ -376,13 +385,13 @@ if (isset($_POST['operacion'])){ case 4: echo $lang_label["very_serious"]; break; case 10: echo $lang_label["maintenance"]; break; */ - echo "".dame_nombre_grupo($row["id_grupo"]); - echo "".$row["actualizacion"]; - echo "".$row["origen"]; - echo " ".dame_nombre_real($row["id_usuario"])."".substr($row["id_usuario"], 0, 8).""; + echo "".dame_nombre_grupo($row["id_grupo"]); + echo "".$row["actualizacion"]; + echo "".$row["origen"]; + echo " ".dame_nombre_real($row["id_usuario"])."".substr($row["id_usuario"], 0, 8).""; $id_author_inc = $row["id_usuario"]; if ((give_acl($id_usuario, $id_group, "IM") ==1) OR ($_SESSION["id_usuario"] == $id_author_inc) ){ // Only incident owners or incident manager from this group can delete incidents - echo ''; + echo ""; } } // if ACL is correct } diff --git a/pandora_console/operation/menu.php b/pandora_console/operation/menu.php index 6c0bf04286..878495863e 100644 --- a/pandora_console/operation/menu.php +++ b/pandora_console/operation/menu.php @@ -76,7 +76,7 @@ if (isset($_SESSION["id_usuario"])) { echo ''; } if (give_acl($_SESSION["id_usuario"], 0, "IR")==1) { - if(isset($_GET["sec2"]) && $_GET["sec2"] == "operation/incidents/incident") { + if(isset($_GET["sec2"]) && ($_GET["sec2"] == "operation/incidents/incident" || $_GET["sec2"] == "operation/incidents/incident_detail")) { echo '
'; } else echo '
'; diff --git a/pandora_console/operation/messages/message.php b/pandora_console/operation/messages/message.php index c0cafcd30c..e17647ba8b 100644 --- a/pandora_console/operation/messages/message.php +++ b/pandora_console/operation/messages/message.php @@ -139,17 +139,26 @@ else { } $sql3='SELECT * FROM tmensajes WHERE id_usuario_destino="'.$iduser.'"'; $resultado3=mysql_query($sql3); + $color=0; if (mysql_num_rows($resultado3)) { echo ""; while ($row3=mysql_fetch_array($resultado3)){ - echo ""; - if ($row3["estado"]==1) echo ""; - else echo ""; - echo ""; - echo ""; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo ""; + if ($row3["estado"]==1) echo ""; + else echo ""; + echo ""; + echo ""; } echo ""; } diff --git a/pandora_console/operation/users/user.php b/pandora_console/operation/users/user.php index 52cc5231ee..f83873b20c 100644 --- a/pandora_console/operation/users/user.php +++ b/pandora_console/operation/users/user.php @@ -37,7 +37,7 @@ if (comprueba_login() == 0) {
".$lang_label["read"]."".$lang_label["sender"]."".$lang_label["subject"]."".$lang_label["timestamp"]."".$lang_label["delete"]."
".$row3["id_usuario_origen"].""; - if ($row3["subject"]) echo $row3["subject"].""; - else echo "".$lang_label["no_subject"].""; - echo "".$row3["timestamp"]."
".$row3["id_usuario_origen"].""; + if ($row3["subject"]) echo $row3["subject"].""; + else echo "".$lang_label["no_subject"].""; + echo "".$row3["timestamp"]."
".$nombre.""; - echo "".$fecha_registro.""; - echo ""; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "
".$nombre.""; + echo "".$fecha_registro.""; + echo ""; if ($nivel == 1) echo ""; else @@ -63,8 +71,8 @@ while ($rowdup=mysql_fetch_array($resq1)){ } else { echo $lang_label["no_profile"]; } echo ""; - echo "".substr($rowdup["nombre_real"],0,16); - echo "".$comentarios; + echo "".substr($rowdup["nombre_real"],0,16); + echo "".$comentarios; } echo "

"; @@ -91,7 +99,7 @@ echo "

"; echo "DM ".$help_label["DM"].""; echo "LM ".$help_label["LM"].""; echo "PM ".$help_label["PM"].""; - + $color = 0; while ($rowdup=mysql_fetch_array($resq1)){ $id_perfil = $rowdup["id_perfil"]; $nombre=$rowdup["name"]; @@ -105,37 +113,44 @@ echo "

"; $db_management = $rowdup["db_management"]; $alert_management = $rowdup["alert_management"]; $pandora_management = $rowdup["pandora_management"]; + if ($color == 1){ + $tdcolor = "datos"; + $color = 0; + } + else { + $tdcolor = "datos2"; + $color = 1; + } + echo "".$nombre; - echo "".$nombre; - - echo ""; + echo ""; if ($incident_view == 1) echo ""; - echo ""; + echo ""; if ($incident_edit == 1) echo ""; - echo ""; + echo ""; if ($incident_management == 1) echo ""; - echo ""; + echo ""; if ($agent_view == 1) echo ""; - echo ""; + echo ""; if ($agent_edit == 1) echo ""; - echo ""; + echo ""; if ($alert_edit == 1) echo ""; - echo ""; + echo ""; if ($user_management == 1) echo ""; - echo ""; + echo ""; if ($db_management == 1) echo ""; - echo ""; + echo ""; if ($alert_management == 1) echo ""; - echo ""; + echo ""; if ($pandora_management == 1) echo ""; } diff --git a/pandora_console/pandoradb_data.sql b/pandora_console/pandoradb_data.sql index 97e520fc63..7ecb0e4a0c 100644 --- a/pandora_console/pandoradb_data.sql +++ b/pandora_console/pandoradb_data.sql @@ -10,10 +10,10 @@ INSERT INTO `talerta` VALUES (1,'eMail','echo _field3_ | mail -s _field2_ _field1_','Send email from Pandora Server. mail is a default command on all "standard" Unix systems, using:\r\n_field1_ as destination email address, and\r\n_field2_ as subject for message. \r\n_field3_ as text of message.'); INSERT INTO `talerta` VALUES (2,'LogFile','echo _timestamp_ pandora _field1_ _field2_ >> /var/log/pandora_alert.log','This is a default alert to write alerts in a standard ASCII plaintext log file in /var/log/pandora_alert.log\r\n'); -INSERT INTO `talerta` VALUES (3,'Internal Audit','','This alert save alert in Pandora interal audit system. Fields are static and only _field1_ is used.'); +INSERT INTO `talerta` VALUES (3,'Internal Audit','','This alert save alert in Pandora internal audit system. Fields are static and only _field1_ is used.'); INSERT INTO `talerta` VALUES (4,'SNMP Trap','/usr/bin/snmptrap -v 1 -c trap_public 192.168.0.4 1.1.1.1.1.1.1.1 _agent_ _field1_','Send a SNMPTRAP to 192.168.0.4. Please review config and adapt to your needs, this is only a sample, not functional itself.'); -INSERT INTO `talerta` VALUES (5,'SMS Text','echo _field2_ | mail -s PANDORA_field1_ slerena@vodafone.es','Send SMS via e-mail gateway. Use field1 for a short SMS text (35 chars) and field 2 for text message (full SMS)'); -INSERT INTO `talerta` VALUES (6,'Syslog','/usr/bin/logger -pri daemon.alert Pandora Alert _agent_ _field1_ _field2_','Uses field1 and field2 to generate Syslog alert in facility "daemon" with "alert" level.'); +INSERT INTO `talerta` VALUES (5,'SMS Text','echo _field2_ | mail -s PANDORA_field1_ slerena@vodafone.es','Send SMS via e-mail gateway. Use _field1_ for a short SMS text (35 chars) and _field2_ for text message (full SMS)'); +INSERT INTO `talerta` VALUES (6,'Syslog','/usr/bin/logger -pri daemon.alert Pandora Alert _agent_ _field1_ _field2_','Uses _field1_ and _field2_ to generate a Syslog alert in facility "daemon" with "alert" level.'); -- -- Dumping data for table `tconfig`