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,
Special Characters in service_description
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Special Characters in service_description
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)
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)