Thanks Dave! This debug advice was a great help. I found the NMS was not
setting/adding the tag to the Notify table correctly just the targetAddr. We
found a work around for the adding but not for deleting...

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?
I've been able to reproduce the destroy failure  with snmpset using
something like this, removing snmpCommunityStatus portion works, leaving the
line in fails...

snmpset -c $COMMUNITY -v 2c $HOST\
    snmpNotifyRowStatus.\'$NAME\' i destroy\
    snmpTargetParamsRowStatus.\'$NAME\' i destroy\
    snmpCommunityStatus.\'$NAME\' i destroy\      #causes entire set to
fail#
    snmpTargetAddrRowStatus.\'$NAME\' i destroy

./del_notify.sh -re 10.2.50.234 11.10.2.10.135 private
deleting entries like EMS does

Deleting traphost for tag: 11.10.2.10.135

Error in packet.
Reason: notWritable (That object does not support modification)
Failed object: SNMP-COMMUNITY-MIB::snmpCommunityStatus.'11.10.2.10.135'



On another thread it looks like you had done some work towards implementing
the Community Mib, but may not be ready yet? 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 :-(.

Thank you very much for your time !








On Mon, Jan 12, 2009 at 2:04 AM, Dave Shield <[email protected]>wrote:

> 2009/1/12 bigschwansb <[email protected]>:
> > trap2sink entries added in snmpd.conf work fine and traps are sent w/o
> > problem, however the same traps are not sent to entries added via the
> > target-mib "targetAddr"/"targetParams".
>
> What are the exact command(s) you are using to add these new entries?
> Are you adding an entry to the snmpNotifyTable?
>
>
> What do the commands:
>    snmptable  ....   snmpTargetAddrTable
>    snmptable  ....   snmpTargetParamsTable
>    snmptable  ....   snmpNotifyTable
> show
>
>   a)  Before setting up the new target?
>   b)  After setting up the new target?
>
> 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

Reply via email to