2016-12-02 11:51:44 +01:00
|
|
|
################### Icingabeat Configuration Example #########################
|
|
|
|
|
|
|
|
############################# Icingabeat ######################################
|
|
|
|
|
|
|
|
icingabeat:
|
2016-12-30 13:37:43 +01:00
|
|
|
|
2017-03-22 16:47:07 +01:00
|
|
|
# Defines the Icinga API endpoint
|
2016-12-30 14:44:23 +01:00
|
|
|
host: "localhost"
|
2016-12-30 13:37:43 +01:00
|
|
|
|
|
|
|
# Defines the port of the API endpoint
|
2016-12-21 17:23:49 +01:00
|
|
|
port: 5665
|
2016-12-30 13:37:43 +01:00
|
|
|
|
|
|
|
# A user with sufficient permissions
|
2016-12-30 14:44:23 +01:00
|
|
|
user: "icinga"
|
2016-12-30 13:37:43 +01:00
|
|
|
|
|
|
|
# Password of the user
|
2016-12-08 17:19:25 +01:00
|
|
|
password: "icinga"
|
2016-12-02 11:51:44 +01:00
|
|
|
|
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:
|
2017-01-03 10:05:23 +01:00
|
|
|
#
|
2016-12-30 14:44:23 +01:00
|
|
|
# Decide which events to receive from the event stream.
|
|
|
|
# The following event stream types are available:
|
2017-01-03 10:05:23 +01:00
|
|
|
#
|
2016-12-30 14:44:23 +01:00
|
|
|
# * CheckResult
|
|
|
|
# * StateChange
|
|
|
|
# * Notification
|
|
|
|
# * AcknowledgementSet
|
|
|
|
# * AcknowledgementCleared
|
2017-01-27 13:58:49 +01:00
|
|
|
# * CommentAdded
|
|
|
|
# * CommentRemoved
|
|
|
|
# * DowntimeAdded
|
|
|
|
# * DowntimeRemoved
|
|
|
|
# * DowntimeStarted
|
|
|
|
# * DowntimeTriggered
|
2016-12-30 14:44:23 +01:00
|
|
|
#
|
2017-01-03 10:05: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
|
2016-12-30 13:37:43 +01:00
|
|
|
|
2017-01-02 15:11:57 +01:00
|
|
|
# Event streams can be filtered by attributes using the prefix 'event.'
|
2016-12-30 16:00:50 +01:00
|
|
|
#
|
|
|
|
# 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)'
|
|
|
|
#
|
2017-01-03 10:05:23 +01:00
|
|
|
# To disable filtering set an empty string or comment out the filter option
|
2016-12-30 16:00:50 +01:00
|
|
|
filter: ""
|
|
|
|
|
2017-01-18 16:54:49 +01:00
|
|
|
# Defines how fast to reconnect to the API on connection loss
|
|
|
|
retry_interval: 10s
|
|
|
|
|
2017-01-03 16:36:39 +01:00
|
|
|
statuspoller:
|
|
|
|
# Interval at which the status API is called. Set to 0 to disable polling.
|
|
|
|
interval: 60s
|
|
|
|
|
2016-12-02 11:51:44 +01:00
|
|
|
#================================ General =====================================
|
|
|
|
|
|
|
|
# The name of the shipper that publishes the network data. It can be used to group
|
|
|
|
# all the transactions sent by a single shipper in the web interface.
|
|
|
|
#name:
|
|
|
|
|
|
|
|
# The tags of the shipper are included in their own field with each
|
|
|
|
# transaction published.
|
|
|
|
#tags: ["service-X", "web-tier"]
|
|
|
|
|
|
|
|
# Optional fields that you can specify to add additional information to the
|
|
|
|
# output.
|
|
|
|
#fields:
|
|
|
|
# env: staging
|
|
|
|
|
|
|
|
#================================ Outputs =====================================
|
|
|
|
|
|
|
|
# Configure what outputs to use when sending the data collected by the beat.
|
|
|
|
# Multiple outputs may be used.
|
|
|
|
|
|
|
|
#-------------------------- Elasticsearch output ------------------------------
|
|
|
|
output.elasticsearch:
|
|
|
|
# Array of hosts to connect to.
|
2016-12-30 14:44:23 +01:00
|
|
|
hosts: ["localhost:9200"]
|
2016-12-02 11:51:44 +01:00
|
|
|
|
|
|
|
# Optional protocol and basic auth credentials.
|
|
|
|
#protocol: "https"
|
|
|
|
#username: "elastic"
|
|
|
|
#password: "changeme"
|
|
|
|
|
|
|
|
#----------------------------- Logstash output --------------------------------
|
|
|
|
#output.logstash:
|
|
|
|
# The Logstash hosts
|
|
|
|
#hosts: ["localhost:5044"]
|
|
|
|
|
|
|
|
# Optional SSL. By default is off.
|
|
|
|
# List of root certificates for HTTPS server verifications
|
|
|
|
#ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]
|
|
|
|
|
|
|
|
# Certificate for SSL client authentication
|
|
|
|
#ssl.certificate: "/etc/pki/client/cert.pem"
|
|
|
|
|
|
|
|
# Client Certificate Key
|
|
|
|
#ssl.key: "/etc/pki/client/cert.key"
|
|
|
|
|
|
|
|
#================================ Logging =====================================
|
|
|
|
|
|
|
|
# Sets log level. The default log level is info.
|
|
|
|
# Available log levels are: critical, error, warning, info, debug
|
|
|
|
#logging.level: debug
|
|
|
|
|
|
|
|
# At debug level, you can selectively enable logging only for some components.
|
|
|
|
# To enable all selectors use ["*"]. Examples of other selectors are "beat",
|
|
|
|
# "publish", "service".
|
|
|
|
#logging.selectors: ["*"]
|