Re: Logfile monitoring

2007-10-03 Thread Joe Warren-Meeks
On 3 Oct 2007, at 03:45, Max wrote: > Hi, > >>> Behalf Of Joe Warren-Meeks >>> Sent: Tuesday, October 02, 2007 8:11 AM >> >>> Is it possible to configure net-snmp to tail a logfile and each time >>> it finds a regexp match, send a trap with the t

Logfile monitoring

2007-10-02 Thread Joe Warren-Meeks
Hey guys, Is it possible to configure net-snmp to tail a logfile and each time it finds a regexp match, send a trap with the text to a traphost? For example, every now and then I might get the following in my logfile: MyApplicationAlert: foo not found MyApplicationAlert: bar located So, I wa

Re: Extend and integers

2007-08-10 Thread Joe Warren-Meeks
On 10 Aug 2007, at 14:34, Dave Shield wrote:] Hey guys, > On 10/08/07, Joe Warren-Meeks <[EMAIL PROTECTED]> > wrote: >> I believe I've >> implemented this correctly, however snmpwalk still misses it.. > > Put some debugging code in

Re: sysLog facility while running snmpd

2007-08-10 Thread Joe Warren-Meeks
On 10 Aug 2007, at 12:17, Ansa Ahammed wrote: > Hi, > > While running snmpd , i want to enable sysLog facility. for that what > configuration option We have to give. > > In this command , snmpd -Ls > what the *facility* means ?? > Please give me a comment on this. Facility is a sysl

Re: Extend and integers

2007-08-10 Thread Joe Warren-Meeks
uot;integer" echo $THING fi fi === And it is called from the snmpd.conf as follows: pass .1.3.6.1.4.1.4914.1.1 /etc/snmp/mysql-jbpm-test.sh My MIB file is written as follows (and compiles ok) === HOLE-IN-THE-NET-MIB DEFINITIONS ::= BEGIN -- HOLE

Re: Extend and integers

2007-08-09 Thread Joe Warren-Meeks
And yet again to reply to myself, I've started using the PASS mechanism and writing my own MIB, which all works fine, except I've broken snmpwalking somehow. I'm getting the following: joe-warren-meeks-computer:/usr/share/snmp/mibs joe$ snmpwalk -mALL - v2c -c agood

Re: Extend and integers

2007-08-09 Thread Joe Warren-Meeks
Sorry, I should point out that I don't have the option of extending the agent using perl or C as I can't install libraries or perl modules. I need to do this in shell only, which is a pain. -- joe. On 9 Aug 2007, at 15:09, Joe Warren-Meeks wrote: > > Hey there, > >

Extend and integers

2007-08-09 Thread Joe Warren-Meeks
es, but it kept failing) Joe Warren-Meeks Nativ Systems Ltd -- _ CONSULTING · TECHNOLOGY · OUTSOURCING _ phone: +44 (0)20 7580 9488 fax:+44 (0)20