Nagios log

Marc Powell marc at ena.com
Mon Mar 7 21:35:45 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Sandoval, Julio
> Sent: Monday, March 07, 2005 3:29 PM
> To: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Nagios log
> 
> 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?

Is this what you're looking for?

http://www.nagios.org/faqs/viewfaq.php?faq_id=70&expand=false&showdesc=t
rue

--
Marc 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list