mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
updated uptime monitor example
This commit is contained in:
@@ -161,27 +161,6 @@ logging:
|
|||||||
checkForUpdatesAtBoot: true
|
checkForUpdatesAtBoot: true
|
||||||
|
|
||||||
|
|
||||||
############################
|
|
||||||
# Uptime monitor settings:
|
|
||||||
# The uptime monitor enables an API (http://localhost:8011/status) which shows the current status of BGPalerter
|
|
||||||
# If any component reports an invalid state, the "warning" field will be set to true and the HTTP status code will be 500.
|
|
||||||
#
|
|
||||||
# - active - A boolean that if set to true enables the monitor. When set to false none of the monitoring components
|
|
||||||
# and dependencies are loaded (and no port has to be open).
|
|
||||||
# - useStatusCodes - A boolean that if set to true enables HTTP status codes in the response. Nothing changes in the
|
|
||||||
# JSON output provided by the API.
|
|
||||||
# - port - The port on which the API will be reachable.
|
|
||||||
|
|
||||||
uptimeMonitor:
|
|
||||||
active: false
|
|
||||||
useStatusCodes: true
|
|
||||||
port: 8011
|
|
||||||
|
|
||||||
############################
|
|
||||||
|
|
||||||
pidFile: bgpalerter.pid
|
|
||||||
|
|
||||||
|
|
||||||
#uptimeMonitors:
|
#uptimeMonitors:
|
||||||
# - file: uptimeApi
|
# - file: uptimeApi
|
||||||
# params:
|
# params:
|
||||||
@@ -194,3 +173,5 @@ pidFile: bgpalerter.pid
|
|||||||
# url: url_to_poll
|
# url: url_to_poll
|
||||||
# intervalSeconds: 300
|
# intervalSeconds: 300
|
||||||
# method: get
|
# method: get
|
||||||
|
|
||||||
|
pidFile: bgpalerter.pid
|
||||||
|
Reference in New Issue
Block a user