June 30, 201411 yr 1st very your server SNMP is working (check to see if you configured it correctly) sudo /usr/bin/snmpwalk -v 1 -c public localhost IP-MIB::ipAdEntIfIndex If you don't get a response, then check your config. Below is an example of a basic config you can use as reference com2sec notConfigUser default publicgroup notConfigGroup v1 notConfigUsergroup notConfigGroup v2c notConfigUserview systemview included systemaccess notConfigGroup "" any noauth exact systemview none nonesyslocation Unknown (edit /etc/snmp/snmpd.conf)syscontact Root (configure /etc/snmp/snmp.local.conf) Here is a more locked down to your network version com2sec local localhost publiccom2sec mynetwork 192.168.0.0/24 publicgroup MyRWGroup v1 localgroup MyRWGroup v2c localgroup MyRWGroup usm localgroup MyROGroup v1 mynetworkgroup MyROGroup v2c mynetworkgroup MyROGroup usm mynetworkview all included .1 80access MyROGroup "" any noauth exact all none noneaccess MyRWGroup "" any noauth exact all all nonesyslocation Linux (RH3_UP2), Home Linux Router.syscontact YourNameHere Once you make the necessary changes to your /etc/snmpd/snmpd.conf file go ahead and restart snmpd services sudo /etc/init.d/snmpd restart
Create an account or sign in to comment