What's new

SNMP configuration

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

maddy_in65

New Around Here
I am using Asus AC66u with firmware 380.59, and trying to use SNMP for cacti on it but cacti doesn't recognize it. I have spare raspberry PI, so i installed cacti on it to monitor devices in network. I tried to configure cacti with SNMP but it showing SNMP authentication error. I am using system name as SNMP username in cacti and SNMP get/set community as password in cacti but it wont work.
Am i doing something wrong, please help.
 
For my SNMP configuration I have:

SNMP Get Community: readpw
SNMP Set Community: writepw
SNMPv3 Authentication Type: NONE
SNMPv3 Authentication Password: <blank>
SNMPv3 Privacy Type: NONE
SNMPv3 Privacy Password: <blank>

You should be able to put the Get and Set community strings into Cacti, and make sure it is using SNMPv1 or SNMPv2, and it should work fine.

The SNMP password is not sent securely, but in my home network, that is OK.
 
For my SNMP configuration I have:

SNMP Get Community: readpw
SNMP Set Community: writepw
SNMPv3 Authentication Type: NONE
SNMPv3 Authentication Password: <blank>
SNMPv3 Privacy Type: NONE
SNMPv3 Privacy Password: <blank>

You should be able to put the Get and Set community strings into Cacti, and make sure it is using SNMPv1 or SNMPv2, and it should work fine.

The SNMP password is not sent securely, but in my home network, that is OK.

Thanks, I tried these settings but it wont work. On Asuswrt merlin SNMP page i put these settings and cacti i didnt get option to put these settings uing SNMPv1 or SNMPv2. I put these settings under SNMPv3 but i am still getting error "SNMP error".
 
Make sure that Net-SNMP is running on RMerlin - and then to keep things simple -

ROCommunity <communityname>

Don't really need anything else... if you're LAN only, then SNMP v1/v2 is more than enough - just don't use public as a general community name - but on some devices you might not have a choice to configure...

Done...

And then from your Pi - as long as you have snmp installed... depending on how your Pi linux install is, might have to add sudo in front..

snmpwalk -c <communityname> -v1 <target>

example

snmpwalk -c public -v1 192.168.1.1
 
And a couple of tips - make sure you're not sharing snmp on the WAN side if you've been tweaking IPTables - the default should be ok, but you can always add the 192.168.1.0/24 to the ROCommunity and that will limit queries only to that subnet

Check system processes/syslog to debug that snmpd is running (snmpd is the agent that responds to snmp from cacti)
 
Thanks, I tried these settings but it wont work. On Asuswrt merlin SNMP page i put these settings and cacti i didnt get option to put these settings uing SNMPv1 or SNMPv2. I put these settings under SNMPv3 but i am still getting error "SNMP error".

If you are putting these settings into Cacti under SNMPv3, it won't work. You'll need to find a way to get these into the SNMPv1 or v2 settings area, and make sure v3 settings area is blank.

[I'd check on a machine with Cacti, but I had a hardware failure on that server on Friday...]
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top