Re: send_v2trap not working w/ snmp-target-mib
bigschwansb <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Dave, appreciate all your help!!! On Tue, Jan 27, 2009 at 6:20 AM, Dave Shield <[email protected]>wrote: > 2009/1/26 bigschwansb <[email protected]>: > > I found the 3rd party server is also attempting to delete the > "TargetAddr, > > Notify, and TargetParam" tables in one shot, unfortunately this is > failing > > because they are including a destroy for an "SNMP-COMMUNITY-MIB" in this > set > > attempt. This module does not appear to exist in 5.4.2? > > Correct. > > We don't actually use the Community MIB - we've got our own private > equivalent > (developed shortly before the Community MIB was defined, and covering > slightly > different functionality, which is why we've never switched). > > > > I've been able to reproduce the destroy failure with snmpset using > > something like this, removing snmpCommunityStatus portion works, > > leaving the line in fails... > > That makes sense. > SNMP SET requests are meant to be all-or-nothing. > If any one element fails, the whole request should fail. > > > > > On another thread it looks like you had done some work towards > implementing > > the Community Mib, but may not be ready yet? > > There's no immediate plans to support the Community MIB - no. > > > > In the meaintime any ideas on a > > quick fix to disregard the set on the snmpCommunityStatus so the other > > destroys take affect? I do not have access to the 3rd party NMS :-(. > > The best approach would be to drop this varbind from the request. > But if you don't have access to the NMS, then this may not be an option. > > A quick-n-dirty workaround might be to "implement" the Community MIB. > Try a simple "pass" script, covering the whole of the snmpCommunityTable, > which simply returns success for any request, regardless of OID. > > That might confuse anything that tried to walk the table, but should > at least allow the deletion requests to work. > > Dave > ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users