Net-SNMP segfaults under OpenBSD 4.3

2008-06-25 Thread (private) HKS
In my quest for real SNMP monitoring of OpenBSD, I installed net-snmp-5.4.1p0 on an OpenBSD 4.3 box via packages. The executable segfaults every time I try to run it. This happens with or without command-line options, with my custom config file or the default config file. I've tested with two diffe

Re: Net-SNMP segfaults under OpenBSD 4.3

2008-06-27 Thread Stephan A. Rickauer
On Wed, 2008-06-25 at 11:17 -0400, (private) HKS wrote: > In my quest for real SNMP monitoring of OpenBSD, I installed net-snmp-5.4.1p0 > on an OpenBSD 4.3 box via packages. The executable segfaults every time I try > to run it. This happens with or without command-line options, with my custom > co

Re: Net-SNMP segfaults under OpenBSD 4.3

2008-06-27 Thread Claer
On Fri, Jun 27 2008 at 13:12, Stephan A. Rickauer wrote: > On Wed, 2008-06-25 at 11:17 -0400, (private) HKS wrote: > > In my quest for real SNMP monitoring of OpenBSD, I installed > > net-snmp-5.4.1p0 > > on an OpenBSD 4.3 box via packages. The executable segfaults every time I > > try > > to run

Re: Net-SNMP segfaults under OpenBSD 4.3

2008-06-27 Thread (private) HKS
Thanks, took this route and things are working just fine now. -HKS On Fri, Jun 27, 2008 at 8:19 AM, Claer <[EMAIL PROTECTED]> wrote: > On Fri, Jun 27 2008 at 13:12, Stephan A. Rickauer wrote: >> On Wed, 2008-06-25 at 11:17 -0400, (private) HKS wrote: >> > In my quest for real SNMP monitoring of Op

Re: Net-SNMP segfaults under OpenBSD 4.3

2008-07-01 Thread (private) HKS
One further note, just in case someone else runs into a similar problem. Running net-snmp under the agentuser and agentgroup of _snmpd will work, but many of your MIBs will return null data (most notably, MIB-2 Interfaces) because the agent reads /dev/mem for that data. You'll see this kind of mes

Re: Net-SNMP segfaults under OpenBSD 4.3

2008-07-01 Thread Stuart Henderson
On 2008-07-01, (private) HKS <[EMAIL PROTECTED]> wrote: > Running net-snmp under the agentuser and agentgroup of _snmpd will > work Those are intended for the in-tree /usr/sbin/snmpd, not for Net-SNMP. Depends what you're monitoring, but base snmpd is sufficient for many people, and IME much more