Can't find snmptrap.conf file

2013-07-09 Thread TUSHAR UPADHYAY
Hi: I'm using net-snmp 5.6.1.1 version , and can't find snmptrap.conf file. I checked using find and locate command, also at /usr/share/snmp. when I'm trying to run snmptrapd -f -Lo, its giving me an error: This receiver will *NOT* accept any incoming notifications. Any clue/suggestion? Thanks

net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread zhuyj
Hi, Attempting to create a new entry with a zero index fails silently. root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 .1.3.6.1.6.3.12.1.2.1.9.0.25 i 5 SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'..' = INTEGER: createAndWait(5) root@localhost:/root> snmpget -v 2c -c NETMAN 192.168.2.15

Re: net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread zhuyj
On 07/10/2013 10:34 AM, zhuyj wrote: > Hi, > > Attempting to create a new entry with a zero index fails silently. > > root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 > .1.3.6.1.6.3.12.1.2.1.9.0.25 i 5 > SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'..' = INTEGER: createAndWait(5) > root@loc

Re: net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread zhuyj
On 07/10/2013 10:44 AM, zhuyj wrote: > On 07/10/2013 10:34 AM, zhuyj wrote: >> Hi, >> >> Attempting to create a new entry with a zero index fails silently. >> >> root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 >> .1.3.6.1.6.3.12.1.2.1.9.0.25 i 5 >> SNMP-TARGET-MIB::snmpTargetAddrRowStat

Re: net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread zhuyj
On 07/10/2013 01:35 PM, zhuyj wrote: > On 07/10/2013 10:44 AM, zhuyj wrote: >> On 07/10/2013 10:34 AM, zhuyj wrote: >>> Hi, >>> >>> Attempting to create a new entry with a zero index fails silently. >>> >>> root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 >>> .1.3.6.1.6.3.12.1.2.1.9.0.25

Re: net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread Niels Baggesen
On Wed, Jul 10, 2013 at 10:34:05AM +0800, zhuyj wrote: > root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 > .1.3.6.1.6.3.12.1.2.1.9.0.25 i 5 > SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'..' = INTEGER: createAndWait(5) > root@localhost:/root> snmpget -v 2c -c NETMAN 192.168.2.15 > .1.3.6.

Re: net-snmp fails to create entries with a zero in the OID

2013-07-09 Thread zhuyj
On 07/10/2013 01:41 PM, Niels Baggesen wrote: On Wed, Jul 10, 2013 at 10:34:05AM +0800, zhuyj wrote: root@localhost:/root> snmpset -v 2c -c public 192.168.2.15 .1.3.6.1.6.3.12.1.2.1.9.0.25 i 5 SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'..' = INTEGER: createAndWait(5) root@localhost:/root> snmpget