mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 14:14:45 +02:00
Removed references to Nagios from the example config.
This commit is contained in:
parent
980913d980
commit
0d77919057
@ -523,8 +523,8 @@ supported ("native::PluginCheck").
|
|||||||
Attribute: check_command
|
Attribute: check_command
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Optional when not using check_type == "nagios". The check command. This command
|
Optional when not using the "external plugin" check type. The check command.
|
||||||
may use macros.
|
This command may use macros.
|
||||||
|
|
||||||
Attribute: check_interval
|
Attribute: check_interval
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
@ -731,9 +731,9 @@ local object Component "delegation" {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract object Service "nagios-service" {
|
abstract object Service "icinga-service" {
|
||||||
methods = {
|
methods = {
|
||||||
check = "native::NagiosCheck"
|
check = "native::PluginCheck"
|
||||||
},
|
},
|
||||||
|
|
||||||
macros = {
|
macros = {
|
||||||
@ -741,7 +741,7 @@ abstract object Service "nagios-service" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
abstract object Service "ping" inherits "nagios-service" {
|
abstract object Service "ping" inherits "icinga-service" {
|
||||||
check_command = "$plugindir$/check_ping -H $address$ -w $wrta$,$wpl$% -c $crta$,$cpl$%",
|
check_command = "$plugindir$/check_ping -H $address$ -w $wrta$,$wpl$% -c $crta$,$cpl$%",
|
||||||
|
|
||||||
macros += {
|
macros += {
|
||||||
|
@ -44,7 +44,7 @@ local object Component "compat" {
|
|||||||
* This template defines some basic parameters for services that use
|
* This template defines some basic parameters for services that use
|
||||||
* external plugins for their checks.
|
* external plugins for their checks.
|
||||||
*/
|
*/
|
||||||
abstract object Service "nagios-service" {
|
abstract object Service "icinga-service" {
|
||||||
methods = {
|
methods = {
|
||||||
check = "native::PluginCheck"
|
check = "native::PluginCheck"
|
||||||
}
|
}
|
||||||
@ -54,7 +54,7 @@ abstract object Service "nagios-service" {
|
|||||||
* The service template for ping checks. In an Icinga 1.x environment
|
* The service template for ping checks. In an Icinga 1.x environment
|
||||||
* this would be defined as a check command.
|
* this would be defined as a check command.
|
||||||
*/
|
*/
|
||||||
abstract object Service "ping" inherits "nagios-service" {
|
abstract object Service "ping" inherits "icinga-service" {
|
||||||
check_command = "$plugindir$/check_ping -H $address$ -w $wrta$,$wpl$% -c $crta$,$cpl$%",
|
check_command = "$plugindir$/check_ping -H $address$ -w $wrta$,$wpl$% -c $crta$,$cpl$%",
|
||||||
|
|
||||||
macros += {
|
macros += {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user