maybe chmod 0644 'icinga2/features-available/command.conf'
maybe chmod 0644 'icinga2/features-available/compatlog.conf'
maybe chmod 0644 'icinga2/features-available/debuglog.conf'
+maybe chmod 0644 'icinga2/features-available/elasticsearch.conf'
maybe chmod 0644 'icinga2/features-available/gelf.conf'
maybe chmod 0644 'icinga2/features-available/graphite.conf'
maybe chmod 0644 'icinga2/features-available/influxdb.conf'
/**
- * Sample timeperiods for Icinga 2 requiring
- * 'legacy-timeperiod' template from the Icinga
- * Template Library (ITL).
+ * Sample timeperiods for Icinga 2.
* Check the documentation for details.
*/
object TimePeriod "24x7" {
- import "legacy-timeperiod"
-
display_name = "Icinga 2 24x7 TimePeriod"
ranges = {
"monday" = "00:00-24:00"
}
object TimePeriod "9to5" {
- import "legacy-timeperiod"
-
display_name = "Icinga 2 9to5 TimePeriod"
ranges = {
"monday" = "09:00-17:00"
}
object TimePeriod "never" {
- import "legacy-timeperiod"
-
display_name = "Icinga 2 never TimePeriod"
ranges = {
}
--- /dev/null
+library "perfdata"
+
+object ElasticsearchWriter "elasticsearch" {
+ //host = "127.0.0.1"
+ //port = 9200
+ //index = "icinga2"
+ //enable_send_perfdata = false
+ //flush_threshold = 1024
+ //flush_interval = 10s
+}