diff options
Diffstat (limited to 'commands.conf')
-rw-r--r-- | commands.conf | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/commands.conf b/commands.conf new file mode 100644 index 0000000..ee6c1ec --- /dev/null +++ b/commands.conf @@ -0,0 +1,68 @@ +/* + * vi: ft=icinga2 + */ + + object CheckCommand "check-ipmi" { + command = [ CustomPluginDir + "/check_ipmi" ] + + arguments+={ + "-I"="$ipmi_protocol$" + "-U"="$ipmi_username$" + "-P"="$ipmi_password$" + "-L"="$ipmi_privilege_level$" + "-H"="$ipmi_address$" + } +} + +object CheckCommand "check-snmp-interface" { + command = [ CustomPluginDir + "/check_snmp_if" ] + + arguments+={ + "-H"={ + required = true + value = "$snmp_address$" + } + "-c"={ + required = true + value = "$snmp_community$" + } + "-i"={ + required = true + value = "$snmp_interface$" + } + } + vars.snmp_address = "$address$" + vars.snmp_community = "public" +} + +object CheckCommand "check-jenkins-job" { + command = [ CustomPluginDir + "/check_jenkins_job" ] + arguments += { + "-a"={ + required = true + skip_key = true + value = "$jenkins_url$" + }, + "-b"={ + required = true + skip_key = true + value = "$jenkins_view$" + }, + "-c"={ + required = true + skip_key = true + value = "$jenkins_job$" + }, + "-d"={ + required = true + skip_key = true + value = "$jenkins_user$" + }, + "-e"={ + required = true + skip_key = true + value = "$jenkins_password$" + } + } + vars.jenkins_view = "all" +} |