The Configuration Directory
The run-time configuration of remstats is done through a directory-tree of files.
The current tree structure is:
configdir
+--- access
+--- alert-template-map
+--- alert-destination-map
+--- alert-templates
| +--- template1
| +--- template2
| ...
+--- alerts
+--- archives
+--- availability
+--- colors
+--- customgraphs
| +--- graph1
| +--- graph2
| ...
+--- dbi-connects
| +--- connect1
| +--- connect2
| ...
+--- dbi-selects
| +--- select1
| +--- select2
| ...
+--- discovery
+--- environment
+--- general
+--- groups
+--- host-templates
| +--- host-template1
| +--- host-template2
| ...
+--- hosts
| +--- host1
| +--- host2
| ...
+--- html
+--- links
+--- ntops
+--- oids
+--- page-templates
| +--- page-template1
| +--- page-template2
| ...
+--- pages
+--- remotepings
+--- rrds
| +--- rrd1
| +--- rrd2
| ...
+--- run
+--- run-stages
| +--- stage1
| +--- stage2
| ...
+--- scripts
| +--- script1
| +--- script2
| ...
+--- times
+--- tools
+--- view-templates
| +--- template1
| +--- template2
| ...
+--- views
| +--- view1
| +--- view1
| ...
(You can look at the base configuration directory if
you want, but you should also read through this so you know the
significance of what you see.
Almost all the configuration files allow both blank lines and comment-lines.
A comment-line begins with a # and the whole line is ignored by
remstats. Inline comments are not permitted as the '#' is used
in some places for other purposes. The only files which don't permit comments
are the view-templates
, which are html.
alert-templates
, customgraphs
, dbi-connects
, dbi-selects
,
hosts
, host-templates
, rrds
, run-stages
, scripts
,
views
and view-templates
are sub-directories with the files within
describing one of that kind of entity. E.G. a file in the hosts
sub-directory is named for the host and contains that host's configuration.
NOTE: within the sub-directories, files with names beginning with 'IGNORE-'
or ending with '~', will be ignored.
There are also a few tools to help
you make and update your config-dir, although not all parts of it.
[