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
setting debug level & verbosity
Re: setting debug level & verbosity
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.
/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.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: setting debug level & verbosity
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
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
Good deal, let us know if you have additional questions