RE: monitoring freeradius with net-snmp SOLVED

2006-09-06 Thread Andy Ford
y man! Regards Andy -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED]] Sent: Tue 9/5/2006 11:28 PM To: Andy Ford Cc: Irwin Tillman; net-snmp-users@lists.sourceforge.net Subject: Re: monitoring freeradius with net-snmp and smux Andy Ford wrote: > I've managed to install

RE: monitoring freeradius with net-snmp and smux

2006-09-06 Thread Andy Ford
nders [mailto:[EMAIL PROTECTED]] Sent: Tue 9/5/2006 11:28 PM To: Andy Ford Cc: Irwin Tillman; net-snmp-users@lists.sourceforge.net Subject: Re: monitoring freeradius with net-snmp and smux Andy Ford wrote: > I've managed to install net-snmp and freeradius on my Gentoo installation (I couldn

RE: monitoring freeradius with net-snmp and smux

2006-09-05 Thread Andy Ford
man Sent: Fri 8/4/2006 10:49 PM To: Andy Ford Cc: net-snmp-users@lists.sourceforge.net Subject: Re: monitoring freeradius with net-snmp and smux Also set an SNMP community string in net-snmp's snmpd.conf to grant access to the radius MIB to wherever you will run the SNMP client;

Re: monitoring freeradius with net-snmp and smux

2006-08-04 Thread Andy Ford
Thanks Irwin, It's great that you replied! Have I followed the correct route with ... 1. compiled freeradius with the '--with-snmp' option 2. modified the freeradius snmp.conf file to include smux_password = verysecret 2. modified the radiusd.conf file with snmp = yes $INCLUDE

monitoring freeradius with net-snmp and smux

2006-08-04 Thread Andy Ford
smux or monitoring freeradius with snmp. If you have, It would be great if you would impart with any knowledge you may have so I can sort this out. Thanks Regards Andy Ford -- perl -e "print qq^bIG VeRN ! ^^qq^#'#Yv#=http://www.techsay.com/defau

RE: SNMPTRAP multiple port binding

2005-08-04 Thread Andy Ford
Thanks for responding Robert. I have gone for multiple snmptrapd's binding to different ports Regards Andy -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 11:19 AM To: Andy Ford Cc: net-snmp-users@lists.sourceforge.net Subjec

SNMPTRAP multiple port binding

2005-07-20 Thread Andy Ford
Hi everyone…   I have numerous remote hosts (switches / routers in a private address range) sending traps across a VPN (across the internet) to a firewall that will port forward these to a Solaris box running an snmptrapd. Each remote network will have its own VPN, and traps will be forwa

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-28 Thread Andy Ford
p out debugging? Thanks Andy -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 1:17 AM To: Andy Ford Cc: Wes Hardaker; Net-Snmp (E-mail) Subject:Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-25 Thread Andy Ford
---Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 8:08 PM To: Andy Ford Cc: Wes Hardaker; [EMAIL PROTECTED]; Net-Snmp (E-mail) Subject:Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to wor

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-20 Thread Andy Ford
don't believe it's a memory leak per-say rather the embedded perl is holding on to every processed trap. Regards Andy -Original Message- From: Wes Hardaker [mailto:[EMAIL PROTECTED] Sent: 19 April 2005 18:43 To: Andy Ford Cc: [EMAIL PROTECTED]; Net-Snmp (E-mail) Subject: Re:

RE: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-14 Thread Andy Ford
ind a little feedback from the script to help debugging! Thanks Andy -Original Message- From: Jeff Saxton [mailto:[EMAIL PROTECTED] Sent: Thursday, April 14, 2005 4:11 PM To: Andy Ford Subject: Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

Are there any examples of SNMP::TrapSession - I'll be darned If I can get it to work!

2005-04-14 Thread Andy Ford
Title: Are there any examples of SNMP::TrapSession - I'll be darned If I can get it to work! I am trying to send a trap using the following and failing miserably!! Can anyone see where I am going wrong? use SNMP; my $sess = create_session(); my $vars = new SNMP::Varbind(        

RE: Memory leakage in snmptrapd

2005-04-04 Thread Andy Ford
p gap!) Regards Andy -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Saturday, April 02, 2005 12:55 AM To: Andy Ford Cc: Net-Snmp (E-mail) Subject:Re: Memory leakage in snmptrapd << File: snmptrapd-leak.pat >> On Tue, 29 Mar 20

RE: Memory leakage in snmptrapd

2005-03-31 Thread Andy Ford
may be busy   Regards   Andy   -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Andy Ford Sent: Tuesday, March 29, 2005 2:25 PM To: Net-Snmp (E-mail) Subject: Memory leakage in snmptrapd   I am running snmptrapd with the Perl Traphandler and seeing a

RE: Memory leakage in snmptrapd

2005-03-29 Thread Andy Ford
   23588 root   95M   93M sleep   58    0   0:00.37 0.4% snmptrapd/1   … and growing …     Andy     -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Andy Ford Sent: Tuesday, March 29, 2005 2:25 PM To: Net-Snmp (E-mail) Subject: Memory leakage

Memory leakage in snmptrapd

2005-03-29 Thread Andy Ford
Title: Memory leakage in snmptrapd I am running snmptrapd with the Perl Traphandler and seeing a large amount of memory usage. With no incoming traps, the memory utilisation of the snmptrapd process is stable at 11MB. As traps are processed, memory utilisation rises considerably. After just

RE: Error: OID not increasing: with proxy

2005-03-07 Thread Andy Ford
At a first glance, I would say that was an issue with the SNMP agent itself. I have a similar issue with some Extreme switches where the MIB isn't constructed correctly. I see from the output that you have two sysServices returning from 'system' in the mib-II mib. I was under the impression tha

SNMP perl module and bulkwalk

2005-03-04 Thread Andy Ford
Hi all My rhetorical question is ... am I doing something stupid here? I am using the bulkwalk.pl script from the net-snmp/perl/SNMP/examples directory from the CVS source, which is failing on a Summit5iTX Extreme switch but the shell command snmpbulkwalk works ... $./bulkwalk.pl 10.24.0.1 Canno

Re: Perl extensions

2005-02-08 Thread Andy Ford
I assume it works on AIX! The README.aix file has little in it. Andy On Mon, 2005-02-07 at 13:48 -0600, John Adam wrote: > > Folks, > > When I add > > perl NetSNMP::TrapReceiver::register("trapOID", \&myfunc); > or > perl do "/usr/local/share/snmp/mytrapd.pl"; > > to my snmptrapd.conf

Re: Perl extensions

2005-02-08 Thread Andy Ford
You haven't compiled the binary with the correct extensions. You need --enable-shared --enable-embedded-perl etc etc Read the README.solaris file in net-snmp v8.3 under section 11 NOTE: Read it carefully - especially the recompilation of Perl itself Andy On Mon, 2005-02-07 at 13:48 -0600, John A

Re: Newbie to Solaris

2005-02-04 Thread Andy Ford
I would d/l the gcc.3.3.2 package from sunfreeware and the net-snmp source from cvs (see the web page). Read the README.solaris file - all of the information is in there, including how to set up snmpd to report on the CPU, Disk etc I know - I have read it extensively ;0) Good luck... Andy On F

