snmpwalk: (The supplied password is too short.)

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jlarimer
Posts: 4
Joined: Tue Apr 03, 2018 2:53 pm

snmpwalk: (The supplied password is too short.)

Post by jlarimer »

Let me start by saying I am a total noob to both Nagios and SNMP monitoring so I apologize if I ask some pretty basic questions.

I am trying to configure Nagios XI to monitor a couple Synology HA clusters. We are running Nagios XI on a CentOS 6.8 64bit VMware virtual machine. More than that I can't tell you since I did not set it up and the admin who did isn't available at the moment. I have imported the MIBs and the 3rd party plugin check_snmp_synology and so far I have been unable to get anything to work. From the command line I have navigated to /usr/local/nagios/libexec and run the command "./check_snmp_synology -u admin username -p password -h the host IP address with port number -v". It returns the message "snmpwalk: (The supplied password is too short.)". I have tried running it with quotes around the password as well since the passwords have multiple special characters. One includes the characters @$ with all the rest being alpha numeric.

Any ideas? I need to get this working but I am stumped at the moment.

Thanks
kyang

Re: snmpwalk: (The supplied password is too short.)

Post by kyang »

Hello jlarimer,

Since you do have a special character $@, the shell interprets that password as a variable probably thus leading to an empty string of some sort.
Which is probably why you are getting that error. --> (The supplied password is too short.)

Try running through this doc to resolve this error. You'll have to try escaping those special characters.
https://support.nagios.com/kb/article.php?id=580

Also note: that defining this password in the /usr/local/nagios/etc/resource.cfg, will only work if you use the macro inside of the Nagios UI.
https://assets.nagios.com/downloads/nag ... Macros.pdf

Let me know if this helps!
jlarimer
Posts: 4
Joined: Tue Apr 03, 2018 2:53 pm

Re: snmpwalk: (The supplied password is too short.)

Post by jlarimer »

Thank you, that did help a little. After escaping out the characters I received the error

"CRITICAL - Problem with SNMP request, check user/password/host"

After that I changed the password to something simple "TestingOnly" for testing and I got the same error. I have verified, ad nauseam, that the SNMPv3 service is enabled on the Synology devices. Any other ideas?


Thanks for the help.
jlarimer
Posts: 4
Joined: Tue Apr 03, 2018 2:53 pm

Re: snmpwalk: (The supplied password is too short.)

Post by jlarimer »

Scratch that last update. I just tried it again, I removed the port number after the IP address and it responded with all the information I was looking for.
kyang

Re: snmpwalk: (The supplied password is too short.)

Post by kyang »

Sounds good!

Glad you figured it out!

Are we okay to close this thread?
jlarimer
Posts: 4
Joined: Tue Apr 03, 2018 2:53 pm

Re: snmpwalk: (The supplied password is too short.)

Post by jlarimer »

Yes, and thank you again for your help!
Locked