warning message in snmplib/container.c

2004-09-15 Thread Jim Su
Hi Greeting: When I run make from net-snmp top directory. I got the following warnings. Not sure why it appeared. It didn't appear before. I still can make a snmpd. However this warning message may indicate some where is not clean. Any sharing of your experience is highly appreciated. Than

snmp_pdu_add_variable question

2004-09-15 Thread Miles, Earl
I'm a little confused about the difference between ASN_INTEGER64 and ASN_COUNTER64 with snmp_pdu_add_variable question. If I have a counter64 struct (which I've converted from a uint64_t) and I try to pass it through snmp_pdu_add_variable() with ASN_COUNTER64 it works; but using ASN_INTEGER64 with

Subagent listening port

2004-09-15 Thread Isaac E. Wagner
I have a subagent which I am trying to have listen to a different port than /var/agentx/master. In my snmpd.conf file I added the line AgentXSocket localhost:9995. As far as I can tell the snmpd program actually does start listening to this port. However, I can't seem to get the subagent to listen

How can I get createUser to be processed?

2004-09-15 Thread cnelson
The man page for snmpd.conf says: ... This directive should be placed into the /var/net- snmp/snmpd.conf file instead of the other normal locations. The reason is that the information is read from the file and then the line is removed (eliminating the storage of the ma

Am I confused or is read_config_read_octet_string broken?

2004-09-15 Thread cnelson
I'm trying to use read_config_read_octet_string() (in 5.1.1) and I'm not getting the results I expect. It is written to allocate space for the return value if needed: /* * malloc data space if needed (+1 for good measure) */ if (*str == NULL) { if (

Cross compile strongarm

2004-09-15 Thread Baumgart Alexander
Hello, i read the rstory inofficial faq and maillist archive. Made my own configure script. I disabled all mib-modules beside mibII, so compilation works fine, but after ./configure i get a msg: Net-SNMP Version: 5.1.2 Building for: None Its that okay ? Should'nt

Re: Order of usmUser lines in /var/net-snmp/snmpd.conf

2004-09-15 Thread Thomas Anders
[EMAIL PROTECTED] wrote: In all my experimenting, the and fields seem to be the same. Is that right? What would make them different? The usmUser line is modelled after the usmUserTable from SNMP-USER-BASED-SM-MIB. The description for SNMP-USER-BASED-SM-MIB::usmUserSecurityName tells: The defa

Re: Order of usmUser lines in /var/net-snmp/snmpd.conf

2004-09-15 Thread cnelson
Thomas Anders wrote: > No need to rely on the order. The usmUser lines aren't really > encrypted, they > just contain localized keys and some of the data (like the user > name) in hex. > > The (notoriously undocumented) format actually is: > > usmUser > > > > It's very easy to fi

undefined symbols compiling the demo app

2004-09-15 Thread Dalton Hamilton
Hi I downloaded 5.1.2 and did the ./configure, make, and make install The install placed the header files in /usr/local/include and the libs in /usr/local/lib I then downloaded the snmpdemoapp.c and the Makefile When I issue "make snmpdemoapp" I get the following: make snmpdemoapp gcc -I. `net-s

AW: com2sec or rocommunity?

2004-09-15 Thread Thomaschewski, Holger \(LDS\)
Hallo Robert! Thanks for your help. Now I understood the different between both but what happens, when both options are standing in the snmpd.conf? Is "com2sec" able to forbidd access when "rocommunity" allows it? That's my problem. Sincerely Holger Thomaschewski -Ursprüngliche Nachric

Re: Order of usmUser lines in /var/net-snmp/snmpd.conf

2004-09-15 Thread Thomas Anders
[EMAIL PROTECTED] wrote: If I put multiple createUser lines in /var/net-snmp/snmpd.conf and restart the agent, can I expect or rely upon the resulting usmUser lines being in the same order? I'd like to be able to delete or modify one of several users but the usmUser lines are encrypted so I can't

Order of usmUser lines in /var/net-snmp/snmpd.conf

2004-09-15 Thread cnelson
If I put multiple createUser lines in /var/net-snmp/snmpd.conf and restart the agent, can I expect or rely upon the resulting usmUser lines being in the same order? I'd like to be able to delete or modify one of several users but the usmUser lines are encrypted so I can't see which one correspo

problem with SNMP

2004-09-15 Thread Naveen S
Hello all, I had compiled and installed "net-snmp-5.1.2" tar package in i386 P4 system(RedHat 9 Ver.). and im new to this SNMP... So first i run the "snmpd"...then i run "snmpget" with proper options...but, im getting "Timeout: No Response".. and i listened that we should Configure SNMP by r

Compiling net SNMP with the g++ compiler

2004-09-15 Thread madhavi.ravanan
Title: Message Hi All,   I have a specific requirement which involves calling C++ APIs from the netSNMP code. Owing to this reason, i'm compiling NetSNMP using g++ compiler instead of gcc. When I do this , i get a number of undefined reference linker errors on the base netSNMP code itself