Page 1 of 1

Special character in SNMP v3 authentication

Posted: Tue May 05, 2015 9:45 am
by brudnick
I am using the Network Switch Wizard ver. 2.1.7

We have an authentication password that starts with an exclamation point (!). It works in capturing the ports but when it creates the services, the ! makes it think it is on to the next argument and throws off the status check. The Bandwidth check work just fine (see image).
snmpv3.PNG
In CCM I can add back the ! and it works with the Test Check Command button, but it won't let me save. When I do, it removes the ! and adds anything after that to the $ARG3$ section. is there a way to get this fixed on the wizard or on CCM? I have a whole bunch of switches I need to add soon and will not want to have to edit every one by hand in CCM after I run the wizard.

Re: Special character in SNMP v3 authentication

Posted: Tue May 05, 2015 9:52 am
by brudnick
I am on XI version 2014R2.7

Re: Special character in SNMP v3 authentication

Posted: Tue May 05, 2015 11:38 am
by abrist
As "!" is an illegal character in the nagios core configs, you will need to use a custom $USERn$ macro. See the following doc for more details:
http://assets.nagios.com/downloads/nagi ... Macros.pdf

Re: Special character in SNMP v3 authentication

Posted: Wed May 06, 2015 10:15 am
by brudnick
Thank you abrist!!! You have been very helpful.

Creating a macro out of the pw worked for us in the wizard and service check.

You may close this thread.

-Brian