example of pass-though ?

2005-07-21 Thread maxime saintes
Hi, i've done a small program and a small MIB to use them with the pass-through option of net-snmp. Unfortunately, although the programm works fine by itself, when i try to get a value from my MIB i get a "No Such Instance currently exists at this OID" :( Is there an example of a working p

Tokens to debug snmpd ?

2005-07-21 Thread maxime saintes
Hi, sorry to send a second mail in a day, but i would like to debug snmpd but the only thing to be found in the manual is "-D[Tokens]", and i cannot find where is the list of available tokens :( Could someone help me to find it ? Thanks alot. Maxime --

Re: example of pass-though ?

2005-07-21 Thread maxime saintes
Hum, sorry, i found out what was happening, in fact my program was crashing silently behind snmpd (it crashed only if called from certain directories). Maxime maxime saintes wrote: Hi, i've done a small program and a small MIB to use them with the pass-through option of net-snmp. Unfortun

Delegated cache issue

2005-07-21 Thread Glenn MacGregor
Hi All, I have a subagent running on net-snmp-5.1.1. Everything seems to be running ok...except when I do a getnext. My subagent registers using netsnmp_register_scalar_group function. Also, I have to delegate the request because I use async calls to get the actual data which may take some time.

NET-SNMP 5.2.1.2 make error

2005-07-21 Thread Andrews, Glenn J (Glenn)
I get the following './make' errors after a sucessful './configure' ... In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from snmp_alarm.c:24: /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t" /usr/include

A question about configure

2005-07-21 Thread Jordi Martin Tirado
Hi everybody I want to compile my agent called "test". I know I have to do $./configure --with-mib-modules = "test" But is there any posibility to run the configure with some parameter which allow me to omit "with-mib-modules = "test""??? Could it works If I only run $./configure --with-defa

Regarding to timeliness checking

2005-07-21 Thread shufen zhang
Hi All, My snmpv3 authNoPrive and authPrive request got error: not in time windows. Can anyone please explain a bit: 1. How timeliness checking is performed internally by the application? 2. How snmpengine Boot and snmpEngineBoot Time are packed in the request message? 3. How does the

Problem in getting perl_module.pl to work

2005-07-21 Thread Julia Wu
Hi,   I tried to follow the tutorial to get some understanding of how to embeded perl in snmp-agent. However, I can never start up snmpd once I put the "perl do " in the snmpd.conf.   When I start up with the following command.snmpd -r -f -L -c $NET_SNMP_ROOT_DIR/share/snmp/snmpd.conf udp:1161

snmpwalk w/o oid specified

2005-07-21 Thread Jim Su
Hi Greeting: I encountered the following problem. If I run snmpwalk with oid of my enterprise MIB. The agent returned the objects and their values. However if I run snmpwalk without any oid specified. It only returns the MIB-II, and Host MIB (which I included in the configure). The ret

RE: snmpwalk w/o oid specified

2005-07-21 Thread Jim Su
Hi Greeting: I found this in the FQA on net-snmp web. I think this explains why. Can some one confirms this is the expected behavior? Thanks, Jim ** The 'snmpwalk' command takes a point in the overall MIB tree, and tries to display all the