Attribute: check_command
^^^^^^^^^^^^^^^^^^^^^^^^
-Optional when not using check_type == "nagios". The check command. This command
-may use macros.
+Optional when not using the "external plugin" check type. The check command.
+This command may use macros.
Attribute: check_interval
^^^^^^^^^^^^^^^^^^^^^^^^^
}
-abstract object Service "nagios-service" {
+abstract object Service "icinga-service" {
methods = {
- check = "native::NagiosCheck"
+ check = "native::PluginCheck"
},
macros = {
}
}
-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$%",
macros += {
* This template defines some basic parameters for services that use
* external plugins for their checks.
*/
-abstract object Service "nagios-service" {
+abstract object Service "icinga-service" {
methods = {
check = "native::PluginCheck"
}
* The service template for ping checks. In an Icinga 1.x environment
* 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$%",
macros += {