Page 1 of 1

Special Characters in service_description

Posted: Mon Jun 22, 2020 9:43 am
by pad_geosys
Hi everybody,

I would like to know if it's possible to add special characters in the service_description?
I have a Windows Service named like that "[XXXXX] xxxxxx (Instance: 1)" and the parenthesis can't be used and I need them.

Is it possible and how can I do that?

If it's not possible, I have to redo a lot of thing and I don't want it ;)

Thanks,

Re: Special Characters in service_description

Posted: Mon Jul 06, 2020 3:32 pm
by scottwilkerson
Unfortunately these are listed in the default illegal_object_name_chars in the nagios.cfg, and for good reason...

If you remove them, be careful as if the $HOSTNAME$ macro is used in commands, it will attempt to run whatever is in the () in a subshell (potential security breech)