sample config: add check commands location hint (itl/plugin check commands)

fixes #6713
This commit is contained in:
Michael Friedrich 2014-07-12 13:30:51 +02:00
parent 107757be3c
commit af2645d7c1
11 changed files with 52 additions and 2 deletions

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `disk` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "disk" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `http` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "http" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `icinga` is provided by
* the icinga template library.
* Check the documentation for details.
*/
object Service "icinga" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `load` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "load" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `procs` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "procs" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `ssh` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "ssh" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `swap` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "swap" {
import "generic-service"

View File

@ -1,3 +1,8 @@
/*
* The CheckCommand object `users` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
object Service "users" {
import "generic-service"

View File

@ -4,7 +4,11 @@
* Only applied if host objects are members of
* the groups `linux-server` or `windows-server`
* and having the `address` resp. `address6`
* attribute set.
* attribute set.
*
* The CheckCommand objects `ping4` and `ping6`
* are provided by the plugin check command templates.
* Check the documentation for details.
*/
apply Service "ping4" {

View File

@ -6,6 +6,10 @@
/**
* Provides default settings for hosts. By convention
* all hosts should import this template.
*
* The CheckCommand object `hostalive` is provided by
* the plugin check command templates.
* Check the documentation for details.
*/
template Host "generic-host" {
max_check_attempts = 5

View File

@ -1,6 +1,8 @@
/**
* Sample timeperiods for Icinga 2 requiring
* 'legacy-timeperiod' template from the ITL.
* 'legacy-timeperiod' template from the Icinga
* Template Library (ITL).
* Check the documentation for details.
*/
object TimePeriod "24x7" {