File: html

package info (click to toggle)
remstats 1.00a4-8woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,576 kB
  • ctags: 1,020
  • sloc: perl: 11,706; ansic: 2,776; makefile: 944; sh: 869
file content (106 lines) | stat: -rw-r--r-- 3,616 bytes parent folder | download
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# html - web-page generation related stuff

#-------------------------------------------------------- locations ---
# the html stuff is stored under "HTMLDIR/$hostname/xxx.{html|gif|png|cgi}"
htmldir		@@HTMLDIR@@
# How to refer to the HTMLDIR in a URL
htmlurl		@@HTMLURL@@
# where is the logo for this site (a URL)
logourl		@@HTMLURL@@/IMAGES/crclogo.gif
# Where is the "home" for this site
homeurl		@@HTMLURL@@/quick-index.cgi
# Where should pages go back to for top
topurl		@@HTMLURL@@/quick-index.cgi
# Where to get remstats
srcurl		@@SRCURL@@

#----------------------------------------------------- how-to ---
# How big to make the thumbnails
thumbnail	30x30
# Where the CERN-style meta-data is stored (metadir metasuffix)
metadata	.web .meta
# Who to blame for this mess, just a bare email address, no <>
webmaster	@@WEBMASTER@@
# How often to refresh html pages
htmlrefresh	600
# Where is rrdcgi (part of rrdtool, but it could be installed anywhere)
rrdcgi		@@RRDCGI@@
# Which format to use for graphs (gif or png)
imagetype	png
# Show Indices in View pages
viewindices	yes
# Show interfaces in host pages?
showinterfaces	yes
# What tools to show for a host with none specified
default-tools	ping traceroute availability status

#------------------------------------------------------- markers ---
# What the background is to look like, gets inserted into <body XXX>
background	background="@@HTMLURL@@/IMAGES/background.jpg"

# The various statuses and how to show them
upstatus	<SPAN CLASS="UP">Up</SPAN>
upunstablestatus <SPAN CLASS="UPUNSTABLE">Up,&nbsp;unstable</SPAN>
downunstablestatus <SPAN CLASS="DOWNUNSTABLE">Down,&nbsp;unstable</SPAN>
downstatus	<SPAN CLASS="DOWN">Down</SPAN>
okstatus	<SPAN CLASS="OK">OK</SPAN>
warnstatus	<SPAN CLASS="WARN">Warning</SPAN>
errorstatus	<SPAN CLASS="ERROR">Error</SPAN>
criticalstatus	<SPAN CLASS="CRITICAL">CRITICAL</SPAN>

# These are included conditionally in web-pages

# The uptime flag appears when a host has been up less than minuptime (see general)
#uptimeflag	&nbsp;<SPAN CLASS="ALERT">*</SPAN>
uptimeflag	&nbsp;<IMG SRC="@@HTMLURL@@/IMAGES/uparrow.gif" ALT="recently rebooted" ALIGN="TOP">
# The alertflags appears when a given host has an alert of that level
alertflagwarn	&nbsp;<SPAN CLASS="WARN">A</SPAN>
alertflagerror	&nbsp;<SPAN CLASS="ERROR">A</SPAN>
alertflagcritical &nbsp;<SPAN CLASS="CRITICAL">A</SPAN>

# These next two surround the names of groups in the indices
groupprefix	<TABLE WIDTH="100%"><TR><TD BGCOLOR="#DDDDDD"><FONT="+1"><B>
groupsuffix	</B></FONT></TD></TR></TABLE>\n

# These surround an index entry in the Indices line
# indexprefix	default is a space
# indexsuffix	default is a space

# These surround a tool name
# toolprefix	default is a space
# toolsuffix	default is a space

# These surround a host entry in the quick or overall index
hostprefix	[
hostsuffix	]

# These surround the link name in the links line
# linkprefix	default is a space
# linksuffix	default is a space

#-------------------------------------------------------- labels ---
# override these to change the labels in the HTML, e.g. to translate
alertindex		Alert Index
alertreport		Alert Report
comment			Comment
contact			Contact
customindex		Custom Index
description		Description
groupindex		Group Index
hardware		Hardware
hostindex		Host Index
indices			Indices
interfaces		Interfaces
ipnumber		IP #
lastupdateon		This page last updated on
links			Links
logreport		Log Report
operatingsystem		Operating System
overallindex		Overall Index
pingindex		Ping Index
quickindex		Quick Index
rrdindex		RRD Index
status			Status
tools			Tools
uptime			Uptime