Re: shutdown_foo or deinit_foo

2007-04-23 Thread Magnus Fromreide
On mån, 2007-04-23 at 12:11 +0100, Dave Shield wrote: > On 21/04/07, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > > How comes that dlmod uses deinit_foo to deregister snmp module foo on > > unload but the master agent uses shutdown_foo? > > Hysterical raisins. > Both of these date a long way back

Setting IP addresses via Perl on 64-bit platforms

2007-04-23 Thread Jeff Lange
We ran into a problem using the perl net-snmp module on a 64-bit linux box when trying set OID values of type IpAddress. I tracked it down to perl/SNMP/SNMP.xs. In __add_var_val_str() when the type is TYPE_IPADDR, it is setting vars->val_len to sizeof(long). This works OK on a 32-bit platform,

FW: I want MONITOR my HP-UX (11.11) boxes through Solarwinds.

2007-04-23 Thread swarup.guchhait
Hi, Please see the below thread and help me out..What is neccessary steps to run net-snmp client in hp-ux . Regards Swarup. From: Guchhait, Swarup Sent: Monday, April 23, 2007 6:08 PM To: '[EMAIL PROTECTED]' Subject: RE: I want MONITOR my HP-UX (11.11)

[PATCH] Perl embedded agents and ASN_COUNTER64

2007-04-23 Thread Maxime Henrion
Hello all, I'm currently in the process of fixing ASN_COUNTER64 OIDs with embedded Perl agents and I'm sending my patch here in order to have it reviewed. There were a few problems in the perl/agent/agent.xs code that was dealing with those types. First, the number is gathered and stor

Re: how to include "ASN_OBJECT_ID" in a trap with net-snmp

2007-04-23 Thread Dave Shield
On 20/04/07, ajran ajran <[EMAIL PROTECTED]> wrote: > Bellow is the skeleton that has been generated by mib2c, what am I > experiencing problem with is the third the snmp_varlist_add_variable > statement handling the attribute "alarmActiveResourceId" The first thing to do is to look at the MIB des

OutFragOKs in ipSystemStatsTable

2007-04-23 Thread Mitsuru Chinen
Hi all, I'd like to contribute some enhancements to ipSystemStatsTable for Linux. But I have an unknown point in ipSystemStatsOutFragOKs code. With using code in the current svn trunk, agent doesn't respond ipSystemStatsOutFrags. According to the source, ipSystemStatsOutFragOKs_get() replys MFD_S

Re: shutdown_foo or deinit_foo

2007-04-23 Thread Dave Shield
On 21/04/07, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > How comes that dlmod uses deinit_foo to deregister snmp module foo on > unload but the master agent uses shutdown_foo? Hysterical raisins. Both of these date a long way back, so it's unlikely that any of us can remember the reasoning invol