Logger Configuration
Loggers record the state of every monitor after each interval.
Loggers are defined in the main configuration file, which by default is monitor.ini
. The section name is the name of your logger, which you should then add to the loggers
configuration value.
Common options
These options are common to all logger types.
- type
- Type:
string
- Required:
true
the type of the logger; one of those in the list below.
- depend
- Type:
comma-separated list of string
- Required:
false
- Default:
none
a list of monitors this logger depends on. If any of them fail, no attempt will be made to log.
- groups
- Type:
comma-separated list of string
- Required:
false
- Default:
default
list of monitor groups this logger should record. Use the special value
_all
to match all groups. See the group setting for monitors.
- tz
- Type:
string
- Required:
false
- Default:
UTC
the timezone to convert date/times to
Loggers
Note
The type
of the logger is the first word in its heading.