nagios log (daily, hourly...) help please

Marc Powell marc at ena.com
Mon Apr 11 17:27:34 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Jessica Holle
> Sent: Monday, April 11, 2005 2:41 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios log (daily, hourly...) help please
> 
> A few days ago I've asked here too, but I don't get an answer.
> 
> My problem is the regularly log.
> This values are set in my nagios.cfg.
> 
> log_rotation_method=h
> log_archive_path=/usr/local/nagios/var/archives
> use_syslog=1
> log_notifications=1
> log_service_retries=1
> log_host_retries=1
> log_event_handlers=1
> log_initial_states=1
> log_external_commands=1
> log_passive_service_checks=1
> 

Very verbose.

> But my log looks so:
> 
> [1113204593] Nagios 1.2 starting... (PID=11027)
> [1113204593] Warning: Could not set effective GID=1000
> [1113204753] HOST ALERT: rzvlabwks;UP;HARD;0;(Host assumed to be up)
> [1113204753] SERVICE ALERT: rzvlabwks;PING;OK;HARD;1;OK -
172.16.1.200:
> rta
> 0.050ms, lost 0%
> [1113204903] HOST ALERT: rzvnotes1;UP;HARD;0;(Host assumed to be up)
> [1113204903] SERVICE ALERT: rzvnotes1;PING;OK;HARD;1;OK - 172.16.1.19:
rta
> 0.985ms, lost 0%

As expected...
 
> 
> I've two this I test, this is the log, but now there are no more
entrys. I
> think all checks should be loged but nothing happend. only when the
log
> rotate there is an entry an nothing else.

Your assumption is incorrect.
 
> Why are no more entrys? Can anybody help me? Please!

Nagios does not log every single check, only state changes and the
specific options in nagios.cfg above as those are the really interesting
items. Logging every check wastes space and would unnecessarily degrade
the performance of the reporting tools.

--
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