Re: can not remove netSnmpObjects from mib walk

2009-03-06 Thread Dave Shield
2009/3/5 Joan Landry : > However, I am still getting the netSnmpNotifications.3 trap when a hup is > issued to snmpd service. Yes. > Any ideas how to stop this trap? Remove 'trapsink' (or similar) lines from your snmpd.conf file ? :-) If you want to disable *just* this trap (but keep the col

Re: OID RETRIVAL in form of string (SNMPV1)

2009-03-06 Thread Dave Shield
2009/3/6 anand chandragandhi : > I want to get the oid alone from response packet in string format > eg:1.3.6.1.2.1.1.1.0 Use the '-On' flag to the SNMP commands. > Please let me know if any API is available in netsnmp to get the oid in > above format. If you are working with the C libraries, t

snmpget between systems

2009-03-06 Thread Vinod Nanjaiah
Hi! I am trying snmpget between two systems. If I use the OID I get the correct value, but if I use the name (myDvrName.0) it throws up an error. snmpget -v1 -cpublic 172.22.65.58 1.3.6.1.3.75.1.1.0 returns SNMPv2-SMI::experimental.75.1.1.0 = STRING: "Hello World" But, snmpget -m all -v1 -cpubl

snmpget between systems

2009-03-06 Thread Vinod Nanjaiah
Hi! I am trying snmpget between two systems. If I use the OID I get the correct value, but if I use the name (myDvrName.0) it throws up an error. snmpget -v1 -cpublic 172.22.65.58 1.3.6.1.3.75.1.1.0 returns SNMPv2-SMI::experimental.75.1.1.0 = STRING: "Hello World" But, snmpget -m all -v1 -cpubl

Re: snmpget between systems

2009-03-06 Thread Dave Shield
2009/3/6 Vinod Nanjaiah : > If I use the OID I get the correct value, but if I use the name > (myDvrName.0) it throws up an error. > > snmpget -v1 -cpublic 172.22.65.58  1.3.6.1.3.75.1.1.0 > > returns > > SNMPv2-SMI::experimental.75.1.1.0 = STRING: "Hello World" Which implies that the MIB defining

RE: snmpget between systems

2009-03-06 Thread Vinod Nanjaiah
-Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, March 06, 2009 8:14 PM To: Vinod Nanjaiah Cc: net-snmp-users@lists.sourceforge.net Subject: Re: snmpget between systems 2009/3/6 Vinod Nanjaiah : > If I use the

Re: snmpget between systems

2009-03-06 Thread Dave Shield
2009/3/6 Vinod Nanjaiah : > Well, it works if I copy the MIB to the system from where I am doing snmpget. > But is it supposed to be like that - I mean should the MIBs be in sync on the > manager and the agent? On the manager. The agent doesn't typically need the MIB file. >>>There's more inform