diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 26d1b88138..774e8524b8 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -3753,44 +3753,6 @@ Name | Description ---------------------------|------------- running\_kernel\_use\_sudo | Whether to run the plugin with `sudo`. Defaults to false except on Ubuntu where it defaults to true. -#### iostats - -The [check_iostats](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats) plugin -uses the `iostat` binary to monitor I/O on a Linux host. The default thresholds are rather high -so you can use a grapher for baselining before setting your own. - -Custom variables passed as [command parameters](03-monitoring-basics.md#command-passing-parameters): - -Name | Description ----------------|----------------------------------------------------------------------------------------------------------------------- -iostats\_disk | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda). -iostats\_warning\_tps | **Required.** Warning threshold for tps (default: 3000). -iostats\_warning\_read | **Required.** Warning threshold for KB/s reads (default: 50000). -iostats\_warning\_write | **Required.** Warning threshold for KB/s writes (default: 10000). -iostats\_warning\_wait | **Required.** Warning threshold for % iowait (default: 50). -iostats\_critical\_tps | **Required.** Critical threshold for tps (default: 5000). -iostats\_critical\_read | **Required.** Critical threshold for KB/s reads (default: 80000). -iostats\_critical\_write | **Required.** Critical threshold for KB/s writes (default: 25000). -iostats\_critical\_wait | **Required.** Critical threshold for % iowait (default: 80). - -#### iostat - -The [check_iostat](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostat) plugin -uses the `iostat` binary to monitor disk I/O on a Linux host. The default thresholds are rather high -so you can use a grapher for baselining before setting your own. - -Custom variables passed as [command parameters](03-monitoring-basics.md#command-passing-parameters): - -Name | Description ----------------|----------------------------------------------------------------------------------------------------------------------- -iostat\_disk | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda). -iostat\_wtps | **Required.** Warning threshold for tps (default: 100). -iostat\_wread | **Required.** Warning threshold for KB/s reads (default: 100). -iostat\_wwrite | **Required.** Warning threshold for KB/s writes (default: 100). -iostat\_ctps | **Required.** Critical threshold for tps (default: 200). -iostat\_cread | **Required.** Critical threshold for KB/s reads (default: 200). -iostat\_cwrite | **Required.** Critical threshold for KB/s writes (default: 200). - #### systemd The [check_systemd](https://github.com/Josef-Friedrich/check_systemd) plugin diff --git a/itl/plugins-contrib.d/operating-system.conf b/itl/plugins-contrib.d/operating-system.conf index 41a46e8f94..6d7589f52f 100644 --- a/itl/plugins-contrib.d/operating-system.conf +++ b/itl/plugins-contrib.d/operating-system.conf @@ -127,69 +127,4 @@ object CheckCommand "yum" { vars.yum_no_warn_on_updates = false timeout = 5m -} - -object CheckCommand "iostat" { - command = [ PluginContribDir + "/check_iostat" ] - - arguments = { - "-d" = { - value = "$iostat_disk$" - description = "Device to check without path. e.g. sda" - } - "-w" = { - value ="$iostat_wtps$,$iostat_wread$,$iostat_wwrite$" - description = "warning threshold for tps, KB_read/s and KB_written/s" - } - "-c" = { - value ="$iostat_ctps$,$iostat_cread$,$iostat_cwrite$" - description = "warning threshold for tps, KB_read/s and KB_written/s" - } - } - - vars.iostat_disk = "sda" - vars.iostat_wtps = 100 - vars.iostat_wread = 100 - vars.iostat_wwrite = 100 - vars.iostat_ctps = 200 - vars.iostat_cread = 200 - vars.iostat_cwrite = 200 -} - -object CheckCommand "iostats" { - command = [ PluginContribDir + "/check_iostats" ] - - arguments = { - "-d" = { - value = "$iostats_disk$" - description = "Device to check without path. e.g. sda" - } - "-w" = { - value ="$iostats_warning_tps$,$iostats_warning_read$,$iostats_warning_write$" - description = "Sets the WARNING level for tps, KB_read/s and KB_written/s, respectively" - } - "-c" = { - value ="$iostats_critical_tps$,$iostats_critical_read$,$iostats_critical_write$" - description = "Sets the CRITICAL level for tps, KB_read/s and KB_written/s, respectively" - } - "-W" = { - value ="$iostats_warning_wait$" - description = "Sets the WARNING level for iowait" - } - - "-C" = { - value ="$iostats_critical_wait$" - description = "Sets the CRITICAL level for iowait" - } - } - - vars.iostats_disk = "sda" - vars.iostats_warning_tps = 3000 - vars.iostats_warning_read = 50000 - vars.iostats_warning_write = 10000 - vars.iostats_warning_wait = 50 - vars.iostats_critical_tps = 5000 - vars.iostats_critical_read = 80000 - vars.iostats_critical_write = 25000 - vars.iostats_critical_wait = 80 -} +} \ No newline at end of file