mender-monitor daemon reads the configuration settings from the file
/usr/share/mender-monitor/config/config.sh. The default settings are suitable
for most use-cases, but you can adjust the following configuration variables
if you need to customize the functionalities.
The back-end URL
mender-monitor will send the alerts to.
The path to the
A string defining the log level; the possible values are:
The path to the daemon's log file.
The time interval, expressed as a number of seconds, for which we calculate the flapping rate.
The number of service state changes per
FLAPPING_INTERVAL (see above), after which we consider a service to be flapping.
The max number of seconds for which we keep the alerts in memory for flapping detection.
The maximum number of alerts to store if the device is offline.
The default alert level.
The default alert level for the log monitoring subsystem.
The default alert level for the service monitoring subsystem.
The default alert level for the D-Bus monitoring subsystem.
The default log pattern expiration period, expreessed as a number of seconds, if not set in the check configuration file with
The default number of lines sent before a line that contained a string that matched a given pattern.
The default number of lines sent after a line that contained a string that matched a given pattern.
The default number of seconds in between every attempt to resend an alert in the case of failure.
© 2023 Northern.tech AS