"Fossies" - the Fresh Open Source Software Archive

Member "xymon-4.3.30/docs/manpages/man1/reportlog.cgi.1.html" (4 Sep 2019, 3226 Bytes) of package /linux/privat/xymon-4.3.30.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 <HTML><HEAD><TITLE>Manpage of REPORTLOG.CGI</TITLE>
    3 </HEAD><BODY>
    4 <H1>REPORTLOG.CGI</H1>
    5 Section: User Commands  (1)<BR>Updated: Version 4.3.30:  4 Sep 2019<BR><A HREF="#index">Index</A>
    6 <A HREF="../index.html">Return to Main Contents</A><HR>
    7 
    8 <A NAME="lbAB">&nbsp;</A>
    9 <H2>NAME</H2>
   10 
   11 reportlog.cgi - CGI program to report service availability log
   12 <A NAME="lbAC">&nbsp;</A>
   13 <H2>SYNOPSIS</H2>
   14 
   15 <B>reportlog.cgi</B>
   16 
   17 <P>
   18 <A NAME="lbAD">&nbsp;</A>
   19 <H2>DESCRIPTION</H2>
   20 
   21 <B>reportlog.cgi</B>
   22 is invoked as a CGI script via the reportlog.sh CGI wrapper.
   23 Based on the parameters it receives, it generates an
   24 availability report for a specific host-service combination
   25 for the requested time-period. The availability report 
   26 includes a calculation of the availability percentage (split
   27 out on percent green, yellow, red time), and an eventlog for
   28 the period listing the status changes that have occurred to
   29 allow for drill-down to the test reports that indicate a
   30 problem. Access to the individual historical status logs
   31 go via the
   32 <I><A HREF="../man1/svcstatus.cgi.1.html">svcstatus.cgi</A>(1)</I>
   33 
   34 CGI script.
   35 <P>
   36 reportlog.cgi is passed a QUERY_STRING environment variable 
   37 with the following parameters:
   38 <P>
   39 <BR>&nbsp;&nbsp;&nbsp;HOSTSVC&nbsp;(the&nbsp;host&nbsp;and&nbsp;service&nbsp;to&nbsp;report&nbsp;on)
   40 <BR>&nbsp;&nbsp;&nbsp;STYLE&nbsp;(report&nbsp;style:&nbsp;&quot;crit&quot;,&nbsp;&quot;non-crit&quot;,&nbsp;&quot;all&quot;)
   41 <BR>&nbsp;&nbsp;&nbsp;ST&nbsp;(starttime&nbsp;in&nbsp;seconds&nbsp;since&nbsp;1-1-1970&nbsp;00:00&nbsp;UTC)
   42 <BR>&nbsp;&nbsp;&nbsp;END&nbsp;(endtime&nbsp;in&nbsp;seconds&nbsp;since&nbsp;1-1-1970&nbsp;00:00&nbsp;UTC)
   43 <P>
   44 The following non-standard parameters are handled by the
   45 Xymon version of history.cgi:
   46 <P>
   47 <BR>&nbsp;&nbsp;&nbsp;IP&nbsp;(IP&nbsp;address&nbsp;of&nbsp;host&nbsp;-&nbsp;for&nbsp;display&nbsp;purposes&nbsp;only)
   48 <BR>&nbsp;&nbsp;&nbsp;REPORTTIME&nbsp;(the&nbsp;REPORTTIME:&nbsp;setting&nbsp;for&nbsp;this&nbsp;host)
   49 <BR>&nbsp;&nbsp;&nbsp;WARNPCT&nbsp;(the&nbsp;WARNPCT:&nbsp;setting&nbsp;for&nbsp;this&nbsp;host)
   50 <P>
   51 The REPORTTIME and WARNPCT options are taken from the
   52 <I><A HREF="../man5/hosts.cfg.5.html">hosts.cfg</A>(5)</I>
   53 
   54 definition for the host, or the defaults are used. These
   55 modify the availability calculation to handle reporting
   56 against agreed Service Level Agreements re. the time of
   57 day when the service must be available, and the agreed
   58 availability level.
   59 <P>
   60 <A NAME="lbAE">&nbsp;</A>
   61 <H2>OPTIONS</H2>
   62 
   63 <DL COMPACT>
   64 <DT>--env=FILENAME<DD>
   65 Loads environment from FILENAME before executing the CGI.
   66 <P>
   67 </DL>
   68 <A NAME="lbAF">&nbsp;</A>
   69 <H2>SEE ALSO</H2>
   70 
   71 <A HREF="../man5/hosts.cfg.5.html">hosts.cfg</A>(5), <A HREF="../man5/xymonserver.cfg.5.html">xymonserver.cfg</A>(5), <A HREF="../man1/svcstatus.cgi.1.html">svcstatus.cgi</A>(1)
   72 <P>
   73 <P>
   74 
   75 <HR>
   76 <A NAME="index">&nbsp;</A><H2>Index</H2>
   77 <DL>
   78 <DT><A HREF="#lbAB">NAME</A><DD>
   79 <DT><A HREF="#lbAC">SYNOPSIS</A><DD>
   80 <DT><A HREF="#lbAD">DESCRIPTION</A><DD>
   81 <DT><A HREF="#lbAE">OPTIONS</A><DD>
   82 <DT><A HREF="#lbAF">SEE ALSO</A><DD>
   83 </DL>
   84 <HR>
   85 This document was created by
   86 <A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
   87 using the manual pages.<BR>
   88 Time: 23:08:12 GMT, September 04, 2019
   89 </BODY>
   90 </HTML>