mirror of https://github.com/Icinga/icinga2.git
sample config: add check commands location hint (itl/plugin check commands)
fixes #6713
This commit is contained in:
parent
107757be3c
commit
af2645d7c1
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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" {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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" {
|
||||
|
|
Loading…
Reference in New Issue