Page 1 of 1

Getting warning while running nagios command [solved]

Posted: Mon Jul 09, 2012 4:16 am
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

Re: Getting warning while running nagios command

Posted: Mon Jul 09, 2012 9:47 am
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.

Re: Getting warning while running nagios command [solved]

Posted: Thu Jul 12, 2012 6:29 am
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

Re: Getting warning while running nagios command [solved]

Posted: Fri Jul 13, 2012 10:09 am
by agriffin
Glad I could help!