Use special character "@" in nsclient?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Use special character "@" in nsclient?

Post by dimsum »

Hi Support,

I got message when I adding server windows monitoring "Password contains invalid characters." in agent password field. How can I use a "@" character? it's possible to skip this check? because my client they use a "@". and they have Nagios core isn't a problem with more 100 nodes by Nagios core. Now I have a poc Nagios XI and they won't happy to change an old password.

Please advise.

Thank you.
You do not have the required permissions to view the files attached to this post.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Use special character "@" in nsclient?

Post by tacolover101 »

you may need to encapsulate the variable in single quotes, such as 'p@ssword'. if it's working in Core fine, I assume it's just manipulation somewhere.

the other option is placing it in the resources file - https://assets.nagios.com/downloads/nag ... Macros.pdf
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Use special character "@" in nsclient?

Post by tgriep »

Thanks @tacolover101 for the help.
I took a look at the wizard and it considers the @ as a special character and you would have to create a user macro and use that when running the wizard that the document @tacolover101 posted.
Once that is done, you should be able to run the wizard.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Use special character "@" in nsclient?

Post by dimsum »

Thanks all, You're my heroes.

I did configured user macro and it's worked fine.

Thanks again.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Use special character "@" in nsclient?

Post by tacolover101 »

dimsum wrote:Thanks all, You're my heroes.

I did configured user macro and it's worked fine.

Thanks again.
no problemo. :ugeek:
Locked