Net-SNMP 5.7.2.pre2 has been released and is available from:
http://www.net-snmp.org/download/
Please report positive and negative findings, and most importantly:
supply patches to fix any problems :-)
--
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net
-
David Ecker writes:
> Void debugmsg_hex(const char *token, const u_char * thedata, size_t len)
...
> Caling debugmsg with an character string longer than LOGLENGTH==1024
> will result in the above error message. The error message is printed
> in "int snmp_vlog(int priority, const char *format, va
"Scales, Neil" writes:
> How can I speed it up?
You'd have to tell us how you implemented your MIB and with which type
of API style you picked.
In short, some of the easiest APIs to use are unfortunately slow (they
were designed to get someone up and running, not to be efficient).
But you have
kidkoala writes:
> My problem is to find appropriate function which allows to handle my
> movements. I mean, how to replace agent_check_and_process() function
> with my functions, which will depend of OID.
You should read the tutorials on creating subagents on the wiki, which
talks about how to
Andreas Köster writes:
> -Op PRECISION_STRING
> which allows to change the default behavior and inserts this precision
> string into the sprintfs used for output.
...
> Another idea is to define a corresponding snmp.conf item.
I think both options should be done and that sounds like a great ide
Harvey Shepherd writes:
> I think that it is valid to use an external table's non-auxiliary
> object as an index, but could find no concrete examples of it.
It is and your interpretation is correct. In fact, I think it's the
RMON mib that has exactly this case: two tables that reverse index the
"Scales, Neil" writes:
> Is there any way to dynamically change the trap destination address?
You can set destinations dynamically using the SNMP-NOTIFICATION-MIB and
SNMP-TARGET-MIB. But you can't change one that was defined in a
snmp.conf file (the row will be read-only), you must do the enti
Is there any way to dynamically change the trap destination address?
I'm using net-snmp in an embedded system. My application communicates with
snmpd via AgentX.
When the device powers up, it determines its own IP address (not via DHCP) and
can then derive the address of the trap destination.
On Tue, Jul 3, 2012 at 4:48 PM, Niels Baggesen wrote:
> Den 02-07-2012 20:22, Bill Fenner skrev:
>
>
>> A related question: isn't it safer to pretend to the compatibility
>> functions that a given interface with ifIndex > 16 bits (or 15 bits)
>> doesn't exist, rather than returning a potentially-a