Getting warning while running nagios command [solved]

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Getting warning while running nagios command [solved]

Post by msachikanta »

Hi,

when I am running the below command in root mode in Nagios server i am getting the below warning message.

command - /apps/tools/nagios/bin/nagios -v /apps/tools/nagios/etc/nagios.cfg

Warning Message:-
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Warning: Nothing specified for illegal_macro_output_chars variable!

Could someone please help me to resolve the warning message..

Thanks in advance.

Regards,
Sachikanta
Last edited by msachikanta on Thu Jul 12, 2012 6:29 am, edited 1 time in total.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Getting warning while running nagios command

Post by agriffin »

Edit the line in nagios.cfg that begins with illegal_macro_output_chars to look like this:

Code: Select all

illegal_macro_output_chars=`~$&|'"<>
If you don't have a line like that, add it.
msachikanta
Posts: 58
Joined: Tue Jan 03, 2012 2:35 am

Re: Getting warning while running nagios command [solved]

Post by msachikanta »

Thanks for your help..

That particular line was not there in nagios.cfg file, after i added it I am not getting the warning message.

Regards,
Sachikanta
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Getting warning while running nagios command [solved]

Post by agriffin »

Glad I could help!
Locked