DONE IT: RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
I automated the install of Perl 5.8.1 from the jumpstart box with the following ./Configure -Dprefix=/usr -Uuselargefiles -Dcc=gcc -de .. thinking these were all the options I required. After your comment below, I decided to manually install Perl choosing each option carefully as specified in RE

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
Yes - that was what I meant ;0) Andy On Thu, 2005-02-03 at 17:31 +0100, Thomas Anders wrote: > Andy Ford wrote: > > So am I right in saying - your not linking at all to the libnetsnmp* > > libraries in your build? > > No. As I said: he's linking them *statically*. (whi

RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
, 2005-02-03 at 16:22 +, Andy Ford wrote: > Hi Bruce > > So am I right in saying - your not linking at all to the libnetsnmp* > libraries in your build? > > Andy > > On Thu, 2005-02-03 at 08:46 -0700, Bruce Shaw wrote: > > >Do you have a Solaris box you c

RE: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
Hi Bruce So am I right in saying - your not linking at all to the libnetsnmp* libraries in your build? Andy On Thu, 2005-02-03 at 08:46 -0700, Bruce Shaw wrote: > >Do you have a Solaris box you can test this on. Which libraries do you > >see linked by snmptrapd? > > libdl.so.1 =>/usr/

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
Can the compiler options be modified so that the /usr/lib/libnetsnmphelpers.so.5 library is a requirement when snmptrapd is being built!? Thanks Andy On Thu, 2005-02-03 at 09:47 +, Andy Ford wrote: > The fundamental difference between the two boxes where snmptrapd is > working on o

Re: snmptrapd ld.so.1 false inking errors

2005-02-03 Thread Andy Ford
s why snmptrapd links to a different set of libraries on the two boxes. Do you have a Solaris box you can test this on. Which libraries do you see linked by snmptrapd? Regards Andy On Wed, 2005-02-02 at 20:52 +0000, Andy Ford wrote: > Hi Bruce, Robert > > I have now done ... > >

Re: snmptrapd ld.so.1 false inking errors

2005-02-02 Thread Andy Ford
libmp.so.2 =>/usr/lib/libmp.so.2 /usr/platform/SUNW,UltraAX-i2/lib/libc_psr.so.1 This indicates something is different with the build - surely! Thanks again for taking time to look at this as I am truly stumped Regards Andy On Wed, 2005-02-02 at 15:11 +, Robert Story wrot

RE: snmptrapd ld.so.1 false inking errors

2005-02-02 Thread Andy Ford
t.so.5: symbol netsnmp_register_null: referenced symbol not found26550: write(2, " l d . s o . 1 : / u s".., 160) = 160 26550: write(2, "\n", 1) = 1 26550: lwp_self() = 1 26550: *** process killed *

RE: snmptrapd ld.so.1 false inking errors

