<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Bjorn,</FONT></DIV>
<DIV><FONT face=Arial size=2> I have a small script that
queries the Nagios avail.cgi and builds an HTML table of availability per
hostgroup broken down into last 24 hours, last 7 days, last 30 days and last 365
days. You could email the output of this script out with a cron job to
achive the desired results. The script is attached for anyone who wants
it.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hope this is of some help,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chet Luther</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:chet@rcn.com">chet@rcn.com</A></FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=227370415-22102002><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=227370415-22102002><FONT face=Arial size=2>I wonder if there
is any possibility to generate weekly reports that are sent in an email ? The
only way I have found to do this is to make Nagios use a database and then
make a separate program that polls the database and generates the reports and
send the mails. This is IMHO not a very elegant solution but implementing it
into Nagios would mean alot more than just writing a plugin and I am not a C
programmer. Has anybody else had this problem ?</FONT></SPAN></DIV>
<DIV><SPAN class=227370415-22102002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=227370415-22102002><FONT face=Arial
size=2>--regards</FONT></SPAN></DIV>
<DIV><SPAN class=227370415-22102002><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=227370415-22102002><FONT face=Arial
size=2>/Bjorn</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>