Characters in Object Definitions?

Gerd Mueller gmueller at netways.de
Thu Nov 23 11:31:18 CET 2006


Hi,

you will find them inside nagios.cfg:

# ILLEGAL OBJECT NAME CHARACTERS
# This option allows you to specify illegal characters that cannot
# be used in host names, service descriptions, or names of other
# object types.

illegal_object_name_chars=`~!$%^&*|'"<>?,()=

Cheers,

Gerd

nagios-users at lists.sourceforge.net
Am Donnerstag, den 23.11.2006, 10:20 +0000 schrieb Hari Sekhon:
> Hi all,
> 
>    I'm trying to use brackets in service description eg
> 
> service_description             FTP (Public)
> 
> but this doesn't work. I have noticed that square brackets do works.
> 
> Is there a list somewhere that tells me what I can and can't use in the 
> object definitions?
> I've searched the FAQs without luck. I can make do with square brackets 
> but I'd really love to know what I can and can't get away with in the 
> definitions
> 
> I have tried escaping the brackets with slashes and also putting single 
> quotes thus: 'FTP (Public)' but I still get an error complaining about 
> illegal characters.
> 
> Thanks
> 
> 
> Hari
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list