mirror of
https://github.com/Icinga/icingabeat.git
synced 2025-04-08 17:15:05 +02:00
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
################### 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"
|
|
|
|
# Skip SSL verification
|
|
skip_ssl_verify: false
|
|
|
|
# Icingabeat supports capturing of an evenstream and periodical polling of the
|
|
# Icinga status data.
|
|
eventstream:
|
|
#
|
|
# Decide which events to receive from the event stream.
|
|
# The following event stream types are available:
|
|
#
|
|
# * CheckResult
|
|
# * StateChange
|
|
# * Notification
|
|
# * AcknowledgementSet
|
|
# * AcknowledgementCleared
|
|
# * CommentAdded
|
|
# * CommentRemoved
|
|
# * DowntimeAdded
|
|
# * DowntimeRemoved
|
|
# * DowntimeStarted
|
|
# * DowntimeTriggered
|
|
#
|
|
# To disable eventstream, leave the types empty or comment out the option
|
|
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
|