CSV output out of availibility Reports

Stanley.Hopcroft at Dest.gov.au Stanley.Hopcroft at Dest.gov.au
Fri Apr 7 05:43:48 CEST 2006


Dear Sir,

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

>-----Original Message-----
>From: nagios-users-admin at lists.sourceforge.net 
>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of 
>nagios-users-request at lists.sourceforge.net
>Sent: Friday, 7 April 2006 13:16
>To: nagios-users at lists.sourceforge.net
>Subject: Nagios-users digest, Vol 1 #3123 - 37 msgs

 ... 

>Message: 5
>Date: Thu, 6 Apr 2006 13:16:06 +0200
>From: "Sand Philipp" <Philipp.Sand at sycor.de>
>Subject: [Nagios-users] CSV output out of availibility Reports
>
>Hi there,
>
>I remember a patch fort he avail.cgi, with which, you could 
>generate a cs= v output out of each avail.cgi report. I 
>already did some research in this list and with google, but I 
>can't fin= d the patch any more. Can anyone please give me a 
>hint, where I can download this patch? Has anyone tested this 
>patch with the new version of the avail.cgi in Nag= ios 2.1?

avail.cgi has _always_ done CSV output (as long as you choose 
all hosts or all services).

It's up to you to filter the CSV by any means you care to choose.

If you want some help, try 

- either putting all the CSV records in a DB and use SQL

  (if you are serious about reporting you prob want to do this).

- Nagios::Report

  (munges and filters the CSV from avail.cgi).

>
>Question for Ethan: why isn't this patch integrated into the 
>avail.cgi by=  default? Is this planned for a future release?

Patches welcome.

BTW, there are bugs in avail.cgi relating to scheduled down time
that are probably more important than this.

>
>Thanks in advance!

I probably didn't do your letter justice. It seems on reflection that 
you meant you want the patch for avail.cgi that generates CSV from
a specific availability report eg a new link in the report for 
a host or service that does CSV.

However, I think it has been made pretty clear from the Nag roadmap that
the CGIs have been end of lifed and will be replaced by PHP. I think
that
is a much better use of scare developer resources than trying
to fix difficult and fragile code.

As Radia Perlman said about sub-optimal routing, 'people should be
grateful
that their data is delivered at all'.

Yours sincerely.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
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