More coming soon, check the Icinga2 docs or the Monitoring-Portal for info.
wget -O - https://packages.icinga.com/icinga.key | apt-key add - echo 'deb http://packages.icinga.org/ubuntu icinga-trusty main' > /etc/apt/sources.list.d/icinga-main-trusty.list apt-get update apt-get install icinga2 #ITS DEPRECATED https://github.com/icinga/icinga2/issues/5102 #Check https://lunetikk.de/doku.php?id=linux:ubuntu:icingaweb2 apt-get install icinga2-classicui
If you are not using “trusty”, get your repository here: Icinga2 - Getting Started
coming soon
more coming soon
object CheckCommand "check_nrpe" { import "plugin-check-command" command = [ PluginDir + "/check_nrpe" ] arguments = { "-H" = "$address$" "-c" = "$nrpe_command$" "-a" = "$nrpe_attributes$" "-n" = { set_if = "$nrpe_nossl$" } "-t" = { set_if = "$nrpe_timeout$" } } vars.nrpe_nossl = true vars.nrpe_timeout = false }
object CheckCommand "check_http" { import "plugin-check-command" command = [ PluginDir + "/check_http" ] arguments = { "-H" = "$http_vhost$" "-I" = "$http_address$" "-u" = { set_if = "$http_uri$" } "-p" = "$http_port$" "-S" = { set_if = "$http_ssl$" } "--sni" = { set_if = "$http_sni$" } "-a" = { value = "$http_auth_pair$" description = "Username:password on sites with basic authentication" } "--no-body" = { set_if = "$http_ignore_body$" } "-r" = "$http_expect_body_regex$" "-w" = "$http_warn_time$" "-c" = "$http_critical_time$" "-C" = "$http_critdays$" "-e" = "$http_expect$" "-s" = "$http_string$" "-f" = "$http_follow$" } vars.http_address = "$address$" vars.http_ssl = false vars.http_sni = false }
object CheckCommand "check_ssh" { import "plugin-check-command" command = [ PluginDir + "/check_ssh" ] arguments = { "-H" = "$address$" "-p" = { set_if = "$ssh_port$" } "-t" = { set_if = "$ssh_timeout$" } } vars.ssh_port = false vars.ssh_timeout = false }
object CheckCommand "check_smtp" { import "plugin-check-command" command = [ PluginDir + "/check_smtp" ] arguments = { "-H" = "$address$" "-p" = { set_if = "$smtp_port$" } "-t" = { set_if = "$smtp_timeout$" } } vars.smtp_port = false vars.smtp_timeout = false }
object CheckCommand "check_dns" { import "plugin-check-command" command = [ PluginDir + "/check_dns"] arguments = { "-H" = "$dns_host$" "-s" = "$address$" "-a" = "$dns_address$" "-t" = "$dns_timeout$" } }
object CheckCommand "check_tcp" { import "plugin-check-command" command = [ PluginDir + "/check_tcp"] arguments = { "-H" = "$tcp_address$" "-p" = "$tcp_port$" } }
object CheckCommand "check_procs" { import "plugin-check-command" command = [ PluginDir + "/check_procs" ] arguments = { "-w" = "$warn$" "-c" = "$crit$" "-C" = { set_if = "$command$" } "-a" = "$argument$" "-u" = "$user$" } }
object CheckCommand "check_fail2ban" { import "plugin-check-command" command = [ PluginDir + "/check_fail2ban" ] arguments = { "-l" = "$f2b_log$" "-p" = "$f2b_conf$" "-w" = "$f2b_warn$" "-c" = "$f2b_crit$" } }
object CheckCommand "check_esx_hardware" { import "plugin-check-command" command = [ PluginDir + "/check_esxi_hardware.py"] timeout = 4500 arguments = { "-H" = "$address$" "-U" = "$esx_user$" "-P" = "$esx_pass$" } }
object CheckCommand "check_esx_volumes" { import "plugin-check-command" command = [ PluginDir + "/check_vmware_esx.pl"] arguments = { "-H" = "$esx_address$" "-f" = "$esx_login$" "-S" = "$esx_checkstring$" "-w" = "$esx_warn$" "-c" = "$esx_crit$" } }
object CheckCommand "check_esx_snapshot" { import "plugin-check-command" command = [ PluginDir + "/check_vmware_snapshots.pl"] arguments = { "--server" = "$esx_address$" "--username" = "$esx_user$" "--password" = "$esx_pass$" "--mode" = "$esx_checkstring$" "--warning" = "$esx_warn$" "--critical" = "$esx_crit$" "--blacklist" = "$esx_blacklist$" } }
object CheckCommand "check_nwc_hardware" { import "plugin-check-command" command = [ PluginDir + "/check_nwc_health"] arguments = { "--hostname" = "$address$" "--community" = "$nwc_community$" "--mode" = "$nwc_mode$" } }
object CheckCommand "check_snmp_disk" { import "plugin-check-command" command = [ PluginDir + "/check_snmp_disk.pl"] arguments = { "-H" = "$address$" "-p" = "$community$" "-w" = "$snmpdisk_warn$" "-c" = "$snmpdisk_crit$" } }
object CheckCommand "check_snmp_load" { import "plugin-check-command" command = [ PluginDir + "/check_snmp_load.pl"] arguments = { "-H" = "$address$" "-C" = "$community$" "-w" = "$snmpload_warn$" "-c" = "$snmpload_crit$" } }
object CheckCommand "check_snmp_load" { import "plugin-check-command" command = [ PluginDir + "/check_snmp_load.pl"] arguments = { "-H" = "$address$" "-C" = "$community$" "-w" = "$snmpload_warn$" "-c" = "$snmpload_crit$" } }
Discussion