Re: MIB

2009-03-12 Thread Dave Shield
2009/3/12 Tanisha Kashyap : > 1) Do SMIv1 and v2 refer to any specific version of the SNMP protocols. No. As Pranesh says, SMIv1 is obsolete. Forget about it. Write your MIB using SMIv2. It can still be used with SNMPv1, SNMPv2c or SNMPv3 > 2) What is MIB-I and MIB-II? Are these also SNMP ve

RE: MIB

2009-03-12 Thread Tanisha Kashyap
Thanks. Also I have some doubt about the IMPORTS clause i.e. what should be imported? "No task is so humble that it does not offer an outlet for individuality" -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursda

RE: MIB

2009-03-12 Thread Tanisha Kashyap
Thanks Dave. The reason for my confusion regarding the SMI being specific to SNMP Version was the text in the FROM clause. As per my understanding from your earlier reply SNMPv2-SMI implies SMIv2 independent of the SNMP Version. "No task is so humble that it does not offer an outlet for indivi

SNMP query!!

2009-03-12 Thread Upakul Barkakaty
Hi all, I am doing a project on SNMPv3. I was going through certain RFCs (3411,3412,3417), wanted to query if the < net-snmp-5.4.2> package is compliant with these RFCs? Could someone please tell me if that is the case, or if not, could you please let me know which features or points are missing?

SNMP - RFCs(3411,3412,3417) related query!!

2009-03-12 Thread Upakul Barkakaty
Hi all, I am doing a project on SNMPv3. I was going through certain RFCs (3411,3412,3417), wanted to query if the < net-snmp-5.4.2> package is compliant with these RFCs? Could someone please tell me if that is the case, or if not, could you please let me know which features or points are missing?

Re: SNMP query!!

2009-03-12 Thread Dave Shield
2009/3/12 Upakul Barkakaty : > I wanted to query if the < net-snmp-5.4.2> package is > compliant with these RFCs? The Net-SNMP package supports SNMPv3, so yes - it should be compliant with these RFCs. Dave -- Apps built

Re: MIB

2009-03-12 Thread Dave Shield
2009/3/12 Tanisha Kashyap : > Also I have some doubt about the IMPORTS clause i.e. what should be imported? Short answer: everything you refer to in the MIB file. Longer answer: There are two general sets of definition that you would typically IMPORT. The first are "standard" definitions used

Re: SNMP query!!

2009-03-12 Thread Dave Shield
2009/3/12 Upakul Barkakaty : > I have another query. Has there been any major changes between > and with respect to these RFCs? In terms of SNMPv3 support - no. > Or is it the case that there has been mostly bug fixes between > > and now? Bug fixes, and improvements to the information MIBs.

Re: SNMP query!!

2009-03-12 Thread Upakul Barkakaty
Dave, Thanks a lot for your reply. Appreciate it. I have another query. Has there been any major changes between and with respect to these RFCs? Or is it the case that there has been mostly bug fixes between and now? I am working on currently. Would you suugest that I move to the current ver

RE: SMUX token error

2009-03-12 Thread Kuczynski, Edward
Thanks Dave I ran net-snmp-config --configure-options and here is the output. It looks like it was built with the smux option; third line from bottom, (debian install). Does that look correct?? e...@n3b0:~$ net-snmp-config --configure-options '--prefix=/usr' '--sysconfdir=/etc' '--mandir=/u

net-snmp proxy configuration

2009-03-12 Thread Young, Alistair
Hello all, I am trying to configure the net-snmp to use another agent for certain requests. I've added a line like this to my snmpd.conf file and have restarted the daemon: proxy -v 3 -lauthNoPriv -aMD5 -Apassword -uuser agenthost .1.3.6.etc I can successfully query the second agent directly

Re: net-snmp proxy configuration

2009-03-12 Thread Dave Shield
2009/3/12 Young, Alistair : > I've tried specifying the second agent's engine ID in > snmpd.conf but this didn't appear to help. That would be my first approach, certainly. How exactly did you try to do this? Dave -

Re: SMUX token error

2009-03-12 Thread Dave Shield
2009/3/12 Kuczynski, Edward : > Thanks Dave I ran net-snmp-config --configure-options and here is the output. >  It looks like it was built with the smux option; third line from bottom,   > (debian install). > > Does that look correct?? Looks OK - yes. What do you see if you start the agent usin

Re: net-snmp proxy configuration

2009-03-12 Thread Dave Shield
2009/3/12 Young, Alistair : > Attaching a packet sniffer it looks like, when the first request is > sent, there's a whole series of exchanges between net-snmp and my other > agent (over a period of around 4 seconds), which culminates in my other > agent returning the requested value. That sounds q

RE: net-snmp proxy configuration

2009-03-12 Thread Young, Alistair
-Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield > >  However, by this time, the snmpget request > > has returned "NULL".  The next request is fine (and seems to only > > involve a single get/respon

RE: net-snmp proxy configuration

2009-03-12 Thread Young, Alistair
Hi Dave, I added a '-e' flag to the proxy line in snmpd.conf: proxy -e 80001370010A2A -v 3 ...as before... However, I've just realised that regardless of whether or not the engine ID is specified, it's only my /first/ request that fails. Subsequent requests are fine. Obviously in my previo

RE: net-snmp proxy configuration

2009-03-12 Thread Mike Ayers
> From: Young, Alistair [mailto:alistair.yo...@logica.com] > Sent: Thursday, March 12, 2009 9:50 AM > This is not such a big deal (there's a pretty simple > workaround), but it > does seem curious. For SNMP monitoring in general, a lost packet or two is nothing to worry about. It's to

NetSNMP + Visual Studio 2008

2009-03-12 Thread Alfonso Urdaneta
Apologies for posting what is quite possibly a FAQ, but the mailing list archives don't seem to have a search available. 1. Is it possible to write applications using Visual Studio 2008 with NetSNMP? 2. If yes, is it possible to integrat NetSNMP into a /clr (not pure obviously) application? Thank

RE: NetSNMP + Visual Studio 2008

2009-03-12 Thread Nick Bartolotti
Hi Alfonso, I've done this. For my need I wrote an app the remotely reboots printers by writing a value to a private MIB based on the examples for getting and setting a MIB value. Create the project, in the properties menu for the project point the "additional include folder" to the \net-snmp\

Re: Compiling a agent extension under Linux

2009-03-12 Thread Rodolfo Leffa
Thanks Dave. I've compiled it, but i'm getting no answers from the agent to the requisitions to my module. Other stuff like sysUpTime, for example, works! My question is: do I have to put some include or initialization code somewhere to my module to work?? Like I've done in mib_modules_init.h and

RE: NetSNMP + Visual Studio 2008

2009-03-12 Thread Alfonso Urdaneta
> I've done this. For my need I wrote an app the remotely > reboots printers by writing a value to a private MIB based > on the examples for getting and setting a MIB value. > > Create the project, in the properties menu for the project > point the "additional include folder" to the \net-snmp

RE: NetSNMP + Visual Studio 2008

2009-03-12 Thread Nick Bartolotti
I installed the binary distribution. Thanks, Nick Bartolotti Sr. Software Engineer Pharos Systems International From: Alfonso Urdaneta [mailto:aurdan...@indra-systems.com] Sent: Thu 3/12/2009 8:18 PM To: Nick Bartolotti; net-snmp-users@lists.sourceforge.net Sub