setting debug level & verbosity

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

setting debug level & verbosity

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: setting debug level & verbosity

Post 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.
Nicholas Scott
Former Nagios employee
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: setting debug level & verbosity

Post 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
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: setting debug level & verbosity

Post by mguthrie »

Good deal, let us know if you have additional questions
Locked