[Xymon] Current status + availability reports
Ralph Mitchell
ralphmitchell at gmail.com
Tue Sep 23 03:46:34 CEST 2014
I have a cgi script that uses the xymon xymondboard command to get a list
of the servers that have the sslcert column, extracts the certificate
information and constructs a table of the urls, certificates and expiry
dates. I don't have the script handy here, but essentially it does
something like this:
xymon localhost "xymondboard test=sslcert fields=hostname" | while
read hostname
do
MSG=`xymon localhost "xymondlog $hostname.sslcert"`
[ do stuff to process $MSG ]
done
[ post process the collected data ]
It doesn't create a Xymon page, it just emits the necessary headers for a
browser to receive a page, followed by a a big html <table>, with options
to sort by different columns, or download as a CSV.
This is all done on-demand, whenever anyone visits the CGI link. Obviously
something similar could be run from cron, stuffing the extracted
information into a database for later queries to generate monthly,
quarterly and yearly reports.
Ralph Mitchell
On Mon, Sep 22, 2014 at 6:30 PM, Tracy Di Marco White <gendalia at iastate.edu>
wrote:
> I'd like to have a page that has the current status of a set of combo
> tests (all called 'health') and next to that columns for yesterday's
> availability report, last 30 days, last month, and year to date.
>
> Has anyone done something like that already?
>
> -Tracy
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140922/0a3972f0/attachment.html>
More information about the Xymon
mailing list