icinga2/itl/plugins-contrib.d/network-services.conf

67 lines
1.4 KiB
Plaintext

object CheckCommand "kdc" {
import "plugin-check-command"
import "ipv4-or-ipv6"
command = [ PluginContribDir + "/check_kdc" ]
arguments = {
"-H" = {
value = "$kdc_address$"
description = "Name or IP address of KDC to check."
}
"-P" = {
value = "$kdc_port$"
description = "Port on which KDC runs (default 88)."
}
"-p" = {
value = "$kdc_principal$"
description = "Principal name to authenticate as (including realm)."
required = true
}
"-k" = {
value = "$kdc_keytab$"
description = "Keytab file containing principal's key."
required = true
}
}
vars.kdc_address = "$check_address$"
}
object CheckCommand "rbl" {
import "plugin-check-command"
import "ipv4-or-ipv6"
command = [ PluginContribDir + "/check_rbl" ]
arguments = {
"-H" = {
value = "$rbl_hostname$"
description = "Name or IP address of SMTP server to check."
}
"-s" = {
value = "$rbl_server$"
description = "List of RBL servers as an array."
required = true
repeat_key = true
}
"-w" = {
value = "$rbl_warning$"
description = "Number of blacklisting servers for a warning."
}
"-c" = {
value = "$rbl_critical$"
description = "Number of blacklisting servers for a critical."
}
"-t" = {
value = "$rbl_timeout$"
description = "Seconds before plugin times out (default: 15)."
}
}
vars.rbl_hostname = "$check_address$"
vars.rbl_timeout = 15
vars.rbl_warning = 1
vars.rbl_critical = 1
}