2005-02-02 Thread Andy Ford
ill have an impact i.e. > > isainfo -kv > 64-bit sparcv9 kernel modules > > I really appreciate you looking at this Bruce. It is a box that has > been > shipped to our customer site today (partly broken!!) > > Thanks > > Andy > > On Tue, 2005-02-01 at 18:47

Re: snmptrapd ld.so.1 false inking errors

2005-02-01 Thread Andy Ford
I have now installed to /usr/local and have the binaries in /usr/local/sbin. I have also used crle to modify the library search path. /usr/local/sbin/snmptrapd still fails with the same error Regards Andy On Tue, 2005-02-01 at 15:52 +, Andy Ford wrote: > Further to this, I have found

Re: snmptrapd ld.so.1 false inking errors

2005-02-01 Thread Andy Ford
6|FUNC |GLOB |0|2 | netsnmp_register_null [10]|16| 112|FUNC |GLOB |0|2 | netsnmp_register_null_context Is this relevant Andy On Tue, 2005-02-01 at 14:03 +, Andy Ford wrote: > Hi All > > I have installed the net-snmp (from cvs today) distribution succ

snmptrapd ld.so.1 false inking errors

2005-02-01 Thread Andy Ford
Hi All I have installed the net-snmp (from cvs today) distribution successfully on a SunOS 5.8 Generic_117000-01 sun4u sparc SUNW,UltraAX-i2 box. Unfortunately, when I run snmptrapd I get the following error... > /usr/sbin/snmptrapd ld.so.1: /usr/sbin/snmptrapd: fatal: relocation error: file /us

Creating/compiling a home grown MIB

2004-12-16 Thread Andy Ford
I have been following the net-snmp tutorial on creating a MIB. The outline of the structure I have come up with so far is ... AC-TRAPS-MIB DEFINITIONS ::= BEGIN IMPORTS stuff FROM RFC blah actrap MODULE-IDENTITY LAST-UPDATED ORGANIZATION

Re: Perl Trap Handler and enterprise MIB lookup

2004-12-16 Thread Andy Ford
No need to respond as I have found SNMP::MIB::Compiler in CPAN that looks interesting Thanks Andy Forwarded Message From: Andy Ford <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Perl Trap Handler and enterprise MIB lookup Date: Tue, 14 Dec 2004 10:16:24 + Hi ev

Perl Trap Handler and enterprise MIB lookup

2004-12-16 Thread Andy Ford
Hi everyone I have added some extra code to the Perl Trap Handler to do the following... Determine the trap type if(trap == RFC1215 snmptrap) { 1. Lookup in a database whether the ifIndex is managed. 2. Append extra information to the trap

Re: perl traphandler fatal relocation error

2004-11-19 Thread Andy Ford
umpstarted 2.8 solaris box where it failed. Thanks for taking an intereting. Regards Andy -Original Message- From: Robert Story (Users) <[EMAIL PROTECTED]> To: Andy Ford <[EMAIL PROTECTED]> CC: Net-Snmp <[EMAIL PROTECTED]> Sent: Fri Nov 19 01:56:38 2004 Subject

SUMMARY: Re: Snmptrapd & Perl TrapReceiver failure

2004-11-16 Thread Andy Ford
I have sorted this issue now. For the history... To fix the problem I upgraded the gcc version to 3.3.2 from 3.2.2. I also added --with-perl-modules --with-cc=gcc to the end of the ./configure line. Thanks Thomas for your help Andy On Mon, 2004-11-15 at 15:30 +, Andy Ford wrote: > H

Re: Snmptrapd & Perl TrapReceiver failure

2004-11-15 Thread Andy Ford
nm /usr/lib/libnetsnmpagent.so.5 | grep netsnmp_register_null [1090] | 0| 0|NOTY |GLOB |0|UNDEF | netsnmp_register_null [1466] | 0| 0|NOTY |GLOB |0|UNDEF | netsnmp_register_null_context Regards Andy On Mon, 2004-11-15 at 15:43 +0100, Thomas Anders wrote: >

Snmptrapd & Perl TrapReceiver failure

2004-11-15 Thread Andy Ford
I am stilling having major issues running snmptrapd with the Perl TrapReceiver i.e. > snmptrapd -Le -c /etc/snmp/conf/snmptrapd.conf ld.so.1: snmptrapd: fatal: relocation error: file /usr/lib/libnetsnmpagent.so.5: symbol netsnmp_register_null: referenced symbol not found I have compiled the mos

perl traphandler fatal relocation error

2004-11-12 Thread Andy Ford
dules="host disman/event-mib ucd-snmp/diskio smux agentx mibII/mta_sendmail" --with-default-snmp-version="1" --enable-embedded-perl --enable-shared --with-sys-contact="[EMAIL PROTECTED]" --with-sys-location="customer_site" --with-logfile="/var/lo

Sending V2c Traps

2004-09-08 Thread Andy Ford
Title: Sending V2c Traps I apologise in advance if this is an obvious question…. I am decoding the trap using the perl traphandler and sending them back out to a new destination with information appended to the end of the original trap. The way I have handled it so far it to look at the snm