Perl module for log parsing

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Wed Jul 7 08:17:59 CEST 2004


Dear Sir,

I am writing to thank you for your letter and say,

On Tue, Jul 06, 2004 at 10:13:49PM -0700, nagios-users-request at lists.sourceforge.net wrote:
> 
> Message: 13
> From: "Steve Shipway" <s.shipway at auckland.ac.nz>
> Date: Wed, 7 Jul 2004 14:38:55 +1200
> Subject: [Nagios-users] Perl module for log parsing
> 
> This is a multi-part message in MIME format.
>

   .. Aargh
 
> ------=_NextPart_000_009F_01C46430.21378130
> Content-Type: text/plain;
> 	charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
> 
> Hi --
> 
> I've been searching the Net, and found perl modules for parsing the =
> Nagios
> configuration files and the status log, but nothing for parsing the =
> activity
> log (and multiple archives of it).  Therefore, I've written one...  this
> should allow some Perl-based history reporting tools.
> 

Fandamnastic.


> What I'm asking is --
> 1) has someone already done this, and I'm reinventing the wheel

I have been looking for one. 

> 2) anyone want a beta copy of the modules to try out?

Yes please; the 5.005_03 version if possible ....

> 3) anyone want to make some suggestions about useful extraction formats?
> 

CSV is pretty good or go the whole hog and use Spreadsheet::WriteExcel 
... 

Distribution options are also worth thinking about: attaching to email 
is helpful (partic CSV).

> Already I have
> 1) Nagios::ActLog object
> 2) extract list of record hashes by filter (alerts only)
> 3) extract XML of records by filter (alerts only)
> 4) (in progress) extract summary of time up/down/scheduled/etc by filter
> 

Thank you very much. This sounds a wonderful Nagios addon.

> 
> Steve
> 
> ---
> Steve Shipway: ITSS, University of Auckland
> Email: s.shipway at auckland.ac.nz  Web: http://www.steveshipway.org/ =20
> ** We can only discover new oceans when we have the **
> ** courage to lose sight of the shore.              **
> 

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list