Re: trouble using index's with length 127

2009-02-03 Thread Dave Shield
2009/2/3 Joan Landry joan.lan...@overturenetworks.com: net-snmp is reporting an error when I try to create a row where the index length is 127. Any info on why this fails would be greatly appreciated. Because such an index would result in an invalid instance OID. From RFC 2578 - Section

Re: net-snmp and solaris dynamic reconfiguration

2009-02-03 Thread Dave Shield
2009/2/2 Hindley Nick nick.hind...@hfbp.co.uk: I think that the fix worked. However, I got another core dump. #0 0x000796bc in var_hrproc () at host/hr_proc.c:183 183 long_return = 100 - long_return; (gdb) p cpu-total_ticks $3 = 1092197669 (gdb) p

snmp library: how to resend trap in case connection is down?

2009-02-03 Thread Alexander Bubnov
Hello! Can you please help me to find a solution? I wrote my own subagent and would like a manager can receive a part of traps sent when connection is down. Case: 1. master agent is down 2. subagent sends a trap through, for example, send_v2trap function -- how can I know here that trap is

RE: trouble using index's with length 127

2009-02-03 Thread Joan Landry
Thanks for the answer and the reference! Joan -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Tuesday, February 03, 2009 3:13 AM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: Re: trouble using

Re: Writing a MIb Module and compiling in visual c++

2009-02-03 Thread Rodolfo Leffa
Thanks, that worked! On Mon, Feb 2, 2009 at 7:00 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: 2009/1/30 Rodolfo Leffa rodolfole...@gmail.com: how do I add the module I had implemented to be compiled by the Visual C++??? Please read the file 'README.win32' In particular, the section

Sending Information through snmpget

2009-02-03 Thread Rodolfo Leffa
Hi, i'm extending net-snmp on windows to provide my company hardware information through snmp. But i've reached the following situation: I can have more then one device from wich I can get one kind of information(like STATUS, for example). So, i need a way to especify which device I wanna to get

RE: Can I force endOfMibView exception for a getnext on an intermediateOID?

2009-02-03 Thread Mike Ayers
From: Ragesh V [mailto:vrag...@hcl.in] Sent: Monday, February 02, 2009 7:05 AM The issue is I have to send response to a getnext request with 'endOfMibView' for a particular OID, which do have lexicographic successors. This is wrong. An object should never return endOfMibView -