Password Issue

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rfransix
Posts: 7
Joined: Fri Dec 02, 2016 6:59 pm

Password Issue

Post 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.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: Password Issue

Post 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.
Previous Nagios employee
rfransix
Posts: 7
Joined: Fri Dec 02, 2016 6:59 pm

Re: Password Issue

Post by rfransix »

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

Post 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.
Locked