40 lines
779 B
Plaintext
40 lines
779 B
Plaintext
/*
|
|
* Generic template examples.
|
|
*/
|
|
|
|
|
|
/**
|
|
* 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 = 3
|
|
check_interval = 1m
|
|
retry_interval = 30s
|
|
|
|
check_command = "hostalive"
|
|
}
|
|
|
|
/**
|
|
* Provides default settings for services. By convention
|
|
* all services should import this template.
|
|
*/
|
|
template Service "generic-service" {
|
|
max_check_attempts = 5
|
|
check_interval = 1m
|
|
retry_interval = 30s
|
|
}
|
|
|
|
/**
|
|
* Provides default settings for users. By convention
|
|
* all users should inherit from this template.
|
|
*/
|
|
|
|
template User "generic-user" {
|
|
|
|
}
|