Re: [mib2c .c code] code for MODE_SET_ACTION

2008-05-15 Thread Wes Hardaker
> On Thu, 15 May 2008 16:59:19 +, CHAHIBI Samira <[EMAIL PROTECTED]> > said: CS> Hi all, CS> I have run mib2c and obtained my .c and .h files. I have one single RW scalar variable named "id". I I have completed the MODE_GET case by giving the pointor and lenght of "id". The problem

Re: Net-SNMP - snmptrap command

2008-05-15 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > I have decided to use the Net-SNMP software for one of my projects and > am having an issue on one of my HP-UX 11.11 machines. The issue is that > the snmptrap command that comes with Net-SNMP is hanging in the process > list and is essentially eating up all my CPU and i

RE: How to determine whether a discovered device is a PC?

2008-05-15 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Amarnath T > Sent: Thursday, May 15, 2008 2:39 AM > How can one determine whether the discovered device is a PC or not? First, you'll need to define what it means to be a PC. Essentially, what are the characteristics

[mib2c .c code] code for MODE_SET_ACTION

2008-05-15 Thread CHAHIBI Samira
Hi all, I have run mib2c and obtained my .c and .h files. I have one single RW scalar variable named "id". I I have completed the MODE_GET case by giving the pointor and lenght of "id". The problem is that i don't know how to complete the MODE_SET_ACTION, all i want is to affect an integer value

Re: Error During *.c & *.h file by using *.txt file

2008-05-15 Thread Wes Hardaker
> On Tue, 13 May 2008 11:13:56 +0530, "arif hussain" <[EMAIL PROTECTED]> > said: ah> ERROR: You don't have the SNMP perl module installed. Please obtain ah> this by getting the latest source release of the net-snmp toolkit from ah> http://www.net-snmp.org/download/ . Once you download t

Re: Informs vs traps

2008-05-15 Thread Wes Hardaker
> On Tue, 13 May 2008 16:39:30 +0200, Vincent Royo <[EMAIL PROTECTED]> said: VR> traphandle default /home/myhome/bin/trapscript ... VR> The behaviour is : VR> the snmptrapd receives the first trap on port X, it executes the script VR> "trapscript". It receives 6 frames of inform on port X+1 bu

Re: How to determine whether a discovered device is a PC?

2008-05-15 Thread Wes Hardaker
> On Thu, 15 May 2008 15:09:05 +0530, "Amarnath T" <[EMAIL PROTECTED]> said: AT> How can one determine whether the discovered device is a PC or not? It's not that easy, but the sysObjectID.0 scalar is likely the best place to start. -- Wes Hardaker Sparta, Inc. -

Re: Agentx communication issues with net-snmp 5.4.1

2008-05-15 Thread Larry Dickson
Hi Latha, We had a similar problem going from 5.2.1 to 5.4.1 that was discussed on this list around April 18. The key fix was to make sure the NetSNMP::OID call comes AFTER the NetSNMP::agent call. The ordering did not use to matter but now it does. Larry Dickson Cutting Edge Networked Storage O

Re: Agentx communication issues with net-snmp 5.4.1

2008-05-15 Thread Magnus Fromreide
On ons, 2008-05-14 at 15:51 -0700, [EMAIL PROTECTED] wrote: > Hi, > > I was using net-snmp 5.1.4 earlier and we have a subagent communicating > using agentx with our master agent. Things were working fine. > > We are now trying to upgrade to net-snmp 5.4.1 and the master agent and > the subagent

Re: How to include Libs and Flags in ./configure

2008-05-15 Thread Raghavendra Prasad
HI, With the option --with-libs="-lTOS -lCTIfce -lCIfce -lm" I get an error I have stored all these libraries in "net-snmp-5.4.1" directory, is this the property directory to store? I have another shared library "NEEDELIB=libTOS.so", how do I include this in ./configure step?, I tried putting

Re: How to include Libs and Flags in ./configure

2008-05-15 Thread Thomas Anders
Raghavendra Prasad wrote: > I need to include the following libraries to integrate a datamodule > into my SNMP agent > > Eg: > > CFLAGS+=-I../../common/include/gamma -Wall -Wshadow -Wunreachable-code > -W -g -ggdb > LDLIBS+=-lTOS -lCTIfce -lCIfce -lm > NEEDELIB=libTOS.so > > I know the relative

How to include Libs and Flags in ./configure

2008-05-15 Thread Raghavendra Prasad
Hi all, I need to include the following libraries to integrate a datamodule into my SNMP agent Eg: CFLAGS+=-I../../common/include/gamma -Wall -Wshadow -Wunreachable-code -W -g -ggdb LDLIBS+=-lTOS -lCTIfce -lCIfce -lm NEEDELIB=libTOS.so I know the relative path of these libraries.Tampering the M

Re: SNMP on 64bit platform

2008-05-15 Thread Taymour A. El Erian
Thomas Anders wrote: > Taymour A. El Erian wrote: > >> Here is a patch for fixing the problem, do you think this can make it in >> the new release ? >> > > Thanks. Could you please submit this patch to http://www.net-snmp.org/patches > (as a unified diff against SVN trunk, ideally) so it

traps from table

2008-05-15 Thread Michael Musenbrock
Hello, I just want to see if i've got it right. I want to send a trap if some value has changed in my snmp-table (I get the values from outside of snmp). If I interpret the snmp-faq [1] right, I have to save all the values and compare it to the new one?! Is this right? And are there some given s

How to determine whether a discovered device is a PC?

2008-05-15 Thread Amarnath T
Hi, How can one determine whether the discovered device is a PC or not? Amarnath - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070

Re: SNMP on 64bit platform

2008-05-15 Thread Thomas Anders
Taymour A. El Erian wrote: > Here is a patch for fixing the problem, do you think this can make it in > the new release ? Thanks. Could you please submit this patch to http://www.net-snmp.org/patches (as a unified diff against SVN trunk, ideally) so it won't get lost? +Thomas -- Thomas Ander

Re: SNMP on 64bit platform

2008-05-15 Thread Taymour A. El Erian
Dave Shield wrote: > On 15/04/2008, Taymour A. El Erian <[EMAIL PROTECTED]> wrote: > >>> Try removing the first (10892) entry, and try again. >>> >>> >> I removed this entry, no difference. >> > > What was the debug output? > ([smux_auth_peer] messages) > > > >> If I use >>