Nagios log

Sandoval, Julio jsandoval at achs.cl
Mon Mar 7 22:28:39 CET 2005


Help Nagios List,

I need to have log file of nagios (/etc/nagios/nagios.log) with date and hour...
actualy, i can see the following:
For example:
[1096384167] SERVICE ALERT: mailsweeper;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 1.73 ms
[1096384167] SERVICE ALERT: fw1;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 1.54 ms
[1096385027] SERVICE ALERT: achs-tam01;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 368.90 ms
....etc

Logically i can see the date/hour.. in the nagios page, for example:
[07-03-2005 16:57:50] SERVICE ALERT: Sitios_Web_Internet;PING;OK;SOFT;2;PING OK - Packet loss = 0%, RTA = 3.53 ms
[07-03-2005 16:56:50] SERVICE ALERT: Sitios_Web_Internet;PING;WARNING;SOFT;1;PING WARNING - Packet loss = 0%, RTA = 120.87 ms
[07-03-2005 16:53:50] SERVICE ALERT: Antivirus_Webshield;PING;OK;SOFT;2;PING OK - Packet 
..etc

But I need to send this data to database for analysis, for that I need the archive.
Could you help me, please?

Thak you list,
Julio Sandoval Sch.








"Este mensaje y cualquier archivo adjunto es confidencial y está destinado a la persona o entidad a quién ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgación, distribución o copia de su contenido."


More information about the Users mailing list