Page 1 of 1

setting debug level & verbosity

Posted: Wed Sep 07, 2011 10:42 am
by lyle
Our host_notification_commands and service_notification_commands run in-house perl scripts and pass the values of several macros as parameters. In this way, we use Nagios to open and close tickets in our Metrix call management system. I'd like to be able to see these commands (with the parameter values used) go by in the log or debug file when issued.

In Nagios Core, what debug_level and debug_verbosity would you think I might need?

In XI, where do I set these parameters?

Thanks....Lyle

Re: setting debug level & verbosity

Posted: Wed Sep 07, 2011 11:00 am
by nscott
Nagios XI does not have a GUI for these options so you will have to manually edit it in your nagios.cfg at

/usr/local/nagios/etc/nagios.cfg

I would suggest the debug level to 49 and the debug_verbosity to 2.

debug level 49 will log Notification Information, Host/Service Check Information and function enter/exit information.

That should give you lots of information to use.

Re: setting debug level & verbosity

Posted: Wed Sep 07, 2011 6:48 pm
by lyle
That got me going....Thanks

By playing around, I discovered I could get what I wanted with debug_level=32, I got what I needed and kept the debug log from filling up.

Thanks again....Lyle

Re: setting debug level & verbosity

Posted: Thu Sep 08, 2011 10:00 am
by mguthrie
Good deal, let us know if you have additional questions