Net-snmp Windows missing the header files and libraries

2005-06-20 Thread mahua dutta
I have installed net snmp for windows from tyhe following url http://sourceforge.net/project/showfiles.php?group_id=12694 I have downloaded the net-snmp-5.2.1-1.win32.exe. I am trying to develop one net-snmp sub agent for windows. But I found that after installation net-snmp-includes.h is not the

Re: For developing Net-snmp sub agent(dll/so) what are the libraries to link.

2005-06-20 Thread mahua dutta
Yes If i run net-snmp-config --agent-libs i getting the following libraries.    -R../lib/sparcv9 -xarch=v9 -L/usr/sfw/lib/sparcv9 -lnetsnmpagent -lnetsnmpmibs - lnetsnmphelpers -lnetsnmp -ldl -lkvm -lz -lpkcs11 -lkstat -lelf -lm -ldl -lnsl -lsocket -ladm   But while building an sub-agent , I have

5.1.3.pre1 build/test success

2005-06-20 Thread Thomas Anders
-Coders, FYI, I've successfully built (--with-mib-modules="host disman/event-mib") and 'make test'ed net-snmp 5.1.3.pre1 on the following platforms: - SuSE Linux 9.3 (x86), gcc 3.3.5pre: 44/44 tests succeeded - Solaris 9 (SPARC), Sun C 5.5: 44/44 tests succeeded - Tru64 Unix 5.1B (Alpha), Com

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread Robert Story
On Mon, 20 Jun 2005 14:19:16 -0700 OpenMacNews wrote: O> > I still by Apple hardware, but I run Linux on it... O> O> curious, which distro? YellowDog, at the moment. Will be testing Centos PPC support in the near future.. -- NOTE: messages sent directly to me, instead of the lists, will be del

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread OpenMacNews
-- On June 20, 2005 3:54:28 PM -0400 Robert Story <[EMAIL PROTECTED]> wrote: and I didn't feel like paying for upgrades anymore. well, we "pay" now in different ways ;-) I still by Apple hardware, but I run Linux on it... curious, which distro? O> given the increasing # of OSX dev pl

disman not generating traps for all oids in the monitored list

2005-06-20 Thread amarnath sathyanarayanan
Hi, The following is the description of my setup - version: net-snmp-5.2.1 'uname -a' output: SunOS xyz 5.8 Generic_108529-23 i86pc i386 i86pc I had the following line in my snmpd.conf file - monitor -r 10 -o ifDescr "Generate linkUp" ifOperStatus == 1 I have 11 interfaces on the host (some

Re: rfc: log handling

2005-06-20 Thread Robert Story
DS> Just to check - are you talking about logging from the SNMP agent DS> specifically, or more generally about the underlying library log DS> routines. DS> DS> > By default, a standard logfile has always been opened DS> > (/var/log/snmpd.log). DS> DS> That sounds like the agent's logging in part

versiontag

2005-06-20 Thread Robert Story
So, for the ump-teenth time, I got bit by not setting CVSUSER while packaging a release, meaning I had to go back and do several steps by hand. Looking at the versiontag script, I don't see any reason that the whole '-d ...' bit can't be removed. The script will be run from within a CVS controlled

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread Robert Story
On Mon, 20 Jun 2005 10:10:21 -0700 OpenMacNews wrote: O> > You shouldn't have been 'shooed away'... We might not be very helpful O> > sometimes, but we don't generally shoo people away. But do rely heavily on O> > our users for the less common platforms O> O> heh! =) O> O> i've lost count of the

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread OpenMacNews
hi robert, On Fri, 17 Jun 2005 15:06:14 -0700 OpenMacNews wrote: O> > Did you have any trouble building perl? I've tried 5.2.1 on 10.3.9, and I O> > get errors trying to manify pods... O> O> none whatsoever ... Hmmm... I wonder if a security update broke something... in my experience, they ty

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread Robert Story
On Fri, 17 Jun 2005 15:06:14 -0700 OpenMacNews wrote: O> > Did you have any trouble building perl? I've tried 5.2.1 on 10.3.9, and I O> > get errors trying to manify pods... O> O> none whatsoever ... Hmmm... I wonder if a security update broke something... O> p.s., after being 'shooed away' here

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread OpenMacNews
hi robert, On Fri, 17 Jun 2005 15:08:55 -0700 OpenMacNews wrote: O> fyi: one more thing from Jordan ... O> We generally don't go out of our way to report it when we fix O> self-inflicted O> build problems (since it's not a bug in anyone else's code), but they'll O> certainly find out when th

Re: nobody interested? "snmd -v" -> "dyld: Symbol not found: _boot_DynaLoader"

2005-06-20 Thread Robert Story
On Fri, 17 Jun 2005 15:08:55 -0700 OpenMacNews wrote: O> fyi: one more thing from Jordan ... O> We generally don't go out of our way to report it when we fix O> self-inflicted O> build problems (since it's not a bug in anyone else's code), but they'll O> certainly find out when the update is

Re: snmpwalk failing to return info from lo

2005-06-20 Thread Robert Story
On Mon, 20 Jun 2005 10:03:56 -0400 Licause, wrote: LA> send response: Error building ASN.1 representation (build int size 4: LA> s/b 8) There's the culprit... Try this patch.. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid con

net-snmp-5.1.3.pre1 available for testing

