I just added some servers with Net-SNMP and everything added successfully, but when I click list resources I get nothing. Any advice?? Thanks in advance
In almost all cases the issue is with settings defined in the snmpd.conf file. Most notably the view restrictions which restrict which OIDs are queryable to the system MIB only. Orion leverages the HOST-RESOURCE MIB among others depending on the module. I recommend following the directions below to properly configure SNMP on your Linux server. Alternatively you can replace your snmpd.conf file with the one attached. (ensure you rename it from "snmpd.conf.txt" to "snmpd.conf", place it in the properly directory (usually /etc/snmp/) and restart the SNMP daemon on the server. (service snmpd restart)
Configure SNMP
(1) Edit file /etc/snmp/snmpd.conf using text editor:
# vi /etc/snmp/snmpd.conf
Change/Modify line(s) as follows:
Find following Line:
com2sec notConfigUser default public
Replace with (make sure you replace 192.168.0.0/24 replace with your network IPs) following lines:
com2sec local localhost publiccom2sec mynetwork 192.168.0.0/24 public
Scroll down bit and change:
Find Lines:
group notConfigGroup v1 notConfigUsergroup notConfigGroup v2c notConfigUser
Replace with:
group MyRWGroup v1 localgroup MyRWGroup v2c localgroup MyRWGroup usm localgroup MyROGroup v1 mynetworkgroup MyROGroup v2c mynetworkgroup MyROGroup usm mynetwork
Again scroll down bit and locate following line:
Find line:
view systemview included system
view all included .1 80
Again scroll down bit and change:
access notConfigGroup "" any noauth exact systemview none none
access MyROGroup "" any noauth exact all none noneaccess MyRWGroup "" any noauth exact all all none
Find lines:
syslocation Unknown (edit /etc/snmp/snmpd.conf)syscontact Root (configure /etc/snmp/snmp.local.conf)
Replace with (make sure you supply appropriate values):
syslocation Locationsyscontact Contact Information
You might want to check the net-snmp version and update it. I had a whole bunch of Redhat servers which had SNMP configured properly and would pass the SNMP test but would show you absolutely nothing when you moved to listing the resources. Updated the net-snmp package and they started working fine. I don't remember what version I was using initially though.
Also check whether this is not your case.
please use the SNMP Mib Walk and confirm the SNMP you have configured have access to all the MIB level.
http://knowledgebase.solarwinds.com/kb/questions/3145/SolarWinds+SNMP+Walk%3A+A+new+tool+for+collecting+SNMP+MIB+walks
Also use this tools (Trender ) to see if you are able to see the resources.
http://www.plixer.com/products/netflow-sflow/flowalyzer-netflow-sflow-tester.php
thanks a lot... was able to discover the resources through this...