Notification trap type problem

2019-12-01 Thread Klemen Sladic
Hi. I have a question about notification (trap) type since I am getting "Wrong Type (should be INTEGER)". For example, let's say this is in my MIB: Object definition: myTrigger OBJECT-TYPE SYNTAX INTEGER { down1(10), up1(11), down2(20), up2(21) } MAX-ACCESS read-write STATUS

Re: Re: snmptrap v3 how to specify source IP

2019-05-23 Thread Klemen Sladic
authPriv -a SHA -A usertest -x > AES -X usertest -s 10.2.24.121 10.2.24.18 84100 …… ". > May I ask you how the snmptrap chooses the network interface by it self? > Is it polling all the enable ports? > > Regards > > At 2019-05-23 15:54:28, "Klemen Sladic"

Re: snmptrap v3 how to specify source IP

2019-05-23 Thread Klemen Sladic
Hi. Any traffic originating from snmpd will have src IP of outgoing network interface. >From my experience "clientaddr" helps for replies generated by snmpd. For example, if you have multiple interfaces and "clientaddr" is set, any snmpd response, like response to snmpget, snmpwalk etc. will have

Re: netsnmp 5.7.1

2018-10-26 Thread Klemen Sladic
Hi. How is your trapsink configured? RegK On Sat, Oct 27, 2018, 08:30 LIU Chris (CA) wrote: > I am using netsnmp 5.7.1, does it support v3 trap? > > From wireshark, it seems sending v2 trap > > > > > > With Best Regards, > > > > Chris LIU > > > Thales Canada, Transportation Solutions > 105 Moat

mib2c: Use of uninitialized value for read-write table elements

2012-08-21 Thread Klemen Sladic
Hi. I have added a new table with read-write elements into my MIB and mib2c reports the following "errors" : $ env MIBS="+./MY-MIB.mib" mib2c -c mib2c.mfd.conf myTable ... ... writing to defaults/table-myTable.m2d Starting MFD code generation... writing to myTable.h | +-> Processing table myTable