Password Issue
Password Issue
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.
-
avandemore
- Posts: 1597
- Joined: Tue Sep 27, 2016 4:57 pm
Re: Password Issue
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.
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.
Previous Nagios employee
Re: Password Issue
And properly escaping with what..thanks.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Password Issue
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.
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.