Using the avail.cgi script for reporting

Garrett, Matt M SITI-ITDIEEE Matt.M.Garrett at is.shell.com
Fri Feb 21 09:57:49 CET 2003


> Subject: Re: [Nagios-users] Using the avail.cgi script for reporting
>
> I got a script from Chet Luther, modified it heavily and now it looks
> something like what I have below.  You obviously can format the output
> however you wish.  I used this just for testing the functionality so I
> suggest using your own formatting.  The main line to pay 
> attention to is
> the "my $request" variable which does a "GET".  I've used this idea to
> output the data to a CSV file, and just dump it to a hash and 
> formatted
> the output within the script.
> 
> Hope this helps..... also attached the file in-case email 
> screws up the
> formatting.
> 
> SNIP Script
Wow that works just great , nice to see
Just one small thing any idea how to modify it so it does a data range as
well
e.g from 01 01 2003 to 01 31 2003
But still to keep the time range as well.

As my Management seem to be bent on SLA reports.............

Matt 


Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Loirston House, Wellington Road, Altens, Aberdeen AB12 3BH

Tel: +44 (0)1224 21 7515 Other Tel: Internal 639 7515
Email: Matt.M.Garrett at is.shell.com
Internet: http://www.shell.com




-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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