icingabeat/_meta/beat.yml

64 lines
2.0 KiB
YAML
Raw Normal View History

################### Icingabeat Configuration Example #########################
############################# Icingabeat ######################################
icingabeat:
# Defines the Icina API endpoint
host: "localhost"
# Defines the port of the API endpoint
port: 5665
# A user with sufficient permissions
user: "icinga"
# Password of the user
password: "icinga"
2017-01-03 09:34:48 +01:00
# Skip SSL verification
skip_ssl_verify: false
2016-12-30 14:44:23 +01:00
# Icingabeat supports capturing of an evenstream and periodical polling of the
# Icinga status data.
eventstream:
#
2016-12-30 14:44:23 +01:00
# Decide which events to receive from the event stream.
# The following event stream types are available:
#
2016-12-30 14:44:23 +01:00
# * CheckResult
# * StateChange
# * Notification
# * AcknowledgementSet
# * AcknowledgementCleared
2017-01-02 15:11:57 +01:00
# * CommentAdded (See https://github.com/Icinga/icingabeat/issues/1)
# * CommentRemoved (See https://github.com/Icinga/icingabeat/issues/1)
# * DowntimeAdded (See https://github.com/Icinga/icingabeat/issues/1)
# * DowntimeRemoved (See https://github.com/Icinga/icingabeat/issues/1)
# * DowntimeStarted (See https://github.com/Icinga/icingabeat/issues/1)
# * DowntimeTriggered (See https://github.com/Icinga/icingabeat/issues/1)
2016-12-30 14:44:23 +01:00
#
# To disable eventstream, leave the types empty or comment out the option
2016-12-30 14:44:23 +01:00
types:
- CheckResult
- StateChange
# Event streams can be filtered by attributes using the prefix 'event.'
#
# Example for the CheckResult type with the exit_code set to 2:
# filter: "event.check_result.exit_status==2"
#
# Example for the CheckResult type with the service matching the string
# pattern "mysql*":
# filter: 'match("mysql*", event.service)'
#
# To disable filtering set an empty string or comment out the filter option
filter: ""
# Defines how fast to reconnect to the API on connection loss
retry_interval: 10s
statuspoller:
# Interval at which the status API is called. Set to 0 to disable polling.
interval: 60s