How to automate availability reports monthly ?

Hans Engelen engelenh at gmail.com
Wed Jun 28 15:22:44 CEST 2006


There is a perl module for this, which seems to do the trick pretty good.

That being said it does take a bit of trial and error to get what you need
perhaps.

The module in question is on CPAN under H/HO/HOPCROFTS/Nagios-
Report-0.002.tar.gz (at the time of this mail).

Easiest way to get and install it is using the CPAN tool that comes with
most distrubs these days :

~# perl -MCPAN -eshell
cpan> install Nagios::Report

Note that if you have never used this tool before you will get a bunch of
configuration questions the first time. The options are well explained so
this should be easy.

The only problem with this setup is if you have Nagios installed via the
rpm's made by Dag. The paths are different and Nagios::Report uses the
default paths to find the Nagios CGI applications from which it gets its
info. (So it does not need a DB or somesuch).

There are also a number of examples that come with the package, those you
can still find in the CPAN tools cache (~/.cpan usually). You could also
recompile the module from there should you need to.

Cheers,
Hans


On 6/27/06, lobo epx <lobo.epx at gmail.com> wrote:
>
> Hello,
> I generate availability reports in CSV format each month, and i try to
> find if it is possible to automate this sytem (in command-line or anything
> else), and to save the report directly in a file.
> Is there any solution ?
> My Nagios version is 2.2-1, Debian Etch
>
>
> Thanks,
>
> lobo.epx at gmail.com
>
>
>
>
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060628/cec1dc01/attachment.html>
-------------- next part --------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
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