File: snapshot.cgi.1

package info (click to toggle)
xymon 4.3.30-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,384 kB
  • sloc: ansic: 69,137; sh: 3,601; makefile: 863; javascript: 452; perl: 48
file content (62 lines) | stat: -rw-r--r-- 1,950 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
.TH SNAPSHOT.CGI 1 "Version 4.3.30:  4 Sep 2019" "Xymon"
.SH NAME
snapshot.cgi \- CGI program to rebuild the Xymon webpages for a specific point in time.
.SH SYNOPSIS
.B "snapshot.cgi"

.SH DESCRIPTION
\fBsnapshot.cgi\fR
is invoked as a CGI script via the snapshot.sh CGI wrapper.
It rebuilds the Xymon web pages to the look they had 
at a particular point in time, based upon the historical information
logged about events.

snapshot.cgi is passed a QUERY_STRING environment variable with the
following parameters:

   mon (Start month of the snapshot)
   day (Start day-of-month of the snapshot)
   yr  (Start year of the snapshot)
   hour (Start hour of the snapshot)
   min  (Start minute of the snapshot)
   sec  (Start second of the snapshot)

The "month" parameters must be specified as the three-letter
english month name abbreviation: Jan, Feb, Mar ...

"day" must be in the range 1..31; "yr" must be specified 
including century (e.g. "2003"). "hour" must be specified 
using a 24-hour clock.

All of the processing involved in generating the report is done 
by invoking 
.I xymongen(1)
with the proper "\-\-snapshot" option.

.SH OPTIONS
.IP "\-\-env=FILENAME"
Load environment from FILENAME before executing the CGI.

.IP "xymongen-options"
All options except "\-\-env" are passed on to the 
.I xymongen(1)
program building the snapshot files.

.SH ENVIRONMENT VARIABLES
.IP XYMONGENSNAPOPTS
xymongen options passed by default to the snapshot.cgi script. 
This happens in the snapshot.sh CGI wrapper script.
.IP XYMONHOME
Home directory of the Xymon server files
.IP XYMONSNAPDIR
Directory where generated snapshots are stored. This directory must
be writable by the userid executing the CGI script, typically
"www", "apache" or "nobody". Default: $XYMONHOME/www/snap/
.IP XYMONSNAPURL
The URL prefix to use when accessing the reports via a browser.
Default: $XYMONWEB/snap


.SH "SEE ALSO"
xymongen(1), hosts.cfg(5), xymonserver.cfg(5)