NAME
report.cgi - CGI front-end to xymongen reportingSYNOPSIS
report.cgi [--noclean] [xymongen-options]DESCRIPTION
report.cgi is invoked as a CGI script via the report.sh CGI wrapper. It triggers the generation of a Xymon availability report for the timeperiod specified by the CGI parameters.start-mon (Start month of the report)
start-day (Start day-of-month of the report)
start-yr (Start year of the report)
end-mon (End month of the report)
end-day (End day-of-month of the report)
end-yr (End year of the report)
style (Report style)
suburl (Page in report to go to, if not the top page)
OPTIONS
- --noclean
- Do not clean the XYMONREPDIR directory of old reports. Makes the report-tool go a bit faster - instead, you can clean up the XYMONREPDIR directory e.g. via a cron-job.
- --env=FILENAME
- Load the environment from FILENAME before executing the CGI.
- xymongen-options
- All other options passed to report.cgi are passed on to the xymongen(1) program building the report files.
FILES
- $XYMONHOME/web/report_header
- HTML template header for the report request form
- $XYMONHOME/web/report_footer
- HTML template footer for the report request form
- $XYMONHOME/web/report_form
- HTML template report request form
ENVIRONMENT VARIABLES
- XYMONGENREPOPTS
- xymongen options passed by default to the report.cgi. This happens in the report.sh wrapper.
- XYMONHOME
- Home directory of the Xymon server installation
- XYMONREPDIR
- Directory where generated reports are stored. This directory must be writable by the userid executing the CGI script, typically "www", "apache" or "nobody". Default: $XYMONHOME/www/rep/
- XYMONREPURL
- The URL prefix to use when accessing the reports via a browser. Default: $XYMONWEB/rep
SEE ALSO
xymongen(1), hosts.cfg(5), xymonserver.cfg(5)Version 4.3.30: 4 Sep 2019 | Xymon |