Debugging Nagios?

Brian A. Seklecki lavalamp at spiritual-machines.org
Wed Jun 13 18:40:29 CEST 2007


What a great question! Well there's nagios.log in /var/spool/nagios,



use_syslog=1


log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_checks=1
log_notifications=1
log_service_retries=1

But getting debug out the schedule probably requires a debug build of
the binary.  

~~BAS

PS It could be worse, you could be trying to debug a plugin/module.


On Tue, 2007-06-12 at 18:57 -0400, Bonaparte, Klaus wrote:
> ou debug Nagios to determine why it is no longer running any checks?
> 
> I see checks scheduled in the queue, but then time passes and they get
> removed from the top of the queue as if they were run but their status
> never changes, nothing is logged in nagios.log or syslogs, and once in
> a while you can see nagios processes running?
> 
>  
> 
> Any help? Debug flags or common things to look for?
> 
-- 
Brian A. Seklecki <bseklecki at collaborativefusion.com>
Collaborative Fusion, Inc.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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