2005-06-20 Thread Robert Story
net-snmp-5.1.3.pre1 is available for testing. Please give it a whirl, and let us know if you have any problems. Precursors to this release we successfully built on the following SourceForge compile farm test machines this weekend: OpenBSD 3.4, NetBSD 1.6, Linux 2.2.20 (alpha), Solaris (spa

RE: snmpwalk failing to return info from lo

2005-06-20 Thread Licause, Al
As requested I've had the customer start snmpd in debug mode then issue a simple snmp query of the following: snmpwalk -v1 -c accept localhost 1.3.6.1.2.1.4.20.1.1 The resulting output from snmpd is as follows: Script started on Mon 20 Jun 2005 03:24:49 AM EDT [EMAIL PROTECTED] root]# /usr/

RE: VACM and snmpv2c community string

2005-06-20 Thread Koren Ofer-BOK016
Hi, I found that my new VACM group wasn't saved in the persist file (snmpd.conf) because of the following: I'm calling vacm_parse_simple from my MIB file which call to vacm_parse_group. In vacm_parse_group the default gp->storageType value is set to SNMP_STORAGE_PERMANENT. When trying to save th

RE: VACM and snmpv2c community string

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 11:34, Koren Ofer-BOK016 wrote: > I added the following test code in my MIB: > char * Token= "rocommunity"; > char * Line = "TryPrivate 127.0.0.1"; > vacm_parse_simple(Token,Line); Yes - that should work. > So, Isn't "TryPrivate" a new co

RE: VACM and snmpv2c community string

2005-06-20 Thread Koren Ofer-BOK016
Hi, Thanks for the prompt answer. I'm probably missing something, I added the following test code in my MIB: char * Token= "rocommunity"; char * Line = "TryPrivate 127.0.0.1"; vacm_parse_simple(Token,Line); - I don't have "TryPrivate" community in any of

Re: How can I set a string

2005-06-20 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Mon,

Re: SNMP request Timeout with 5.0.9 & 5.1.2 on ARM

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 10:10, Stage Iup - Fabrice & Frédéric wrote: > the directory hosted by the building machine is not seen as the same > by the arm based board Yup - that's the point of configure having both '--prefix' and '--with-install-prefix' options. --prefix specifies th

Re: VACM and snmpv2c community string

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 09:24, Koren Ofer-BOK016 wrote: > I used the following lines (originally from the snmpvacm man page): > > snmpvacm -v2c -c public 127.0.0.1 createSec2Group 2 dave RWGroup > snmpvacm -v2c -c public 127.0.0.1 createView all .1 80 > snmpvacm -v2c -c public 127.0.0.1 createAcces

Re: SNMP request Timeout with 5.0.9 & 5.1.2 on ARM

2005-06-20 Thread Stage Iup - Fabrice & Frédéric
ok i've allready read this i know that it is a basic problem, but i was thinking the if i want to install the application on the nfsroot, that is like / when i launch the board, i have to put /nfsroot/DIR in prefix and exec-prefix the directory hosted by the building machine is not seen as the sam

Re: SNMP request Timeout with 5.0.9 & 5.1.2 on ARM

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 08:19, Stage Iup - Fabrice & Frédéric wrote: > > So you are installing to /usr on the destination system, and the > > net-snmp default prefix is /usr/local. I suggest configuring > > --prefix=/usr when building, if that's where you are going to > > install. > I'll try this

Re: Rmon add a new alarm entry

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 08:56, jason.tseng wrote: > I use the Net-SNMP v5.2. > The Rmon module Please note the following entry from the FAQ: Does the agent support the RMON-MIB? --- Not really. Some of the functionality of the RMON-MIB, such as t

Re: rfc: log handling

2005-06-20 Thread Dave Shield
On Fri, 2005-06-17 at 22:11, Robert Story wrote: > With the introduction of the new log handling mechanism (linked list of log > handler, instead of a single instance of each type), some new issues have > arisen. I'd like to start a discussion on how to deal with them. Just to check - are you talk

VACM and snmpv2c community string

2005-06-20 Thread Koren Ofer-BOK016
Hi, I want to write an app which generate SNMPv2c get/set request's using dynamic vacm groups, but I'm facing some problems using the vacm with SNMPv2c. I used the following lines (originally from the snmpvacm man page): snmpvacm -v2c -c public 127.0.0.1 createSec2Group 2 dave RWGroup --

Re: Questions about portion of code in agent_registry.c (netsnmp_subtree_load)

2005-06-20 Thread Dave Shield
On Thu, 2005-06-16 at 19:13, gg gg wrote: > I am trying to understand the purpose of a portion of > code in agent_registry.c/netsnmp_subtree_load. The > code was submitted in version 5.25.2.1. Actually, that particular section of code was submitted as part of revision 5.20: "fix context registr

Rmon add a new alarm entry

2005-06-20 Thread jason.tseng
Hi, I use the Net-SNMP v5.2. The Rmon module have add_hist_entry() add_statistics_entry() add_event_entry() But Rmon module do not have the add_alarm_entry. Why don't Rmon module have the add_alarm_entry? Is there any person who had wrote add_alarm_entry? Thanks -Jason

Re: For developing Net-snmp sub agent(dll/so) what are the libraries to link.

2005-06-20 Thread Dave Shield
On Mon, 2005-06-20 at 06:53, mahua dutta wrote: > For developing Net- snmp subagent what are the libraries to link. See the output of the command net-snmp-config --libs Dave --- SF.Net email is sponsored by: Discover Easy Linux Migra

Re: SNMP request Timeout with 5.0.9 & 5.1.2 on ARM

2005-06-20 Thread Stage Iup - Fabrice & Frédéric
I'll try this solution thanks but i'm wondering, if i'll put the --prefix=/usr, if the system install on the i686 or install on nfsroot and execute it to the nfs /usr2005/6/17, Robert Story <[EMAIL PROTECTED]>: On Fri, 17 Jun 2005 11:40:34 +0200 Stage wrote:SIF> Full Version:SIF> CFLAGS="-isystem /