This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:ubuntu:icinga2 [2017/06/19 11:10] – lunetikk | linux:ubuntu:icinga2 [2018/12/20 17:45] (current) – Discussion status changed lunetikk | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| More coming soon, check the Icinga2 docs or the Monitoring-Portal for info. | More coming soon, check the Icinga2 docs or the Monitoring-Portal for info. | ||
| - | [[http:// | + | [[http:// |
| [[http:// | [[http:// | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | coming soon | + | < |
| + | wget -O - https:// | ||
| + | echo 'deb http:// | ||
| + | apt-get update | ||
| + | apt-get install icinga2 | ||
| + | |||
| + | #ITS DEPRECATED https:// | ||
| + | #Check https:// | ||
| + | apt-get install icinga2-classicui | ||
| + | </ | ||
| + | |||
| + | If you are not using " | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| Line 16: | Line 27: | ||
| ==== .conf-files ==== | ==== .conf-files ==== | ||
| - | coming soon | + | more coming soon |
| + | |||
| + | === Checkcommands === | ||
| + | |||
| + | == check_nrpe == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | |||
| + | command = [ PluginDir + "/ | ||
| + | |||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | | ||
| + | } | ||
| + | " | ||
| + | | ||
| + | } | ||
| + | } | ||
| + | |||
| + | vars.nrpe_nossl = true | ||
| + | vars.nrpe_timeout = false | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_http == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | |||
| + | command = [ PluginDir + "/ | ||
| + | |||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | |||
| + | " | ||
| + | |||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | |||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | |||
| + | " | ||
| + | value = " | ||
| + | description = " | ||
| + | } | ||
| + | |||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | |||
| + | } | ||
| + | |||
| + | vars.http_address = " | ||
| + | vars.http_ssl = false | ||
| + | vars.http_sni = false | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_ssh == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | |||
| + | command = [ PluginDir + "/ | ||
| + | |||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | } | ||
| + | |||
| + | vars.ssh_port = false | ||
| + | vars.ssh_timeout = false | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_smtp == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | |||
| + | command = [ PluginDir + "/ | ||
| + | |||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | } | ||
| + | |||
| + | vars.smtp_port = false | ||
| + | vars.smtp_timeout = false | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_dns == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_tcp == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_procs == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | |||
| + | command = [ PluginDir + "/ | ||
| + | |||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | set_if = " | ||
| + | } | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_fail2ban == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | |||
| + | command = [ PluginDir + "/ | ||
| + | |||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_esx_hardware == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | timeout = 4500 | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_esx_volumes == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_vmware_snapshots == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_nwc_hardware == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_snmp_disk == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_snmp_load == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | == check_snmp_zpool == | ||
| + | |||
| + | < | ||
| + | object CheckCommand " | ||
| + | import " | ||
| + | command = [ PluginDir + "/ | ||
| + | arguments = { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | |||
| + | } | ||
| + | </ | ||
| === Conditions === | === Conditions === | ||
| Line 38: | Line 354: | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | ~~DISCUSSION~~ | + | ~~DISCUSSION:closed~~ |