Page 1 of 1
Password Issue
Posted: Wed Mar 15, 2017 2:42 pm
by rfransix
Hi, using the ldap wizard I've created a service to connect an ldap instance, however, Nagios XI is complaining because the password contains a "!" exclamation point. Any way to escape it. Thank you.
Re: Password Issue
Posted: Wed Mar 15, 2017 3:39 pm
by avandemore
One method is to use the resource.cfg discussed here:
https://assets.nagios.com/downloads/nag ... Macros.pdf
You can also do it by properly escaping from the service/command, but the resource.cfg method is easier as long as you don't have to do it for a lot of entries.
Re: Password Issue
Posted: Thu Mar 16, 2017 2:47 pm
by rfransix
And properly escaping with what..thanks.
Re: Password Issue
Posted: Thu Mar 16, 2017 5:48 pm
by dwhitfield
Is there a reason the resource.cfg doesn't work for you?
you could define a one-off check that doesn't pass this information as an arugment, but includes it on the remote side as a hard-coded option.
To be more specific we'll need to know how you have things set up.