[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ]
Jeff Silverman wrote: > I found the snmpbrowser, but it's linked against a library that no > exists, apparently. So I created a symlink to libnetsnmp.so.10.0.1 > and that made it worse. The "snmpbrowser" package isn't our code, so we can't really comment. You'll need to talk to RedHat or the author about that. > I tried snmpwalk but it only partly works. > > [EMAIL PROTECTED] ~]$ snmpwalk -v 2c -Le -c public localhost .1.3.6.1.2.1 > SNMPv2-MIB::sysDescr.0 = STRING: Linux black 2.6.15-1.2054_FC5 #1 Tue > Mar 14 15:48:33 EST 2006 i686 > : > SNMPv2-MIB::sysORUpTime.8 = Timeticks: (20) 0:00:00.20 > HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (857648) 2:22:56.48 > HOST-RESOURCES-MIB::hrSystemUptime.0 = No more variables left in this > MIB View Please see the FAQ entry: I can see the system group, but nothing else. Why? This is definitely a problem with the access control settings - nothing to do with snmptranslate. > > May I conclude that because I'm getting something back from the snmpd > that my snmp client is working properly and that my problem is on the > snmpd (the agent) side? Yes. Got it in one. > > One of the things I put in there was some testing for disk space, CPU > load, and the size of a file, but I don't see those in the tree > produced by snmpwalk. Because the access control settings don't allow access to them. > I looked at the snmpd.conf file and I found and changed some things, > which made things worse. "Changed some things" isn't particularly helpful in knowing what's going wrong. If you're reporting problems, it's worth being as exact as possible. The more we have to guess, the more we won't bother :-) > At the end of the file is the following section. I commented out > the 6 directives and now, not only does the public community name no > longer work, but the cvv_ro name I created also fails. > [EMAIL PROTECTED] ~]# fgrep cvv /etc/snmp/snmpd.conf > rocommunity cvv_ro 192.168.2.0/24 > rwcommunity cvv_rw 192.168.2.0/24 Start as simple as possible. Create an snmpd.conf file containing *just* rocommunity cvv_test and run the agent using that. Can you see the system group ("snmpgetnext -v 2c -c cvv_test {agent_host} system") ? Can you see other groups ("snmpgetnext -v 2c -c cvv_test {agent_host} ip") ? If that works (and *only* if it works), add the 192.168.2.0/24 limitation, and try again. Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users