]> granicus.if.org Git - icinga2/blob - doc/10-icinga-template-library.md
Unify documentation code formatting
[icinga2] / doc / 10-icinga-template-library.md
1 # Icinga Template Library <a id="icinga-template-library"></a>
2
3 The Icinga Template Library (ITL) implements standard templates
4 and object definitions.
5
6 There is a subset of templates and object definitions available:
7
8 * [Generic ITL templates](10-icinga-template-library.md#itl-generic-templates)
9 * [CheckCommand definitions for Icinga 2](10-icinga-template-library.md#itl-check-commands) (this includes [icinga](10-icinga-template-library.md#itl-icinga),
10 [cluster](10-icinga-template-library.md#itl-icinga-cluster), [cluster-zone](10-icinga-template-library.md#itl-icinga-cluster-zone), [ido](10-icinga-template-library.md#itl-icinga-ido), etc.)
11 * [CheckCommand definitions for Monitoring Plugins](10-icinga-template-library.md#plugin-check-commands-monitoring-plugins)
12 * [CheckCommand definitions for Icinga 2 Windows Plugins](10-icinga-template-library.md#windows-plugins)
13 * [CheckCommand definitions for NSClient++](10-icinga-template-library.md#nscp-plugin-check-commands)
14 * [CheckCommand definitions for Manubulon SNMP](10-icinga-template-library.md#snmp-manubulon-plugin-check-commands)
15 * [Contributed CheckCommand definitions](10-icinga-template-library.md#plugin-contrib)
16
17 The ITL content is updated with new releases. Please do not modify
18 templates and/or objects as changes will be overridden without
19 further notice.
20
21 You are advised to create your own CheckCommand definitions in
22 `/etc/icinga2`.
23
24 ## Generic Templates <a id="itl-generic-templates"></a>
25
26 By default the generic templates are included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
27
28 ```
29 include <itl>
30 ```
31
32 These templates are imported by the provided example configuration.
33
34 > **Note**:
35 >
36 > These templates are built into the binaries. By convention
37 > all command and timeperiod objects should import these templates.
38
39 ### plugin-check-command <a id="itl-plugin-check-command"></a>
40
41 Command template for check plugins executed by Icinga 2.
42
43 The `plugin-check-command` command does not support any vars.
44
45 By default this template is automatically imported into all [CheckCommand](09-object-types.md#objecttype-checkcommand) definitions.
46
47 ### plugin-notification-command <a id="itl-plugin-notification-command"></a>
48
49 Command template for notification scripts executed by Icinga 2.
50
51 The `plugin-notification-command` command does not support any vars.
52
53 By default this template is automatically imported into all [NotificationCommand](09-object-types.md#objecttype-notificationcommand) definitions.
54
55 ### plugin-event-command <a id="itl-plugin-event-command"></a>
56
57 Command template for event handler scripts executed by Icinga 2.
58
59 The `plugin-event-command` command does not support any vars.
60
61 By default this template is automatically imported into all [EventCommand](09-object-types.md#objecttype-eventcommand) definitions.
62
63 ### legacy-timeperiod <a id="itl-legacy-timeperiod"></a>
64
65 Timeperiod template for [Timeperiod objects](09-object-types.md#objecttype-timeperiod).
66
67 The `legacy-timeperiod` timeperiod does not support any vars.
68
69 By default this template is automatically imported into all [TimePeriod](09-object-types.md#objecttype-timeperiod) definitions.
70
71 ## Check Commands <a id="itl-check-commands"></a>
72
73 These check commands are embedded into Icinga 2 and do not require any external
74 plugin scripts.
75
76 ### icinga <a id="itl-icinga"></a>
77
78 Check command for the built-in `icinga` check. This check returns performance
79 data for the current Icinga instance and optionally allows for minimum version checks.
80
81 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
82
83 Name                   | Description
84 -----------------------|---------------
85 icinga\_min\_version   | **Optional.** Required minimum Icinga 2 version, e.g. `2.8.0`. If not satisfied, the state changes to `Critical`. Release packages only.
86
87 ### cluster <a id="itl-icinga-cluster"></a>
88
89 Check command for the built-in `cluster` check. This check returns performance
90 data for the current Icinga instance and connected endpoints.
91
92 The `cluster` check command does not support any vars.
93
94 ### cluster-zone <a id="itl-icinga-cluster-zone"></a>
95
96 Check command for the built-in `cluster-zone` check.
97
98 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
99
100 Name                   | Description
101 -----------------------|---------------
102 cluster\_zone          | **Required.** The zone name. Defaults to `$host.name$`.
103 cluster\_lag\_warning  | **Optional.** Warning threshold for log lag in seconds. Applies if the log lag is greater than the threshold.
104 cluster\_lag\_critical | **Optional.** Critical threshold for log lag in seconds. Applies if the log lag is greater than the threshold.
105
106 ### ido <a id="itl-icinga-ido"></a>
107
108 Check command for the built-in `ido` check.
109
110 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
111
112 Name                            | Description
113 --------------------------------|-----------------------------
114 ido\_type                       | **Required.** The type of the IDO connection object. Can be either "IdoMysqlConnection" or "IdoPgsqlConnection".
115 ido\_name                       | **Required.** The name of the IDO connection object.
116 ido\_queries\_warning           | **Optional.** Warning threshold for queries/s. Applies if the rate is lower than the threshold.
117 ido\_queries\_critical          | **Optional.** Critical threshold for queries/s. Applies if the rate is lower than the threshold.
118 ido\_pending\_queries\_warning  | **Optional.** Warning threshold for pending queries. Applies if pending queries are higher than the threshold. Supersedes the `ido_queries` thresholds above.
119 ido\_pending\_queries\_critical | **Optional.** Critical threshold for pending queries. Applies if pending queries are higher than the threshold. Supersedes the `ido_queries` thresholds above.
120
121
122 ### dummy <a id="itl-dummy"></a>
123
124 Check command for the built-in `dummy` check. This allows to set
125 a check result state and output and can be used in [freshness checks](08-advanced-topics.md#check-result-freshness)
126 or [runtime object checks](08-advanced-topics.md#access-object-attributes-at-runtime).
127 In contrast to the [check_dummy](https://www.monitoring-plugins.org/doc/man/check_dummy.html)
128 plugin, Icinga 2 implements a light-weight in memory check with 2.9+.
129
130 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
131
132 Name            | Description
133 ----------------|--------------
134 dummy\_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 0.
135 dummy\_text      | **Optional.** Plugin output. Defaults to "Check was successful.".
136
137 ### passive <a id="itl-check-command-passive"></a>
138
139 Specialised check command object for passive checks which uses the functionality of the "dummy" check command with appropriate default values.
140
141 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
142
143 Name            | Description
144 ----------------|--------------
145 dummy_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 3.
146 dummy_text      | **Optional.** Plugin output. Defaults to "No Passive Check Result Received.".
147
148 ### random <a id="itl-random"></a>
149
150 Check command for the built-in `random` check. This check returns random states
151 and adds the check source to the check output.
152
153 For test and demo purposes only. The `random` check command does not support
154 any vars.
155
156 ### exception <a id="itl-exception"></a>
157
158 Check command for the built-in `exception` check. This check throws an exception.
159
160 For test and demo purposes only. The `exception` check command does not support
161 any vars.
162
163 <!-- keep this anchor for URL link history only -->
164 <a id="plugin-check-commands"></a>
165
166 ## Plugin Check Commands for Monitoring Plugins <a id="plugin-check-commands-monitoring-plugins"></a>
167
168 The Plugin Check Commands provides example configuration for plugin check commands
169 provided by the [Monitoring Plugins](https://www.monitoring-plugins.org) project.
170
171 By default the Plugin Check Commands are included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration
172 file:
173
174     include <plugins>
175
176 The plugin check commands assume that there's a global constant named `PluginDir`
177 which contains the path of the plugins from the Monitoring Plugins project.
178
179 > **Note**:
180 >
181 > Please be aware that the CheckCommand definitions are based on the [Monitoring Plugins](https://www.monitoring-plugins.org), other Plugin collections might not support
182 > all parameters. If there are command parameters missing for the provided CheckCommand definitions please kindly send a patch upstream.
183 > This should include an update for the ITL CheckCommand itself and this documentation section.
184
185 ### apt <a id="plugin-check-command-apt"></a>
186
187 The plugin [apt](https://www.monitoring-plugins.org/doc/man/check_apt.html) checks for software updates on systems that use
188 package management systems based on the apt-get(8) command found in Debian based systems.
189
190 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
191
192 Name                    | Description
193 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
194 apt_extra_opts          | **Optional.** Read options from an ini file.
195 apt_upgrade             | **Optional.** [Default] Perform an upgrade. If an optional OPTS argument is provided, apt-get will be run with these command line options instead of the default.
196 apt_dist_upgrade        | **Optional.** Perform a dist-upgrade instead of normal upgrade. Like with -U OPTS can be provided to override the default options.
197 apt_include             | **Optional.** Include only packages matching REGEXP. Can be specified multiple times the values will be combined together.
198 apt_exclude             | **Optional.** Exclude packages matching REGEXP from the list of packages that would otherwise be included. Can be specified multiple times.
199 apt_critical            | **Optional.** If the full package information of any of the upgradable packages match this REGEXP, the plugin will return CRITICAL status. Can be specified multiple times.
200 apt_timeout             | **Optional.** Seconds before plugin times out (default: 10).
201 apt_only_critical       | **Optional.** Only warn about critical upgrades.
202
203
204 ### breeze <a id="plugin-check-command-breeze"></a>
205
206 The [check_breeze](https://www.monitoring-plugins.org/doc/man/check_breeze.html) plugin reports the signal
207 strength of a Breezecom wireless equipment.
208
209 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
210
211 Name             | Description
212 -----------------|---------------------------------
213 breeze_hostname  | **Required.** Name or IP address of host to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
214 breeze_community | **Optional.** SNMPv1 community. Defaults to "public".
215 breeze_warning   | **Required.** Percentage strength below which a WARNING status will result. Defaults to 50.
216 breeze_critical  | **Required.** Percentage strength below which a WARNING status will result. Defaults to 20.
217
218
219 ### by_ssh <a id="plugin-check-command-by-ssh"></a>
220
221 The [check_by_ssh](https://www.monitoring-plugins.org/doc/man/check_by_ssh.html) plugin uses SSH to execute
222 commands on a remote host.
223
224 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
225
226 Name               | Description
227 ----------------   | --------------
228 by_ssh_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
229 by_ssh_port        | **Optional.** The SSH port. Defaults to 22.
230 by_ssh_command     | **Required.** The command that should be executed. Can be an array if multiple arguments should be passed to `check_by_ssh`.
231 by_ssh_arguments   | **Optional.** A dictionary with arguments for the command. This works exactly like the 'arguments' dictionary for ordinary CheckCommands.
232 by_ssh_logname     | **Optional.** The SSH username.
233 by_ssh_identity    | **Optional.** The SSH identity.
234 by_ssh_quiet       | **Optional.** Whether to suppress SSH warnings. Defaults to false.
235 by_ssh_warn        | **Optional.** The warning threshold.
236 by_ssh_crit        | **Optional.** The critical threshold.
237 by_ssh_timeout     | **Optional.** The timeout in seconds.
238 by_ssh_options     | **Optional.** Call ssh with '-o OPTION' (multiple options may be specified as an array).
239 by_ssh_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
240 by_ssh_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
241 by_ssh_skip_stderr | **Optional.** Ignore all or (if specified) first n lines on STDERR.
242
243
244 ### clamd <a id="plugin-check-command-clamd"></a>
245
246 The [check_clamd](https://www.monitoring-plugins.org/doc/man/check_clamd.html) plugin tests CLAMD
247 connections with the specified host (or unix socket).
248
249 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
250
251 Name               | Description
252 -------------------|--------------
253 clamd_address        | **Required.** The host's address or unix socket (must be an absolute path).
254 clamd_port           | **Optional.** Port number (default: none).
255 clamd_expect         | **Optional.** String to expect in server response. Multiple strings must be defined as array.
256 clamd_all            | **Optional.** All expect strings need to occur in server response. Defaults to false.
257 clamd_escape_send    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
258 clamd_send           | **Optional.** String to send to the server.
259 clamd_escape_quit    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
260 clamd_quit           | **Optional.** String to send server to initiate a clean close of the connection.
261 clamd_refuse         | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
262 clamd_mismatch       | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
263 clamd_jail           | **Optional.** Hide output from TCP socket.
264 clamd_maxbytes       | **Optional.** Close connection once more than this number of bytes are received.
265 clamd_delay          | **Optional.** Seconds to wait between sending string and polling for response.
266 clamd_certificate    | **Optional.** Minimum number of days a certificate has to be valid. 1st value is number of days for warning, 2nd is critical (if not specified: 0) -- separated by comma.
267 clamd_ssl            | **Optional.** Use SSL for the connection. Defaults to false.
268 clamd_wtime          | **Optional.** Response time to result in warning status (seconds).
269 clamd_ctime          | **Optional.** Response time to result in critical status (seconds).
270 clamd_timeout        | **Optional.** Seconds before connection times out. Defaults to 10.
271 clamd_ipv4           | **Optional.** Use IPv4 connection. Defaults to false.
272 clamd_ipv6           | **Optional.** Use IPv6 connection. Defaults to false.
273
274
275 ### dhcp <a id="plugin-check-command-dhcp"></a>
276
277 The [check_dhcp](https://www.monitoring-plugins.org/doc/man/check_dhcp.html) plugin
278 tests the availability of DHCP servers on a network.
279
280 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
281
282 Name            | Description
283 ----------------|--------------
284 dhcp_serverip   | **Optional.** The IP address of the DHCP server which we should get a response from.
285 dhcp_requestedip| **Optional.** The IP address which we should be offered by a DHCP server.
286 dhcp_timeout    | **Optional.** The timeout in seconds.
287 dhcp_interface  | **Optional.** The interface to use.
288 dhcp_mac        | **Optional.** The MAC address to use in the DHCP request.
289 dhcp_unicast    | **Optional.** Whether to use unicast requests. Defaults to false.
290
291
292 ### dig <a id="plugin-check-command-dig"></a>
293
294 The [check_dig](https://www.monitoring-plugins.org/doc/man/check_dig.html) plugin
295 test the DNS service on the specified host using dig.
296
297 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
298
299 Name                 | Description
300 ---------------------|--------------
301 dig_server           | **Optional.** The DNS server to query. Defaults to "127.0.0.1".
302 dig_port                 | **Optional.** Port number (default: 53).
303 dig_lookup           | **Required.** The address that should be looked up.
304 dig_record_type      | **Optional.** Record type to lookup (default: A).
305 dig_expected_address | **Optional.** An address expected to be in the answer section. If not set, uses whatever was in -l.
306 dig_arguments        | **Optional.** Pass STRING as argument(s) to dig.
307 dig_retries              | **Optional.** Number of retries passed to dig, timeout is divided by this value (Default: 3).
308 dig_warning          | **Optional.** Response time to result in warning status (seconds).
309 dig_critical         | **Optional.** Response time to result in critical status (seconds).
310 dig_timeout          | **Optional.** Seconds before connection times out (default: 10).
311 dig_ipv4             | **Optional.** Force dig to only use IPv4 query transport. Defaults to false.
312 dig_ipv6             | **Optional.** Force dig to only use IPv6 query transport. Defaults to false.
313
314
315 ### disk <a id="plugin-check-command-disk"></a>
316
317 The [check_disk](https://www.monitoring-plugins.org/doc/man/check_disk.html) plugin
318 checks the amount of used disk space on a mounted file system and generates an alert
319 if free space is less than one of the threshold values.
320
321 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
322
323 Name                    | Description
324 --------------------|------------------------
325 disk\_wfree             | **Optional.** The free space warning threshold. Defaults to "20%". If the percent sign is omitted, units from `disk_units` are used.
326 disk\_cfree             | **Optional.** The free space critical threshold. Defaults to "10%". If the percent sign is omitted, units from `disk_units` are used.
327 disk\_inode\_wfree      | **Optional.** The free inode warning threshold.
328 disk\_inode\_cfree      | **Optional.** The free inode critical threshold.
329 disk\_partition         | **Optional.** The partition. **Deprecated in 2.3.**
330 disk\_partition\_excluded  | **Optional.** The excluded partition. **Deprecated in 2.3.**
331 disk\_partitions        | **Optional.** The partition(s). Multiple partitions must be defined as array.
332 disk\_partitions\_excluded | **Optional.** The excluded partition(s). Multiple partitions must be defined as array.
333 disk\_clear             | **Optional.** Clear thresholds. May be true or false.
334 disk\_exact\_match      | **Optional.** For paths or partitions specified with -p, only check for exact paths. May be true or false.
335 disk\_errors\_only      | **Optional.** Display only devices/mountpoints with errors. May be true or false.
336 disk\_ignore\_reserved  | **Optional.** If set, account root-reserved blocks are not accounted for freespace in perfdata. May be true or false.
337 disk\_group             | **Optional.** Group paths. Thresholds apply to (free-)space of all partitions together.
338 disk\_kilobytes         | **Optional.** Same as --units kB. May be true or false.
339 disk\_local             | **Optional.** Only check local filesystems. May be true or false.
340 disk\_stat\_remote\_fs  | **Optional.** Only check local filesystems against thresholds. Yet call stat on remote filesystems to test if they are accessible (e.g. to detect Stale NFS Handles). May be true or false.
341 disk\_mountpoint          | **Optional.** Display the mountpoint instead of the partition. May be true or false.
342 disk\_megabytes           | **Optional.** Same as --units MB. May be true or false.
343 disk\_all                 | **Optional.** Explicitly select all paths. This is equivalent to -R '.\*'. May be true or false.
344 disk\_eregi\_path         | **Optional.** Case insensitive regular expression for path/partition. Multiple regular expression strings must be defined as array.
345 disk\_ereg\_path          | **Optional.** Regular expression for path or partition. Multiple regular expression strings must be defined as array.
346 disk\_ignore\_eregi\_path | **Optional.** Regular expression to ignore selected path/partition (case insensitive). Multiple regular expression strings must be defined as array.
347 disk\_ignore\_ereg\_path  | **Optional.** Regular expression to ignore selected path or partition. Multiple regular expression strings must be defined as array.
348 disk\_timeout             | **Optional.** Seconds before connection times out (default: 10).
349 disk\_units               | **Optional.** Choose bytes, kB, MB, GB, TB (default: MB).
350 disk\_exclude\_type       | **Optional.** Ignore all filesystems of indicated type. Multiple regular expression strings must be defined as array. Defaults to "none", "tmpfs", "sysfs", "proc", "configfs", "devtmpfs", "devfs", "mtmfs", "tracefs", "cgroup", "fuse.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fdescfs", "overlay", "nsfs", "squashfs".
351
352 ### disk_smb <a id="plugin-check-command-disk-smb"></a>
353
354 The [check_disk_smb](https://www.monitoring-plugins.org/doc/man/check_disk_smb.html) plugin
355 uses the `smbclient` binary to check SMB shares.
356
357 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
358
359 Name                    | Description
360 ------------------------|------------------------
361 disk_smb_hostname       | **Required.** NetBIOS name of the server.
362 disk_smb_share          | **Required.** Share name being queried.
363 disk_smb_workgroup      | **Optional.** Workgroup or Domain used (defaults to 'WORKGROUP' if omitted).
364 disk_smb_address        | **Optional.** IP address of the host (only necessary if host belongs to another network).
365 disk_smb_username       | **Optional.** Username for server log-in (defaults to 'guest' if omitted).
366 disk_smb_password       | **Optional.** Password for server log-in (defaults to an empty password if omitted).
367 disk_smb_wused          | **Optional.** The used space warning threshold. Defaults to "85%". If the percent sign is omitted, use optional disk units.
368 disk_smb_cused          | **Optional.** The used space critical threshold. Defaults to "95%". If the percent sign is omitted, use optional disk units.
369 disk_smb_port           | **Optional.** Connection port, e.g. `139` or `445`. Defaults to `smbclient` default if omitted.
370
371 ### dns <a id="plugin-check-command-dns"></a>
372
373 The [check_dns](https://www.monitoring-plugins.org/doc/man/check_dns.html) plugin
374 uses the nslookup program to obtain the IP address for the given host/domain query.
375 An optional DNS server to use may be specified. If no DNS server is specified, the
376 default server(s) specified in `/etc/resolv.conf` will be used.
377
378 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
379
380 Name                 | Description
381 ---------------------|--------------
382 dns_lookup           | **Optional.** The hostname or IP to query the DNS for. Defaults to "$host_name$".
383 dns_server           | **Optional.** The DNS server to query. Defaults to the server configured in the OS.
384 dns_query_type       | **Optional.** The DNS record query type where TYPE =(A, AAAA, SRV, TXT, MX, ANY). The default query type is 'A' (IPv4 host entry)
385 dns_expected_answers | **Optional.** The answer(s) to look for. A hostname must end with a dot. Multiple answers must be defined as array.
386 dns_authoritative    | **Optional.** Expect the server to send an authoritative answer.
387 dns_accept_cname     | **Optional.** Accept cname responses as a valid result to a query.
388 dns_wtime            | **Optional.** Return warning if elapsed time exceeds value.
389 dns_ctime            | **Optional.** Return critical if elapsed time exceeds value.
390 dns_timeout          | **Optional.** Seconds before connection times out. Defaults to 10.
391
392
393
394 ### file_age <a id="plugin-check-command-file-age"></a>
395
396 The [check_file_age](https://www.monitoring-plugins.org/doc/man/check_file_age.html) plugin
397 checks a file's size and modification time to make sure it's not empty and that it's sufficiently recent.
398
399 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
400
401 Name                   | Description
402 -----------------------|--------------------------------------------------------------------------------------------------------
403 file_age_file          | **Required.** File to monitor.
404 file_age_warning_time  | **Optional.** File must be no more than this many seconds old as warning threshold. Defaults to "240s".
405 file_age_critical_time | **Optional.** File must be no more than this many seconds old as critical threshold. Defaults to "600s".
406 file_age_warning_size  | **Optional.** File must be at least this many bytes long as warning threshold. No default given.
407 file_age_critical_size | **Optional.** File must be at least this many bytes long as critical threshold. Defaults to "0B".
408 file_age_ignoremissing | **Optional.** Return OK if the file does not exist. Defaults to false.
409
410
411 ### flexlm <a id="plugin-check-command-flexlm"></a>
412
413 The [check_flexlm](https://www.monitoring-plugins.org/doc/man/check_flexlm.html) plugin
414 checks available flexlm license managers. Requires the `lmstat` command.
415
416 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
417
418 Name               | Description
419 -------------------|----------------------------------------------------------
420 flexlm_licensefile | **Required.** Name of license file (usually license.dat).
421 flexlm_timeout     | **Optional.** Plugin time out in seconds. Defaults to 15.
422
423
424 ### fping4 <a id="plugin-check-command-fping4"></a>
425
426 The [check_fping](https://www.monitoring-plugins.org/doc/man/check_fping.html) plugin
427 uses the `fping` command to ping the specified host for a fast check. Note that it is
428 necessary to set the `suid` flag on `fping`.
429
430 This CheckCommand expects an IPv4 address.
431
432 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
433
434 Name            | Description
435 ----------------|--------------
436 fping_address   | **Optional.** The host's IPv4 address. Defaults to "$address$".
437 fping_wrta      | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
438 fping_wpl       | **Optional.** The packet loss warning threshold in %. Defaults to 5.
439 fping_crta      | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
440 fping_cpl       | **Optional.** The packet loss critical threshold in %. Defaults to 15.
441 fping_number    | **Optional.** The number of packets to send. Defaults to 5.
442 fping_interval  | **Optional.** The interval between packets in milli-seconds. Defaults to 500.
443 fping_bytes     | **Optional.** The size of ICMP packet.
444 fping_target_timeout | **Optional.** The target timeout in milli-seconds.
445 fping_source_ip | **Optional.** The name or ip address of the source ip.
446 fping_source_interface | **Optional.** The source interface name.
447
448
449 ### fping6 <a id="plugin-check-command-fping6"></a>
450
451 The [check_fping](https://www.monitoring-plugins.org/doc/man/check_fping.html) plugin
452 will use the `fping` command to ping the specified host for a fast check. Note that it is
453 necessary to set the `suid` flag on `fping`.
454
455 This CheckCommand expects an IPv6 address.
456
457 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
458
459 Name            | Description
460 ----------------|--------------
461 fping_address   | **Optional.** The host's IPv6 address. Defaults to "$address6$".
462 fping_wrta      | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
463 fping_wpl       | **Optional.** The packet loss warning threshold in %. Defaults to 5.
464 fping_crta      | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
465 fping_cpl       | **Optional.** The packet loss critical threshold in %. Defaults to 15.
466 fping_number    | **Optional.** The number of packets to send. Defaults to 5.
467 fping_interval  | **Optional.** The interval between packets in milli-seconds. Defaults to 500.
468 fping_bytes     | **Optional.** The size of ICMP packet.
469 fping_target_timeout | **Optional.** The target timeout in milli-seconds.
470 fping_source_ip | **Optional.** The name or ip address of the source ip.
471 fping_source_interface | **Optional.** The source interface name.
472
473
474 ### ftp <a id="plugin-check-command-ftp"></a>
475
476 The [check_ftp](https://www.monitoring-plugins.org/doc/man/check_ftp.html) plugin
477 tests FTP connections with the specified host (or unix socket).
478
479 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
480
481 Name               | Description
482 -------------------|--------------
483 ftp_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
484 ftp_port           | **Optional.** The FTP port number.
485 ftp_expect         | **Optional.** String to expect in server response. Multiple strings must be defined as array.
486 ftp_all            | **Optional.** All expect strings need to occur in server response. Defaults to false.
487 ftp_escape_send    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
488 ftp_send           | **Optional.** String to send to the server.
489 ftp_escape_quit    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
490 ftp_quit           | **Optional.** String to send server to initiate a clean close of the connection.
491 ftp_refuse         | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
492 ftp_mismatch       | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
493 ftp_jail           | **Optional.** Hide output from TCP socket.
494 ftp_maxbytes       | **Optional.** Close connection once more than this number of bytes are received.
495 ftp_delay          | **Optional.** Seconds to wait between sending string and polling for response.
496 ftp_certificate    | **Optional.** Minimum number of days a certificate has to be valid. 1st value is number of days for warning, 2nd is critical (if not specified: 0) -- separated by comma.
497 ftp_ssl            | **Optional.** Use SSL for the connection. Defaults to false.
498 ftp_wtime          | **Optional.** Response time to result in warning status (seconds).
499 ftp_ctime          | **Optional.** Response time to result in critical status (seconds).
500 ftp_timeout        | **Optional.** Seconds before connection times out. Defaults to 10.
501 ftp_ipv4           | **Optional.** Use IPv4 connection. Defaults to false.
502 ftp_ipv6           | **Optional.** Use IPv6 connection. Defaults to false.
503
504
505 ### game <a id="plugin-check-command-game"></a>
506
507 The [check_game](https://www.monitoring-plugins.org/doc/man/check_game.html) plugin
508 tests game server connections with the specified host.
509 This plugin uses the 'qstat' command, the popular game server status query tool.
510 If you don't have the package installed, you will need to [download](http://www.activesw.com/people/steve/qstat.html)
511 or install the package `quakestat` before you can use this plugin.
512
513 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
514
515 Name               | Description
516 -------------------|-------------------
517 game_game          | **Required.** Name of the game.
518 game_ipaddress     | **Required.** Ipaddress of the game server to query.
519 game_timeout       | **Optional.** Seconds before connection times out. Defaults to 10.
520 game_port          | **Optional.** Port to connect to.
521 game_gamefield     | **Optional.** Field number in raw qstat output that contains game name.
522 game_mapfield      | **Optional.** Field number in raw qstat output that contains map name.
523 game_pingfield     | **Optional.** Field number in raw qstat output that contains ping time.
524 game_gametime      | **Optional.** Field number in raw qstat output that contains game time.
525 game_hostname      | **Optional.** Name of the host running the game.
526
527
528 ### hostalive <a id="plugin-check-command-hostalive"></a>
529
530 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
531 plugin with host check default values. This variant uses the host's `address` attribute
532 if available and falls back to using the `address6` attribute if the `address` attribute is not set.
533
534 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
535
536 Name            | Description
537 ----------------|--------------
538 ping_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
539 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
540 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
541 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
542 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
543 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
544 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
545
546
547 ### hostalive4 <a id="plugin-check-command-hostalive4"></a>
548
549 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
550 plugin with host check default values. This variant uses the host's `address` attribute.
551
552 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
553
554 Name            | Description
555 ----------------|--------------
556 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
557 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
558 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
559 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
560 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
561 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
562 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
563
564
565 ### hostalive6 <a id="plugin-check-command-hostalive6"></a>
566
567 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
568 plugin with host check default values. This variant uses the host's `address6` attribute.
569
570 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
571
572 Name            | Description
573 ----------------|--------------
574 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
575 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
576 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
577 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
578 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
579 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
580 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
581
582
583 ### hpjd <a id="plugin-check-command-hpjd"></a>
584
585 The [check_hpjd](https://www.monitoring-plugins.org/doc/man/check_hpjd.html) plugin
586 tests the state of an HP printer with a JetDirect card. Net-snmp must be installed
587 on the computer running the plugin.
588
589 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
590
591 Name            | Description
592 ----------------|--------------
593 hpjd_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
594 hpjd_port       | **Optional.** The host's SNMP port. Defaults to 161.
595 hpjd_community  | **Optional.** The SNMP community. Defaults  to "public".
596
597
598 ### http <a id="plugin-check-command-http"></a>
599
600 The [check_http](https://www.monitoring-plugins.org/doc/man/check_http.html) plugin
601 tests the HTTP service on the specified host. It can test normal (http) and secure
602 (https) servers, follow redirects, search for strings and regular expressions,
603 check connection times, and report on certificate expiration times.
604
605 The plugin can either test the HTTP response of a server, or if `http_certificate` is set to a non-empty value, the TLS certificate age for a HTTPS host.
606
607 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
608
609 Name                             | Description
610 ---------------------------------|---------------------------------
611 http_address                     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
612 http_vhost                       | **Optional.** The virtual host that should be sent in the "Host" header.
613 http_uri                         | **Optional.** The request URI for GET or POST. Defaults to `/`.
614 http_port                        | **Optional.** The TCP port. Defaults to 80 when not using SSL, 443 otherwise.
615 http_ssl                         | **Optional.** Whether to use SSL. Defaults to false.
616 http_ssl_force_tlsv1             | **Optional.** Whether to force TLSv1.
617 http_ssl_force_tlsv1_1           | **Optional.** Whether to force TLSv1.1.
618 http_ssl_force_tlsv1_2           | **Optional.** Whether to force TLSv1.2.
619 http_ssl_force_sslv2             | **Optional.** Whether to force SSLv2.
620 http_ssl_force_sslv3             | **Optional.** Whether to force SSLv3.
621 http_ssl_force_tlsv1_or_higher   | **Optional.** Whether to force TLSv1 or higher.
622 http_ssl_force_tlsv1_1_or_higher | **Optional.** Whether to force TLSv1.1 or higher.
623 http_ssl_force_tlsv1_2_or_higher | **Optional.** Whether to force TLSv1.2 or higher.
624 http_ssl_force_sslv2_or_higher   | **Optional.** Whether to force SSLv2 or higher.
625 http_ssl_force_sslv3_or_higher   | **Optional.** Whether to force SSLv3 or higher.
626 http_sni                         | **Optional.** Whether to use SNI. Defaults to false.
627 http_auth_pair                   | **Optional.** Add 'username:password' authorization pair.
628 http_proxy_auth_pair             | **Optional.** Add 'username:password' authorization pair for proxy.
629 http_ignore_body                 | **Optional.** Don't download the body, just the headers.
630 http_linespan                    | **Optional.** Allow regex to span newline.
631 http_expect_body_regex           | **Optional.** A regular expression which the body must match against. Incompatible with http_ignore_body.
632 http_expect_body_eregi           | **Optional.** A case-insensitive expression which the body must match against. Incompatible with http_ignore_body.
633 http_invertregex                 | **Optional.** Changes behavior of http_expect_body_regex and http_expect_body_eregi to return CRITICAL if found, OK if not.
634 http_warn_time                   | **Optional.** The warning threshold.
635 http_critical_time               | **Optional.** The critical threshold.
636 http_expect                      | **Optional.** Comma-delimited list of strings, at least one of them is expected in the first (status) line of the server response. Default: HTTP/1.
637 http_certificate                 | **Optional.** Minimum number of days a certificate has to be valid. Port defaults to 443. When this option is used the URL is not checked. The first parameter defines the warning threshold (in days), the second parameter the critical threshold (in days). (Example `http_certificate = "30,20"`).
638 http_clientcert                  | **Optional.** Name of file contains the client certificate (PEM format).
639 http_privatekey                  | **Optional.** Name of file contains the private key (PEM format).
640 http_headerstring                | **Optional.** String to expect in the response headers.
641 http_string                      | **Optional.** String to expect in the content.
642 http_post                        | **Optional.** URL encoded http POST data.
643 http_method                      | **Optional.** Set http method (for example: HEAD, OPTIONS, TRACE, PUT, DELETE).
644 http_maxage                      | **Optional.** Warn if document is more than seconds old.
645 http_contenttype                 | **Optional.** Specify Content-Type header when POSTing.
646 http_useragent                   | **Optional.** String to be sent in http header as User Agent.
647 http_header                      | **Optional.** Any other tags to be sent in http header.
648 http_extendedperfdata            | **Optional.** Print additional perfdata. Defaults to false.
649 http_onredirect                  | **Optional.** How to handle redirect pages. Possible values: "ok" (default), "warning", "critical", "follow", "sticky" (like follow but stick to address), "stickyport" (like sticky but also to port)
650 http_pagesize                    | **Optional.** Minimum page size required:Maximum page size required.
651 http_timeout                     | **Optional.** Seconds before connection times out.
652 http_ipv4                        | **Optional.** Use IPv4 connection. Defaults to false.
653 http_ipv6                        | **Optional.** Use IPv6 connection. Defaults to false.
654 http_link                        | **Optional.** Wrap output in HTML link. Defaults to false.
655 http_verbose                     | **Optional.** Show details for command-line debugging. Defaults to false.
656
657
658 ### icmp <a id="plugin-check-command-icmp"></a>
659
660 The [check_icmp](https://www.monitoring-plugins.org/doc/man/check_icmp.html) plugin
661 check_icmp allows for checking multiple hosts at once compared to `check_ping`.
662 The main difference is that check_ping executes the system's ping(1) command and
663 parses its output while `check_icmp` talks ICMP itself. `check_icmp` must be installed with
664 `setuid` root.
665
666 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
667
668 Name            | Description
669 ----------------|--------------
670 icmp_address    | **Optional.** The host's address. This can either be a single address or an array of addresses. Defaults to "$address$".
671 icmp_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
672 icmp_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
673 icmp_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
674 icmp_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
675 icmp_source     | **Optional.** The source IP address to send packets from.
676 icmp_packets    | **Optional.** The number of packets to send. Defaults to 5.
677 icmp_packet_interval | **Optional** The maximum packet interval. Defaults to 80 (milliseconds).
678 icmp_target_interval | **Optional.** The maximum target interval.
679 icmp_hosts_alive | **Optional.** The number of hosts which have to be alive for the check to succeed.
680 icmp_data_bytes | **Optional.** Payload size for each ICMP request. Defaults to 8.
681 icmp_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 10 (seconds).
682 icmp_ttl        | **Optional.** The TTL on outgoing packets.
683
684
685 ### imap <a id="plugin-check-command-imap"></a>
686
687 The [check_imap](https://www.monitoring-plugins.org/doc/man/check_imap.html) plugin
688 tests IMAP connections with the specified host (or unix socket).
689
690 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
691
692 Name                  | Description
693 ----------------------|--------------
694 imap_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
695 imap_port             | **Optional.** The port that should be checked. Defaults to 143.
696 imap_escape           | **Optional.** Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option. Default: nothing added to send, \\r\\n added to end of quit.
697 imap_send             | **Optional.** String to send to the server.
698 imap_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
699 imap_all              | **Optional.** All expect strings need to occur in server response. Default is any.
700 imap_quit             | **Optional.** String to send server to initiate a clean close of the connection.
701 imap_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
702 imap_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
703 imap_jail             | **Optional.** Hide output from TCP socket.
704 imap_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
705 imap_delay            | **Optional.** Seconds to wait between sending string and polling for response.
706 imap_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
707 imap_ssl              | **Optional.** Use SSL for the connection.
708 imap_warning          | **Optional.** Response time to result in warning status (seconds).
709 imap_critical         | **Optional.** Response time to result in critical status (seconds).
710 imap_timeout          | **Optional.** Seconds before connection times out (default: 10).
711 imap_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
712 imap_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
713
714
715 ### ldap <a id="plugin-check-command-ldap"></a>
716
717 The [check_ldap](https://www.monitoring-plugins.org/doc/man/check_ldap.html) plugin
718 can be used to check LDAP servers.
719
720 The plugin can also be used for monitoring ldaps connections instead of the deprecated `check_ldaps`.
721 This can be ensured by enabling `ldap_starttls` or `ldap_ssl`.
722
723 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
724
725 Name                    | Description
726 ------------------------|--------------
727 ldap_address            | **Optional.** Host name, IP Address, or unix socket (must be an absolute path). Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
728 ldap_port               | **Optional.** Port number. Defaults to 389.
729 ldap_attr               | **Optional.** LDAP attribute to search for (default: "(objectclass=*)")
730 ldap_base               | **Required.** LDAP base (eg. ou=myunit,o=myorg,c=at).
731 ldap_bind               | **Optional.** LDAP bind DN (if required).
732 ldap_pass               | **Optional.** LDAP password (if required).
733 ldap_starttls           | **Optional.** Use STARTSSL mechanism introduced in protocol version 3.
734 ldap_ssl                | **Optional.** Use LDAPS (LDAP v2 SSL method). This also sets the default port to 636.
735 ldap_v2                 | **Optional.** Use LDAP protocol version 2 (enabled by default).
736 ldap_v3                 | **Optional.** Use LDAP protocol version 3 (disabled by default)
737 ldap_warning            | **Optional.** Response time to result in warning status (seconds).
738 ldap_critical           | **Optional.** Response time to result in critical status (seconds).
739 ldap_warning_entries    | **Optional.** Number of found entries to result in warning status.
740 ldap_critical_entries   | **Optional.** Number of found entries to result in critical status.
741 ldap_timeout            | **Optional.** Seconds before connection times out (default: 10).
742 ldap_verbose            | **Optional.** Show details for command-line debugging (disabled by default)
743
744 ### load <a id="plugin-check-command-load"></a>
745
746 The [check_load](https://www.monitoring-plugins.org/doc/man/check_load.html) plugin
747 tests the current system load average.
748
749 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
750
751 Name            | Description
752 ----------------|--------------
753 load_wload1     | **Optional.** The 1-minute warning threshold. Defaults to 5.
754 load_wload5     | **Optional.** The 5-minute warning threshold. Defaults to 4.
755 load_wload15    | **Optional.** The 15-minute warning threshold. Defaults to 3.
756 load_cload1     | **Optional.** The 1-minute critical threshold. Defaults to 10.
757 load_cload5     | **Optional.** The 5-minute critical threshold. Defaults to 6.
758 load_cload15    | **Optional.** The 15-minute critical threshold. Defaults to 4.
759 load_percpu     | **Optional.** Divide the load averages by the number of CPUs (when possible). Defaults to false.
760
761 ### mailq <a id="plugin-check-command-mailq"></a>
762
763 The [check_mailq](https://www.monitoring-plugins.org/doc/man/check_mailq.html) plugin
764 checks the number of messages in the mail queue (supports multiple sendmail queues, qmail).
765
766 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
767
768 Name                    | Description
769 ------------------------|--------------
770 mailq_warning           | **Required.** Min. number of messages in queue to generate warning.
771 mailq_critical          | **Required.** Min. number of messages in queue to generate critical alert ( w < c ).
772 mailq_domain_warning    | **Optional.** Min. number of messages for same domain in queue to generate warning
773 mailq_domain_critical   | **Optional.** Min. number of messages for same domain in queue to generate critical alert ( W < C ).
774 mailq_timeout           | **Optional.** Plugin timeout in seconds (default = 15).
775 mailq_servertype        | **Optional.** [ sendmail \| qmail \| postfix \| exim \| nullmailer ] (default = autodetect).
776 mailq_sudo              | **Optional.** Use sudo to execute the mailq command.
777
778 ### mysql <a id="plugin-check-command-mysql"></a>
779
780 The [check_mysql](https://www.monitoring-plugins.org/doc/man/check_mysql.html) plugin
781 tests connections to a MySQL server.
782
783 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
784
785 Name                    | Description
786 ------------------------|---------------------------------------------------------------
787 mysql_hostname          | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
788 mysql_port              | **Optional.** Port number (default: 3306).
789 mysql_socket            | **Optional.** Use the specified socket (has no effect if `mysql_hostname` is used).
790 mysql_ignore_auth       | **Optional.** Ignore authentication failure and check for mysql connectivity only.
791 mysql_database          | **Optional.** Check database with indicated name.
792 mysql_file              | **Optional.** Read from the specified client options file.
793 mysql_group             | **Optional.** Use a client options group.
794 mysql_username          | **Optional.** Connect using the indicated username.
795 mysql_password          | **Optional.** Use the indicated password to authenticate the connection.
796 mysql_check_slave       | **Optional.** Check if the slave thread is running properly.
797 mysql_warning           | **Optional.** Exit with WARNING status if slave server is more than INTEGER seconds behind master.
798 mysql_critical          | **Optional.** Exit with CRITICAL status if slave server is more then INTEGER seconds behind master.
799 mysql_ssl               | **Optional.** Use ssl encryption.
800 mysql_cacert            | **Optional.** Path to CA signing the cert.
801 mysql_cert              | **Optional.** Path to SSL certificate.
802 mysql_key               | **Optional.** Path to private SSL key.
803 mysql_cadir             | **Optional.** Path to CA directory.
804 mysql_ciphers           | **Optional.** List of valid SSL ciphers.
805
806
807 ### mysql_query <a id="plugin-check-command-mysql-query"></a>
808
809 The [check_mysql_query](https://www.monitoring-plugins.org/doc/man/check_mysql_query.html) plugin
810 checks a query result against threshold levels.
811 The result from the query should be numeric. For extra security, create a user with minimal access.
812
813 **Note**: You must specify `mysql_query_password` with an empty string to force an empty password,
814 overriding any my.cnf settings.
815
816 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
817
818 Name                    | Description
819 ------------------------|---------------------------------------------------------------
820 mysql_query_hostname    | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
821 mysql_query_port        | **Optional.** Port number (default: 3306).
822 mysql_query_database    | **Optional.** Check database with indicated name.
823 mysql_query_file        | **Optional.** Read from the specified client options file.
824 mysql_query_group       | **Optional.** Use a client options group.
825 mysql_query_username    | **Optional.** Connect using the indicated username.
826 mysql_query_password    | **Optional.** Use the indicated password to authenticate the connection.
827 mysql_query_execute     | **Required.** SQL Query to run on the MySQL Server.
828 mysql_query_warning     | **Optional.** Exit with WARNING status if query is outside of the range (format: start:end).
829 mysql_query_critical    | **Optional.** Exit with CRITICAL status if query is outside of the range.
830
831
832 ### negate <a id="plugin-check-command-negate"></a>
833
834 The [negate](https://www.monitoring-plugins.org/doc/man/negate.html) plugin
835 negates the status of a plugin (returns OK for CRITICAL and vice-versa).
836 Additional switches can be used to control which state becomes what.
837
838 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
839
840 Name                  | Description
841 ----------------------|---------------------------------------------------------------
842 negate_timeout        | **Optional.** Seconds before plugin times out (default: 11).
843 negate_timeout_result | **Optional.** Custom result on Negate timeouts, default to UNKNOWN.
844 negate_ok             | **Optional.** OK, WARNING, CRITICAL or UNKNOWN.
845 negate_warning        |               Numeric values are accepted.
846 negate_critical       |               If nothing is specified,
847 negate_unknown        |               permutes OK and CRITICAL.
848 negate_substitute     | **Optional.** Substitute output text as well. Will only substitute text in CAPITALS.
849 negate_command        | **Required.** Command to be negated.
850 negate_arguments      | **Optional.** Arguments for the negated command.
851
852 ### nrpe <a id="plugin-check-command-nrpe"></a>
853
854 The `check_nrpe` plugin can be used to query an [NRPE](https://icinga.com/docs/icinga1/latest/en/nrpe.html)
855 server or [NSClient++](https://www.nsclient.org). **Note**: This plugin
856 is considered insecure/deprecated.
857
858 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
859
860 Name            | Description
861 ----------------|--------------
862 nrpe_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
863 nrpe_port       | **Optional.** The NRPE port. Defaults to 5666.
864 nrpe_command    | **Optional.** The command that should be executed.
865 nrpe_no_ssl     | **Optional.** Whether to disable SSL or not. Defaults to `false`.
866 nrpe_timeout_unknown | **Optional.** Whether to set timeouts to unknown instead of critical state. Defaults to `false`.
867 nrpe_timeout    | **Optional.** The timeout in seconds.
868 nrpe_arguments  | **Optional.** Arguments that should be passed to the command. Multiple arguments must be defined as array.
869 nrpe_ipv4       | **Optional.** Use IPv4 connection. Defaults to false.
870 nrpe_ipv6       | **Optional.** Use IPv6 connection. Defaults to false.
871 nrpe_version_2  | **Optional.** Use this if you want to connect using NRPE v2 protocol. Defaults to false.
872
873
874 ### nscp <a id="plugin-check-command-nscp"></a>
875
876 The [check_nt](https://www.monitoring-plugins.org/doc/man/check_nt.html) plugin
877 collects data from the [NSClient++](https://www.nsclient.org) service.
878
879 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
880
881 Name            | Description
882 ----------------|--------------
883 nscp_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
884 nscp_port       | **Optional.** The NSClient++ port. Defaults to 12489.
885 nscp_password   | **Optional.** The NSClient++ password.
886 nscp_variable   | **Required.** The variable that should be checked.
887 nscp_params     | **Optional.** Parameters for the query. Multiple parameters must be defined as array.
888 nscp_warn       | **Optional.** The warning threshold.
889 nscp_crit       | **Optional.** The critical threshold.
890 nscp_timeout    | **Optional.** The query timeout in seconds.
891 nscp_showall    | **Optional.** Use with SERVICESTATE to see working services or PROCSTATE for running processes. Defaults to false.
892
893
894 ### ntp_time <a id="plugin-check-command-ntp-time"></a>
895
896 The [check_ntp_time](https://www.monitoring-plugins.org/doc/man/check_ntp_time.html) plugin
897 checks the clock offset between the local host and a remote NTP server.
898
899 **Note**: If you want to monitor an NTP server, please use `ntp_peer`.
900
901 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
902
903 Name            | Description
904 ----------------|--------------
905 ntp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
906 ntp_port        | **Optional.** Port number (default: 123).
907 ntp_quiet       | **Optional.** Returns UNKNOWN instead of CRITICAL if offset cannot be found.
908 ntp_warning     | **Optional.** Offset to result in warning status (seconds).
909 ntp_critical    | **Optional.** Offset to result in critical status (seconds).
910 ntp_timeoffset  | **Optional.** Expected offset of the ntp server relative to local server (seconds).
911 ntp_timeout     | **Optional.** Seconds before connection times out (default: 10).
912 ntp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
913 ntp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
914
915
916 ### ntp_peer <a id="plugin-check-command-ntp-peer"></a>
917
918 The [check_ntp_peer](https://www.monitoring-plugins.org/doc/man/check_ntp_peer.html) plugin
919 checks the health of an NTP server. It supports checking the offset with the sync peer, the
920 jitter and stratum. This plugin will not check the clock offset between the local host and NTP
921  server; please use `ntp_time` for that purpose.
922
923 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
924
925 Name            | Description
926 ----------------|--------------
927 ntp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
928 ntp_port        | **Optional.** The port to use. Default to 123.
929 ntp_quiet       | **Optional.** Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized.
930 ntp_warning     | **Optional.** Offset to result in warning status (seconds).
931 ntp_critical    | **Optional.** Offset to result in critical status (seconds).
932 ntp_wstratum    | **Optional.** Warning threshold for stratum of server's synchronization peer.
933 ntp_cstratum    | **Optional.** Critical threshold for stratum of server's synchronization peer.
934 ntp_wjitter     | **Optional.** Warning threshold for jitter.
935 ntp_cjitter     | **Optional.** Critical threshold for jitter.
936 ntp_wsource     | **Optional.** Warning threshold for number of usable time sources.
937 ntp_csource     | **Optional.** Critical threshold for number of usable time sources.
938 ntp_timeout     | **Optional.** Seconds before connection times out (default: 10).
939 ntp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
940 ntp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
941
942
943 ### pgsql <a id="plugin-check-command-pgsql"></a>
944
945 The [check_pgsql](https://www.monitoring-plugins.org/doc/man/check_pgsql.html) plugin
946 tests a PostgreSQL DBMS to determine whether it is active and accepting queries.
947 If a query is specified using the `pgsql_query` attribute, it will be executed after
948 connecting to the server. The result from the query has to be numeric in order
949 to compare it against the query thresholds if set.
950
951 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
952
953 Name                    | Description
954 ------------------------|---------------------------------------------------------------
955 pgsql_hostname          | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
956 pgsql_port              | **Optional.** Port number (default: 5432).
957 pgsql_database          | **Optional.** Database to check (default: template1).
958 pgsql_username          | **Optional.** Login name of user.
959 pgsql_password          | **Optional.** Password (BIG SECURITY ISSUE).
960 pgsql_options           | **Optional.** Connection parameters (keyword = value), see below.
961 pgsql_warning           | **Optional.** Response time to result in warning status (seconds).
962 pgsql_critical          | **Optional.** Response time to result in critical status (seconds).
963 pgsql_timeout           | **Optional.** Seconds before connection times out (default: 10).
964 pgsql_query             | **Optional.** SQL query to run. Only first column in first row will be read.
965 pgsql_query_warning     | **Optional.** SQL query value to result in warning status (double).
966 pgsql_query_critical    | **Optional.** SQL query value to result in critical status (double).
967
968 ### ping <a id="plugin-check-command-ping"></a>
969
970 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
971 uses the ping command to probe the specified host for packet loss (percentage) and
972 round trip average (milliseconds).
973
974 This command uses the host's `address` attribute if available and falls back to using
975 the `address6` attribute if the `address` attribute is not set.
976
977 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
978
979 Name            | Description
980 ----------------|--------------
981 ping_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
982 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
983 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
984 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
985 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
986 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
987 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
988
989
990 ### ping4 <a id="plugin-check-command-ping4"></a>
991
992 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
993 uses the ping command to probe the specified host for packet loss (percentage) and
994 round trip average (milliseconds).
995
996 This command uses the host's `address` attribute if not explicitly specified using
997 the `ping_address` attribute.
998
999 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1000
1001 Name            | Description
1002 ----------------|--------------
1003 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
1004 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
1005 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
1006 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
1007 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
1008 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
1009 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
1010
1011 ### ping6 <a id="plugin-check-command-ping6"></a>
1012
1013 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
1014 uses the ping command to probe the specified host for packet loss (percentage) and
1015 round trip average (milliseconds).
1016
1017 This command uses the host's `address6` attribute if not explicitly specified using
1018 the `ping_address` attribute.
1019
1020 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1021
1022 Name            | Description
1023 ----------------|--------------
1024 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
1025 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
1026 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
1027 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
1028 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
1029 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
1030 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
1031
1032
1033 ### pop <a id="plugin-check-command-pop"></a>
1034
1035 The [check_pop](https://www.monitoring-plugins.org/doc/man/check_pop.html) plugin
1036 tests POP connections with the specified host (or unix socket).
1037
1038 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1039
1040 Name                 | Description
1041 ---------------------|--------------
1042 pop_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1043 pop_port             | **Optional.** The port that should be checked. Defaults to 110.
1044 pop_escape           | **Optional.** Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option. Default: nothing added to send, \\r\\n added to end of quit.
1045 pop_send             | **Optional.** String to send to the server.
1046 pop_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1047 pop_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1048 pop_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1049 pop_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1050 pop_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1051 pop_jail             | **Optional.** Hide output from TCP socket.
1052 pop_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1053 pop_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1054 pop_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1055 pop_ssl              | **Optional.** Use SSL for the connection.
1056 pop_warning          | **Optional.** Response time to result in warning status (seconds).
1057 pop_critical         | **Optional.** Response time to result in critical status (seconds).
1058 pop_timeout          | **Optional.** Seconds before connection times out (default: 10).
1059 pop_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1060 pop_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1061
1062
1063 ### procs <a id="plugin-check-command-processes"></a>
1064
1065 The [check_procs](https://www.monitoring-plugins.org/doc/man/check_procs.html) plugin
1066 checks all processes and generates WARNING or CRITICAL states if the specified
1067 metric is outside the required threshold ranges. The metric defaults to number
1068 of processes. Search filters can be applied to limit the processes to check.
1069
1070 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1071
1072 Name                 | Description
1073 ---------------------|--------------
1074 procs_warning        | **Optional.** The process count warning threshold. Defaults to 250.
1075 procs_critical       | **Optional.** The process count critical threshold. Defaults to 400.
1076 procs_metric         | **Optional.** Check thresholds against metric.
1077 procs_timeout        | **Optional.** Seconds before plugin times out.
1078 procs_traditional    | **Optional.** Filter own process the traditional way by PID instead of /proc/pid/exe. Defaults to false.
1079 procs_state          | **Optional.** Only scan for processes that have one or more of the status flags you specify.
1080 procs_ppid           | **Optional.** Only scan for children of the parent process ID indicated.
1081 procs_vsz            | **Optional.** Only scan for processes with VSZ higher than indicated.
1082 procs_rss            | **Optional.** Only scan for processes with RSS higher than indicated.
1083 procs_pcpu           | **Optional.** Only scan for processes with PCPU higher than indicated.
1084 procs_user           | **Optional.** Only scan for processes with user name or ID indicated.
1085 procs_argument       | **Optional.** Only scan for processes with args that contain STRING.
1086 procs_argument_regex | **Optional.** Only scan for processes with args that contain the regex STRING.
1087 procs_command        | **Optional.** Only scan for exact matches of COMMAND (without path).
1088 procs_nokthreads     | **Optional.** Only scan for non kernel threads. Defaults to false.
1089
1090
1091 ### radius <a id="plugin-check-command-radius"></a>
1092
1093 The [check_radius](https://www.monitoring-plugins.org/doc/man/check_radius.html) plugin
1094 checks a RADIUS server to see if it is accepting connections.  The server to test
1095 must be specified in the invocation, as well as a user name and password. A configuration
1096 file may also be present. The format of the configuration file is described in the
1097 radiusclient library sources.  The password option presents a substantial security
1098 issue because the password can possibly be determined by careful watching of the
1099 command line in a process listing. This risk is exacerbated because the plugin will
1100 typically be executed at regular predictable intervals. Please be sure that the
1101 password used does not allow access to sensitive system resources.
1102
1103
1104 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1105
1106 Name               | Description
1107 -------------------|--------------
1108 radius_address     | **Optional.** The radius server's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1109 radius_config_file | **Required.** The radius configuration file.
1110 radius_username    | **Required.** The radius username to test.
1111 radius_password    | **Required.** The radius password to test.
1112 radius_port        | **Optional.** The radius port number (default 1645).
1113 radius_nas_id      | **Optional.** The NAS identifier.
1114 radius_nas_address | **Optional.** The NAS IP address.
1115 radius_expect      | **Optional.** The response string to expect from the server.
1116 radius_retries     | **Optional.** The number of times to retry a failed connection.
1117 radius_timeout     | **Optional.** The number of seconds before connection times out (default: 10).
1118
1119 ### rpc <a id="plugin-check-command-rpc"></a>
1120
1121 The [check_rpc](https://www.monitoring-plugins.org/doc/man/check_rpc.html)
1122 plugin tests if a service is registered and running using `rpcinfo -H host -C rpc_command`.
1123
1124 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1125
1126 Name        | Description
1127 ---         | ---
1128 rpc_address | **Optional.** The rpc host address. Defaults to "$address$ if the host `address` attribute is set, "$address6$" otherwise.
1129 rpc_command | **Required.** The programm name (or number).
1130 rpc_port    | **Optional.** The port that should be checked.
1131 rpc_version | **Optional.** The version you want to check for (one or more).
1132 rpc_udp     | **Optional.** Use UDP test. Defaults to false.
1133 rpc_tcp     | **Optional.** Use TCP test. Defaults to false.
1134 rpc_verbose | **Optional.** Show verbose output. Defaults to false.
1135
1136 ### simap <a id="plugin-check-command-simap"></a>
1137
1138 The [check_simap](https://www.monitoring-plugins.org/doc/man/check_simap.html) plugin
1139 tests SIMAP connections with the specified host (or unix socket).
1140
1141 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1142
1143 Name                   | Description
1144 -----------------------|--------------
1145 simap_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1146 simap_port             | **Optional.** The port that should be checked. Defaults to 993.
1147 simap_escape           | **Optional.** Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option. Default: nothing added to send, \\r\\n added to end of quit.
1148 simap_send             | **Optional.** String to send to the server.
1149 simap_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1150 simap_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1151 simap_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1152 simap_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1153 simap_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1154 simap_jail             | **Optional.** Hide output from TCP socket.
1155 simap_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1156 simap_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1157 simap_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1158 simap_ssl              | **Optional.** Use SSL for the connection.
1159 simap_warning          | **Optional.** Response time to result in warning status (seconds).
1160 simap_critical         | **Optional.** Response time to result in critical status (seconds).
1161 simap_timeout          | **Optional.** Seconds before connection times out (default: 10).
1162 simap_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1163 simap_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1164
1165 ### smart <a id="plugin-check-command-smart"></a>
1166
1167 The [check_ide_smart](https://www.monitoring-plugins.org/doc/man/check_ide_smart.html) plugin
1168 checks a local hard drive with the (Linux specific) SMART interface. Requires installation of `smartctl`.
1169
1170 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1171
1172 Name            | Description
1173 ----------------|--------------
1174 smart_device    | **Required.** The name of a local hard drive to monitor.
1175
1176
1177 ### smtp <a id="plugin-check-command-smtp"></a>
1178
1179 The [check_smtp](https://www.monitoring-plugins.org/doc/man/check_smtp.html) plugin
1180 will attempt to open an SMTP connection with the host.
1181
1182 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1183
1184 Name                  | Description
1185 ----------------------|--------------
1186 smtp_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1187 smtp_port             | **Optional.** The port that should be checked. Defaults to 25.
1188 smtp_mail_from        | **Optional.** Test a MAIL FROM command with the given email address.
1189 smtp_expect           | **Optional.** String to expect in first line of server response (default: '220').
1190 smtp_command          | **Optional.** SMTP command (may be used repeatedly).
1191 smtp_response         | **Optional.** Expected response to command (may be used repeatedly).
1192 smtp_helo_fqdn        | **Optional.** FQDN used for HELO
1193 smtp_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1194 smtp_starttls         | **Optional.** Use STARTTLS for the connection.
1195 smtp_authtype         | **Optional.** SMTP AUTH type to check (default none, only LOGIN supported).
1196 smtp_authuser         | **Optional.** SMTP AUTH username.
1197 smtp_authpass         | **Optional.** SMTP AUTH password.
1198 smtp_ignore_quit      | **Optional.** Ignore failure when sending QUIT command to server.
1199 smtp_warning          | **Optional.** Response time to result in warning status (seconds).
1200 smtp_critical         | **Optional.** Response time to result in critical status (seconds).
1201 smtp_timeout          | **Optional.** Seconds before connection times out (default: 10).
1202 smtp_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1203 smtp_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1204
1205
1206 ### snmp <a id="plugin-check-command-snmp"></a>
1207
1208 The [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html) plugin
1209 checks the status of remote machines and obtains system information via SNMP.
1210
1211 **Note**: This plugin uses the `snmpget` command included with the NET-SNMP package.
1212
1213 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1214
1215 Name                | Description
1216 --------------------|--------------
1217 snmp_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1218 snmp_oid            | **Required.** The SNMP OID.
1219 snmp_community      | **Optional.** The SNMP community. Defaults to "public".
1220 snmp_port           | **Optional.** The SNMP port. Defaults to "161".
1221 snmp_retries        | **Optional.** Number of retries to be used in the SNMP requests.
1222 snmp_warn           | **Optional.** The warning threshold.
1223 snmp_crit           | **Optional.** The critical threshold.
1224 snmp_string         | **Optional.** Return OK state if the string matches exactly with the output value
1225 snmp_ereg           | **Optional.** Return OK state if extended regular expression REGEX matches with the output value
1226 snmp_eregi          | **Optional.** Return OK state if case-insensitive extended REGEX matches with the output value
1227 snmp_label          | **Optional.** Prefix label for output value
1228 snmp_invert_search  | **Optional.** Invert search result and return CRITICAL state if found
1229 snmp_units          | **Optional.** Units label(s) for output value (e.g., 'sec.').
1230 snmp_version        | **Optional.** Version to use. E.g. 1, 2, 2c or 3.
1231 snmp_miblist        | **Optional.** MIB's to use, comma separated. Defaults to "ALL".
1232 snmp_rate_multiplier | **Optional.** Converts rate per second. For example, set to 60 to convert to per minute.
1233 snmp_rate           | **Optional.** Boolean. Enable rate calculation.
1234 snmp_getnext        | **Optional.** Boolean. Use SNMP GETNEXT. Defaults to false.
1235 snmp_timeout        | **Optional.** The command timeout in seconds. Defaults to 10 seconds.
1236 snmp_offset         | **Optional.** Add/subtract the specified OFFSET to numeric sensor data.
1237 snmp_output_delimiter | **Optional.** Separates output on multiple OID requests.
1238 snmp_perf_oids      | **Optional.** Label performance data with OIDs instead of --label's.
1239
1240 ### snmpv3 <a id="plugin-check-command-snmpv3"></a>
1241
1242 Check command object for the [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html)
1243 plugin, using SNMPv3 authentication and encryption options.
1244
1245 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1246
1247 Name                 | Description
1248 ---------------------|--------------
1249 snmpv3_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1250 snmpv3_getnext       | **Optional.** Use SNMP GETNEXT instead of SNMP GET.
1251 snmpv3_seclevel      | **Optional.** The security level. Defaults to authPriv.
1252 snmpv3_auth_alg      | **Optional.** The authentication algorithm. Defaults to SHA.
1253 snmpv3_user          | **Required.** The username to log in with.
1254 snmpv3_auth_key      | **Required,** The authentication key. Required if `snmpv3_seclevel` is set to `authPriv` otherwise optional.
1255 snmpv3_priv_key      | **Required.** The encryption key.
1256 snmpv3_oid           | **Required.** The SNMP OID.
1257 snmpv3_priv_alg      | **Optional.** The encryption algorithm. Defaults to AES.
1258 snmpv3_warn          | **Optional.** The warning threshold.
1259 snmpv3_crit          | **Optional.** The critical threshold.
1260 snmpv3_string        | **Optional.** Return OK state (for that OID) if STRING is an exact match.
1261 snmpv3_ereg          | **Optional.** Return OK state (for that OID) if extended regular expression REGEX matches.
1262 snmpv3_eregi         | **Optional.** Return OK state (for that OID) if case-insensitive extended REGEX matches.
1263 snmpv3_invert_search | **Optional.** Invert search result and return CRITICAL if found
1264 snmpv3_label         | **Optional.** Prefix label for output value.
1265 snmpv3_units         | **Optional.** Units label(s) for output value (e.g., 'sec.').
1266 snmpv3_rate_multiplier | **Optional.** Converts rate per second. For example, set to 60 to convert to per minute.
1267 snmpv3_rate          | **Optional.** Boolean. Enable rate calculation.
1268 snmpv3_timeout       | **Optional.** The command timeout in seconds. Defaults to 10 seconds.
1269
1270 ### snmp-uptime <a id="plugin-check-command-snmp-uptime"></a>
1271
1272 Check command object for the [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html)
1273 plugin, using the uptime OID by default.
1274
1275 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1276
1277 Name            | Description
1278 ----------------|--------------
1279 snmp_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1280 snmp_oid        | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
1281 snmp_community  | **Optional.** The SNMP community. Defaults to "public".
1282
1283
1284 ### spop <a id="plugin-check-command-spop"></a>
1285
1286 The [check_spop](https://www.monitoring-plugins.org/doc/man/check_spop.html) plugin
1287 tests SPOP connections with the specified host (or unix socket).
1288
1289 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1290
1291 Name                  | Description
1292 ----------------------|--------------
1293 spop_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1294 spop_port             | **Optional.** The port that should be checked. Defaults to 995.
1295 spop_escape           | **Optional.** Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option. Default: nothing added to send, \\r\\n added to end of quit.
1296 spop_send             | **Optional.** String to send to the server.
1297 spop_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1298 spop_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1299 spop_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1300 spop_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1301 spop_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1302 spop_jail             | **Optional.** Hide output from TCP socket.
1303 spop_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1304 spop_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1305 spop_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1306 spop_ssl              | **Optional.** Use SSL for the connection.
1307 spop_warning          | **Optional.** Response time to result in warning status (seconds).
1308 spop_critical         | **Optional.** Response time to result in critical status (seconds).
1309 spop_timeout          | **Optional.** Seconds before connection times out (default: 10).
1310 spop_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1311 spop_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1312
1313
1314 ### ssh <a id="plugin-check-command-ssh"></a>
1315
1316 The [check_ssh](https://www.monitoring-plugins.org/doc/man/check_ssh.html) plugin
1317 connects to an SSH server at a specified host and port.
1318
1319 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1320
1321 Name            | Description
1322 ----------------|--------------
1323 ssh_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1324 ssh_port        | **Optional.** The port that should be checked. Defaults to 22.
1325 ssh_timeout     | **Optional.** Seconds before connection times out. Defaults to 10.
1326 ssh_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1327 ssh_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1328
1329
1330 ### ssl <a id="plugin-check-command-ssl"></a>
1331
1332 Check command object for the [check_tcp](https://www.monitoring-plugins.org/doc/man/check_tcp.html) plugin,
1333 using ssl-related options.
1334
1335 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1336
1337 Name                          | Description
1338 ------------------------------|--------------
1339 ssl_address                   | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1340 ssl_port                      | **Optional.** The port that should be checked. Defaults to 443.
1341 ssl_timeout                   | **Optional.** Timeout in seconds for the connect and handshake. The plugin default is 10 seconds.
1342 ssl_cert_valid_days_warn      | **Optional.** Warning threshold for days before the certificate will expire. When used, the default for ssl_cert_valid_days_critical is 0.
1343 ssl_cert_valid_days_critical  | **Optional.** Critical threshold for days before the certificate will expire. When used, ssl_cert_valid_days_warn must also be set.
1344 ssl_sni                       | **Optional.** The `server_name` that is send to select the SSL certificate to check. Important if SNI is used.
1345
1346
1347 ### ssmtp <a id="plugin-check-command-ssmtp"></a>
1348
1349 The [check_ssmtp](https://www.monitoring-plugins.org/doc/man/check_ssmtp.html) plugin
1350 tests SSMTP connections with the specified host (or unix socket).
1351
1352 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1353
1354 Name                   | Description
1355 -----------------------|--------------
1356 ssmtp_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1357 ssmtp_port             | **Optional.** The port that should be checked. Defaults to 465.
1358 ssmtp_escape           | **Optional.** Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option. Default: nothing added to send, \\r\\n added to end of quit.
1359 ssmtp_send             | **Optional.** String to send to the server.
1360 ssmtp_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1361 ssmtp_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1362 ssmtp_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1363 ssmtp_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1364 ssmtp_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1365 ssmtp_jail             | **Optional.** Hide output from TCP socket.
1366 ssmtp_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1367 ssmtp_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1368 ssmtp_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1369 ssmtp_ssl              | **Optional.** Use SSL for the connection.
1370 ssmtp_warning          | **Optional.** Response time to result in warning status (seconds).
1371 ssmtp_critical         | **Optional.** Response time to result in critical status (seconds).
1372 ssmtp_timeout          | **Optional.** Seconds before connection times out (default: 10).
1373 ssmtp_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1374 ssmtp_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1375
1376
1377 ### swap <a id="plugin-check-command-swap"></a>
1378
1379 The [check_swap](https://www.monitoring-plugins.org/doc/man/check_swap.html) plugin
1380 checks the swap space on a local machine.
1381
1382 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1383
1384 Name            | Description
1385 ----------------|--------------
1386 swap_wfree      | **Optional.** The free swap space warning threshold in % (enable `swap_integer` for number values). Defaults to `50%`.
1387 swap_cfree      | **Optional.** The free swap space critical threshold in % (enable `swap_integer` for number values). Defaults to `25%`.
1388 swap_integer    | **Optional.** Specifies whether the thresholds are passed as number or percent value. Defaults to false (percent values).
1389 swap_allswaps   | **Optional.** Conduct comparisons for all swap partitions, one by one. Defaults to false.
1390 swap_noswap     | **Optional.** Resulting state when there is no swap regardless of thresholds. Possible values are "ok", "warning", "critical", "unknown". Defaults to "critical".
1391
1392
1393 ### tcp <a id="plugin-check-command-tcp"></a>
1394
1395 The [check_tcp](https://www.monitoring-plugins.org/doc/man/check_tcp.html) plugin
1396 tests TCP connections with the specified host (or unix socket).
1397
1398 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1399
1400 Name            | Description
1401 ----------------|--------------
1402 tcp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1403 tcp_port        | **Required.** The port that should be checked.
1404 tcp_expect      | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1405 tcp_all         | **Optional.** All expect strings need to occur in server response. Defaults to false.
1406 tcp_escape_send | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
1407 tcp_send        | **Optional.** String to send to the server.
1408 tcp_escape_quit | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
1409 tcp_quit        | **Optional.** String to send server to initiate a clean close of the connection.
1410 tcp_refuse      | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
1411 tcp_mismatch    | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
1412 tcp_jail        | **Optional.** Hide output from TCP socket.
1413 tcp_maxbytes    | **Optional.** Close connection once more than this number of bytes are received.
1414 tcp_delay       | **Optional.** Seconds to wait between sending string and polling for response.
1415 tcp_certificate | **Optional.** Minimum number of days a certificate has to be valid. 1st value is number of days for warning, 2nd is critical (if not specified: 0) -- separated by comma.
1416 tcp_ssl         | **Optional.** Use SSL for the connection. Defaults to false.
1417 tcp_wtime       | **Optional.** Response time to result in warning status (seconds).
1418 tcp_ctime       | **Optional.** Response time to result in critical status (seconds).
1419 tcp_timeout     | **Optional.** Seconds before connection times out. Defaults to 10.
1420 tcp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1421 tcp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1422
1423
1424 ### udp <a id="plugin-check-command-udp"></a>
1425
1426 The [check_udp](https://www.monitoring-plugins.org/doc/man/check_udp.html) plugin
1427 tests UDP connections with the specified host (or unix socket).
1428
1429 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1430
1431 Name            | Description
1432 ----------------|--------------
1433 udp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1434 udp_port        | **Required.** The port that should be checked.
1435 udp_send        | **Required.** The payload to send in the UDP datagram.
1436 udp_expect      | **Required.** The payload to expect in the response datagram.
1437 udp_quit        | **Optional.** The payload to send to 'close' the session.
1438 udp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1439 udp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1440
1441
1442 ### ups <a id="plugin-check-command-ups"></a>
1443
1444 The [check_ups](https://www.monitoring-plugins.org/doc/man/check_ups.html) plugin
1445 tests the UPS service on the specified host. [Network UPS Tools](http://www.networkupstools.org)
1446  must be running for this plugin to work.
1447
1448 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1449
1450 Name            | Description
1451 ----------------|--------------
1452 ups_address     | **Required.** The address of the host running upsd. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1453 ups_name        | **Required.** The UPS name. Defaults to `ups`.
1454 ups_port        | **Optional.** The port to which to connect. Defaults to 3493.
1455 ups_variable    | **Optional.** The variable to monitor. Must be one of LINE, TEMP, BATTPCT or LOADPCT. If this is not set, the check only relies on the value of `ups.status`.
1456 ups_warning     | **Optional.** The warning threshold for the selected variable.
1457 ups_critical    | **Optional.** The critical threshold for the selected variable.
1458 ups_celsius     | **Optional.** Display the temperature in degrees Celsius instead of Fahrenheit. Defaults to `false`.
1459 ups_timeout     | **Optional.** The number of seconds before the connection times out. Defaults to 10.
1460
1461
1462 ### users <a id="plugin-check-command-users"></a>
1463
1464 The [check_users](https://www.monitoring-plugins.org/doc/man/check_users.html) plugin
1465 checks the number of users currently logged in on the local system and generates an
1466 error if the number exceeds the thresholds specified.
1467
1468 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1469
1470 Name            | Description
1471 ----------------|--------------
1472 users_wgreater  | **Optional.** The user count warning threshold. Defaults to 20.
1473 users_cgreater  | **Optional.** The user count critical threshold. Defaults to 50.
1474
1475
1476
1477 ## Windows Plugins for Icinga 2 <a id="windows-plugins"></a>
1478
1479 To allow a basic monitoring of Windows clients Icinga 2 comes with a set of Windows only plugins. While trying to mirror the functionalities of their linux cousins from the monitoring-plugins package, the differences between Windows and Linux are too big to be able use the same CheckCommands for both systems.
1480
1481 A check-commands-windows.conf comes with Icinga 2, it assumes that the Windows Plugins are installed in the PluginDir set in your constants.conf. To enable them the following include directive is needed in you icinga2.conf:
1482
1483         include <windows-plugins>
1484
1485 One of the differences between the Windows plugins and their linux counterparts is that they consistently do not require thresholds to run, functioning like dummies without.
1486
1487
1488 ### Threshold syntax <a id="windows-plugins-thresholds"></a>
1489
1490 So not specified differently the thresholds for the plugins all follow the same pattern
1491
1492 Threshold    | Meaning
1493 :------------|:----------
1494 "29"         | The threshold is 29.
1495 "!29"        | The threshold is 29, but the negative of the result is returned.
1496 "[10-40]"    | The threshold is a range from (including) 10 to 40, a value inside means the threshold has been exceeded.
1497 "![10-40]"   | Same as above, but the result is inverted.
1498
1499
1500 ### disk-windows <a id="windows-plugins-disk-windows"></a>
1501
1502 Check command object for the `check_disk.exe` plugin.
1503 Aggregates the disk space of all volumes and mount points it can find, or the ones defined in `disk_win_path`. Ignores removable storage like flash drives and discs (CD, DVD etc.).
1504 The data collection is instant and free disk space (default, see `disk_win_show_used`) is used for threshold computation.
1505
1506 > **Note**
1507 >
1508 > Percentage based thresholds can be used by adding a '%' to the threshold
1509 > value.
1510
1511 Custom attributes:
1512
1513 Name                  | Description
1514 :---------------------|:------------
1515 disk\_win\_warn       | **Optional**. The warning threshold. Defaults to "20%".
1516 disk\_win\_crit       | **Optional**. The critical threshold. Defaults to "10%".
1517 disk\_win\_path       | **Optional**. Check only these paths, default checks all.
1518 disk\_win\_unit       | **Optional**. Use this unit to display disk space, thresholds are interpreted in this unit. Defaults to "mb", possible values are: b, kb, mb, gb and tb.
1519 disk\_win\_exclude    | **Optional**. Exclude these drives from check.
1520 disk\_win\_show\_used | **Optional**. Use used instead of free space.
1521
1522 ### load-windows <a id="windows-plugins-load-windows"></a>
1523
1524 Check command object for the `check_load.exe` plugin.
1525 This plugin collects the inverse of the performance counter `\Processor(_Total)\% Idle Time` two times, with a wait time of one second between the collection. To change this wait time use [`perfmon-windows`](10-icinga-template-library.md#windows-plugins-load-windows).
1526
1527 Custom attributes:
1528
1529 Name            | Description
1530 :---------------|:------------
1531 load\_win\_warn | **Optional**. The warning threshold.
1532 load\_win\_crit | **Optional**. The critical threshold.
1533
1534
1535 ### memory-windows <a id="windows-plugins-memory-windows"></a>
1536
1537 Check command object for the `check_memory.exe` plugin.
1538 The memory collection is instant and free memory is used for threshold computation.
1539
1540 > **Note**
1541 >
1542 > Percentage based thresholds can be used by adding a '%' to the threshold
1543 > value. Keep in mind that memory\_win\_unit is applied before the
1544 > value is calculated.
1545
1546 Custom attributes:
1547
1548 Name              | Description
1549 :-----------------|:------------
1550 memory\_win\_warn | **Optional**. The warning threshold. Defaults to "10%".
1551 memory\_win\_crit | **Optional**. The critical threshold. Defaults to "5%".
1552 memory\_win\_unit | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "mb" (megabyte), possible values are: b, kb, mb, gb and tb.
1553 memory\_win\_show\_used | **Optional**. Show used memory instead of the free memory.
1554
1555
1556 ### network-windows <a id="windows-plugins-network-windows"></a>
1557
1558 Check command object for the `check_network.exe` plugin.
1559 Collects the total Bytes inbound and outbound for all interfaces in one second, to itemise interfaces or use a different collection interval use [`perfmon-windows`](10-icinga-template-library.md#windows-plugins-load-windows).
1560
1561 Custom attributes:
1562
1563 Name                | Description
1564 :-------------------|:------------
1565 network\_win\_warn  | **Optional**. The warning threshold.
1566 network\_win\_crit  | **Optional**. The critical threshold.
1567 network\_no\_isatap | **Optional**. Do not print ISATAP interfaces.
1568
1569
1570 ### perfmon-windows <a id="windows-plugins-perfmon-windows"></a>
1571
1572 Check command object for the `check_perfmon.exe` plugin.
1573 This plugins allows to collect data from a Performance Counter. After the first data collection a second one is done after `perfmon_win_wait` milliseconds. When you know `perfmon_win_counter` only requires one set of data to provide valid data you can set `perfmon_win_wait` to `0`.
1574
1575 To receive a list of possible Performance Counter Objects run `check_perfmon.exe --print-objects` and to view an objects instances and counters run `check_perfmon.exe --print-object-info -P "name of object"`
1576
1577 Custom attributes:
1578
1579 Name                  | Description
1580 :---------------------|:------------
1581 perfmon\_win\_warn    | **Optional**. The warning threshold.
1582 perfmon\_win\_crit    | **Optional**. The critical threshold.
1583 perfmon\_win\_counter | **Required**. The Performance Counter to use. Ex. `\Processor(_Total)\% Idle Time`.
1584 perfmon\_win\_wait    | **Optional**. Time in milliseconds to wait between data collection (default: 1000).
1585 perfmon\_win\_type    | **Optional**. Format in which to expect performance values. Possible are: long, int64 and double (default).
1586 perfmon\_win\_syntax  | **Optional**. Use this in the performance output instead of `perfmon\_win\_counter`. Exists for graphics compatibility reasons.
1587
1588
1589 ### ping-windows <a id="windows-plugins-ping-windows"></a>
1590
1591 Check command object for the `check_ping.exe` plugin.
1592 ping-windows should automatically detect whether `ping_win_address` is an IPv4 or IPv6 address. If not, use ping4-windows and ping6-windows. Also note that check\_ping.exe waits at least `ping_win_timeout` milliseconds between the pings.
1593
1594 Custom attributes:
1595
1596 Name               | Description
1597 :------------------|:------------
1598 ping\_win\_warn    | **Optional**. The warning threshold. RTA and package loss separated by comma.
1599 ping\_win\_crit    | **Optional**. The critical threshold. RTA and package loss separated by comma.
1600 ping\_win\_address | **Required**. An IPv4 or IPv6 address.
1601 ping\_win\_packets | **Optional**. Number of packages to send. Default: 5.
1602 ping\_win\_timeout | **Optional**. The timeout in milliseconds. Default: 1000
1603
1604
1605 ### procs-windows <a id="windows-plugins-procs-windows"></a>
1606
1607 Check command object for `check_procs.exe` plugin.
1608 When using `procs_win_user` this plugins needs administrative privileges to access the processes of other users, to just enumerate them no additional privileges are required.
1609
1610 Custom attributes:
1611
1612 Name             | Description
1613 :----------------|:------------
1614 procs\_win\_warn | **Optional**. The warning threshold.
1615 procs\_win\_crit | **Optional**. The critical threshold.
1616 procs\_win\_user | **Optional**. Count this users processes.
1617
1618
1619 ### service-windows <a id="windows-plugins-service-windows"></a>
1620
1621 Check command object for `check_service.exe` plugin.
1622 This checks thresholds work different since the binary decision whether a service is running or not does not allow for three states. As a default `check_service.exe` will return CRITICAL when `service_win_service` is not running, the `service_win_warn` flag changes this to WARNING.
1623
1624 Custom attributes:
1625
1626 Name                      | Description
1627 :-------------------------|:------------
1628 service\_win\_warn        | **Optional**. Warn when service is not running.
1629 service\_win\_description | **Optional**. If this is set, `service\_win\_service` looks at the service description.
1630 service\_win\_service     | **Required**. Name of the service to check.
1631
1632
1633 ### swap-windows <a id="windows-plugins-swap-windows"></a>
1634
1635 Check command object for `check_swap.exe` plugin.
1636 The data collection is instant.
1637
1638 Custom attributes:
1639
1640 Name             | Description
1641 :--------------- | :------------
1642 swap\_win\_warn  | **Optional**. The warning threshold. Defaults to "10%".
1643 swap\_win\_crit  | **Optional**. The critical threshold. Defaults to "5%".
1644 swap\_win\_unit  | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "mb" (megabyte).
1645 swap\_win\_show\_used | **Optional**. Show used swap instead of the free swap.
1646
1647 ### update-windows <a id="windows-plugins-update-windows"></a>
1648
1649 Check command object for `check_update.exe` plugin.
1650 Querying Microsoft for Windows updates can take multiple seconds to minutes. An update is treated as important when it has the WSUS flag for SecurityUpdates or CriticalUpdates.
1651
1652 > **Note**
1653 >
1654 > The Network Services Account which runs Icinga 2 by default does not have the required
1655 > permissions to run this check.
1656
1657 Custom attributes:
1658
1659 Name                | Description
1660 :-------------------|:------------
1661 update\_win\_warn   | **Optional**. If set, returns warning when important updates are available.
1662 update\_win\_crit   | **Optional**. If set, return critical when important updates that require a reboot are available.
1663 update\_win\_reboot | **Optional**. Set to treat 'may need update' as 'definitely needs update'. Please Note that this is true for almost every update and is therefore not recommended.
1664
1665
1666 In contrast to most other plugins, the values of check_update's custom attributes do not set thresholds, but just enable/disable the behavior described in the table above.  
1667 It can be enabled/disabled for example by setting them to "true" or "false", "1" or "0" would also work.  
1668 Thresholds will always be "1".
1669
1670 > **Note**
1671 >
1672 > If they are enabled, performance data will be shown in the web interface.
1673 > If run without the optional parameters, the plugin will output critical if any important updates are available.
1674
1675
1676 ### uptime-windows <a id="windows-plugins-uptime-windows"></a>
1677
1678 Check command object for `check_uptime.exe` plugin.
1679 Uses GetTickCount64 to get the uptime, so boot time is not included.
1680
1681 Custom attributes:
1682
1683 Name              | Description
1684 :-----------------|:------------
1685 uptime\_win\_warn | **Optional**. The warning threshold.
1686 uptime\_win\_crit | **Optional**. The critical threshold.
1687 uptime\_win\_unit | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "s"(seconds), possible values are ms (milliseconds), s, m (minutes), h (hours).
1688
1689
1690 ### users-windows <a id="windows-plugins-users-windows"></a>
1691
1692 Check command object for `check_users.exe` plugin.
1693
1694 Custom attributes:
1695
1696 Name             | Description
1697 :----------------|:------------
1698 users\_win\_warn | **Optional**. The warning threshold.
1699 users\_win\_crit | **Optional**. The critical threshold.
1700
1701
1702 ## Plugin Check Commands for NSClient++ <a id="nscp-plugin-check-commands"></a>
1703
1704 There are two methods available for querying NSClient++:
1705
1706 * Query the [HTTP API](06-distributed-monitoring.md#distributed-monitoring-windows-nscp-check-api) locally from an Icinga 2 client (requires a running NSClient++ service)
1707 * Run a [local CLI check](10-icinga-template-library.md#nscp-check-local) (does not require NSClient++ as a service)
1708
1709 Both methods have their advantages and disadvantages. One thing to
1710 note: If you rely on performance counter delta calculations such as
1711 CPU utilization, please use the HTTP API instead of the CLI sample call.
1712
1713 For security reasons, it is advised to enable the NSClient++ HTTP API for local
1714 connection from the Icinga 2 client only. Remote connections to the HTTP API
1715 are not recommended with using the legacy HTTP API.
1716
1717 ### nscp_api <a id="nscp-check-api"></a>
1718
1719 `check_nscp_api` is part of the Icinga 2 plugins. This plugin is available for
1720 both, Windows and Linux/Unix.
1721
1722 Verify that the ITL CheckCommand is included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1723
1724     vim /etc/icinga2/icinga2.conf
1725
1726     include <plugins>
1727
1728 `check_nscp_api` runs queries against the NSClient++ API. Therefore NSClient++ needs to have
1729 the `webserver` module enabled, configured and loaded.
1730
1731 You can install the webserver using the following CLI commands:
1732
1733     ./nscp.exe web install
1734     ./nscp.exe web password — –set icinga
1735
1736 Now you can define specific [queries](https://docs.nsclient.org/reference/check/CheckHelpers.html#queries)
1737 and integrate them into Icinga 2.
1738
1739 The check plugin `check_nscp_api` can be integrated with the `nscp_api` CheckCommand object:
1740
1741 Custom attributes:
1742
1743 Name                   | Description
1744 :----------------------|:----------------------
1745 nscp\_api\_host       | **Required**. NSCP API host address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1746 nscp\_api\_port       | **Optional**. NSCP API port. Defaults to `8443`.
1747 nscp\_api\_password   | **Required**. NSCP API password. Please check the NSCP documentation for setup details.
1748 nscp\_api\_query      | **Required**. NSCP API query endpoint. Refer to the NSCP documentation for possible values.
1749 nscp\_api\_arguments  | **Optional**. NSCP API arguments dictionary either as single strings or key-value pairs using `=`. Refer to the NSCP documentation.
1750
1751 `nscp_api_arguments` can be used to pass required thresholds to the executed check. The example below
1752 checks the CPU utilization and specifies warning and critical thresholds.
1753
1754 ```
1755 check_nscp_api --host 10.0.10.148 --password icinga --query check_cpu --arguments show-all warning='load>40' critical='load>30'
1756 check_cpu CRITICAL: critical(5m: 48%, 1m: 36%), 5s: 0% | 'total 5m'=48%;40;30 'total 1m'=36%;40;30 'total 5s'=0%;40;30
1757 ```
1758
1759
1760 ### nscp-local <a id="nscp-check-local"></a>
1761
1762 Icinga 2 can use the `nscp client` command to run arbitrary NSClient++ checks locally on the client.
1763
1764 You can enable these check commands by adding the following the include directive in your
1765 [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1766
1767     include <nscp>
1768
1769 You can also optionally specify an alternative installation directory for NSClient++ by adding
1770 the NscpPath constant in your [constants.conf](04-configuring-icinga-2.md#constants-conf) configuration
1771 file:
1772
1773     const NscpPath = "C:\\Program Files (x86)\\NSClient++"
1774
1775 By default Icinga 2 uses the Microsoft Installer API to determine where NSClient++ is installed. It should
1776 not be necessary to manually set this constant.
1777
1778 Note that it is not necessary to run NSClient++ as a Windows service for these commands to work.
1779
1780 The check command object for NSClient++ is available as `nscp-local`.
1781
1782 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1783
1784 Name            | Description
1785 ----------------|--------------
1786 nscp_log_level  | **Optional.** The log level. Defaults to "critical".
1787 nscp_load_all   | **Optional.** Whether to load all modules. Defaults to false.
1788 nscp_modules    | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckSystem" ]`.
1789 nscp_boot       | **Optional.** Whether to use the --boot option. Defaults to true.
1790 nscp_query      | **Required.** The NSClient++ query. Try `nscp client -q x` for a list.
1791 nscp_arguments  | **Optional.** An array of query arguments.
1792 nscp_showall    | **Optional.** Shows more details in plugin output, default to false.
1793
1794 > **Tip**
1795 >
1796 > In order to measure CPU load, you'll need a running NSClient++ service.
1797 > Therefore it is advised to use a local [nscp-api](06-distributed-monitoring.md#distributed-monitoring-windows-nscp-check-api)
1798 > check against its REST API.
1799
1800 ### nscp-local-cpu <a id="nscp-check-local-cpu"></a>
1801
1802 Check command object for the `check_cpu` NSClient++ plugin.
1803
1804 Name                | Description
1805 --------------------|------------------
1806 nscp_cpu_time       | **Optional.** Calculate average usage for the given time intervals. Value has to be an array, default to [ "1m", "5m", "15m" ].
1807 nscp_cpu_warning    | **Optional.** Threshold for WARNING state in percent, default to 80.
1808 nscp_cpu_critical   | **Optional.** Threshold for CRITICAL state in percent, default to 90.
1809 nscp_cpu_arguments  | **Optional.** Additional arguments.
1810 nscp_cpu_showall    | **Optional.** Shows more details in plugin output, default to false.
1811
1812 ### nscp-local-memory <a id="nscp-check-local-memory"></a>
1813
1814 Check command object for the `check_memory` NSClient++ plugin.
1815
1816 Name                  | Description
1817 ----------------------|------------------
1818 nscp_memory_committed | **Optional.** Check for committed memory, default to false.
1819 nscp_memory_physical  | **Optional.** Check for physical memory, default to true.
1820 nscp_memory_free      | **Optional.** Switch between checking free (true) or used memory (false), default to false.
1821 nscp_memory_warning   | **Optional.** Threshold for WARNING state in percent or absolute (use MB, GB, ...), default to 80 (free=false) or 20 (free=true).
1822 nscp_memory_critical  | **Optional.** Threshold for CRITICAL state in percent or absolute (use MB, GB, ...), default to 90 (free=false) or 10 (free=true).
1823 nscp_memory_arguments | **Optional.** Additional arguments.
1824 nscp_memory_showall   | **Optional.** Shows more details in plugin output, default to false.
1825
1826 ### nscp-local-os-version <a id="nscp-check-local-os-version"></a>
1827
1828 Check command object for the `check_os_version` NSClient++ plugin.
1829
1830 This command has the same custom attributes like the `nscp-local` check command.
1831
1832 ### nscp-local-pagefile <a id="nscp-check-local-pagefile"></a>
1833
1834 Check command object for the `check_pagefile` NSClient++ plugin.
1835
1836 This command has the same custom attributes like the `nscp-local` check command.
1837
1838 ### nscp-local-process <a id="nscp-check-local-process"></a>
1839
1840 Check command object for the `check_process` NSClient++ plugin.
1841
1842 This command has the same custom attributes like the `nscp-local` check command.
1843
1844 ### nscp-local-service <a id="nscp-check-local-service"></a>
1845
1846 Check command object for the `check_service` NSClient++ plugin.
1847
1848 Name                   | Description
1849 -----------------------|------------------
1850 nscp_service_name      | **Required.** Name of service to check.
1851 nscp_service_type      | **Optional.** Type to check, default to state.
1852 nscp_service_ok        | **Optional.** State for return an OK, i.e. for type=state running, stopped, ...
1853 nscp_service_otype     | **Optional.** Dedicate type for nscp_service_ok, default to nscp_service_state.
1854 nscp_service_warning   | **Optional.** State for return an WARNING.
1855 nscp_service_wtype     | **Optional.** Dedicate type for nscp_service_warning, default to nscp_service_state.
1856 nscp_service_critical  | **Optional.** State for return an CRITICAL.
1857 nscp_service_ctype     | **Optional.** Dedicate type for nscp_service_critical, default to nscp_service_state.
1858 nscp_service_arguments | **Optional.** Additional arguments.
1859 nscp_service_showall   | **Optional.** Shows more details in plugin output, default to true.
1860
1861 ### nscp-local-uptime <a id="nscp-check-local-uptime"></a>
1862
1863 Check command object for the `check_uptime` NSClient++ plugin.
1864
1865 This command has the same custom attributes like the `nscp-local` check command.
1866
1867 ### nscp-local-version <a id="nscp-check-local-version"></a>
1868
1869 Check command object for the `check_version` NSClient++ plugin.
1870
1871 This command has the same custom attributes like the `nscp-local` check command.
1872 In addition to that the default value for `nscp_modules` is set to `[ "CheckHelpers" ]`.
1873
1874 ### nscp-local-disk <a id="nscp-check-local-disk"></a>
1875
1876 Check command object for the `check_drivesize` NSClient++ plugin.
1877
1878 Name                   | Description
1879 -----------------------|------------------
1880 nscp_disk_drive        | **Optional.** Drive character, default to all drives.
1881 nscp_disk_free         | **Optional.** Switch between checking free space (free=true) or used space (free=false), default to false.
1882 nscp_disk_warning      | **Optional.** Threshold for WARNING in percent or absolute (use MB, GB, ...), default to 80 (used) or 20 percent (free).
1883 nscp_disk_critical     | **Optional.** Threshold for CRITICAL in percent or absolute (use MB, GB, ...), default to 90 (used) or 10 percent (free).
1884 nscp_disk_arguments    | **Optional.** Additional arguments.
1885 nscp_disk_showall      | **Optional.** Shows more details in plugin output, default to true.
1886 nscp_modules           | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckDisk" ]`.
1887
1888 ### nscp-local-counter <a id="nscp-check-local-counter"></a>
1889
1890 Check command object for the `check_pdh` NSClient++ plugin.
1891
1892 Name                   | Description
1893 -----------------------|------------------
1894 nscp_counter_name      | **Required.** Performance counter name.
1895 nscp_counter_warning   | **Optional.** WARNING Threshold.
1896 nscp_counter_critical  | **Optional.** CRITICAL Threshold.
1897 nscp_counter_arguments | **Optional.** Additional arguments.
1898 nscp_counter_showall   | **Optional.** Shows more details in plugin output, default to false.
1899 nscp_counter_perfsyntax | **Optional.** Apply performance data label, e.g. `Total Processor Time` to avoid special character problems. Defaults to `nscp_counter_name`.
1900
1901 ### nscp-local-tasksched <a id="nscp-check-local-tasksched"></a>
1902
1903 Check Command object for the `check_tasksched` NSClient++ plugin.
1904 You can check for a single task or for a complete folder (and sub folders) of tasks.
1905
1906 Name                   | Description
1907 -----------------------|------------------
1908 nscp_tasksched_name         | **Optional.** Name of the task to check.
1909 nscp_tasksched_folder       | **Optional.** The folder in which the tasks to check reside.
1910 nscp_tasksched_recursive    | **Optional.** Recurse sub folder, defaults to true.
1911 nscp_tasksched_hidden       | **Optional.** Look for hidden tasks, defaults to false.
1912 nscp_tasksched_warning      | **Optional.** Filter which marks items which generates a warning state, defaults to `exit_code != 0`.
1913 nscp_tasksched_critical     | **Optional.** Filter which marks items which generates a critical state, defaults to `exit_code < 0`.
1914 nscp_tasksched_emptystate   | **Optional.** Return status to use when nothing matched filter, defaults to warning.
1915 nscp_tasksched_perfsyntax   | **Optional.** Performance alias syntax., defaults to `%(title)`
1916 nscp_tasksched_detailsyntax | **Optional.** Detail level syntax, defaults to `%(folder)/%(title): %(exit_code) != 0`
1917 nscp_tasksched_arguments    | **Optional.** Additional arguments.
1918 nscp_tasksched_showall      | **Optional.** Shows more details in plugin output, default to false.
1919 nscp_modules                | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckTaskSched" ]`.
1920
1921
1922 ## Plugin Check Commands for Manubulon SNMP <a id="snmp-manubulon-plugin-check-commands"></a>
1923
1924 The `SNMP Manubulon Plugin Check Commands` provide configuration for plugin check
1925 commands provided by the [SNMP Manubulon project](http://nagios.manubulon.com/index_snmp.html).
1926
1927 **Note:** Some plugin parameters are only available in Debian packages or in a
1928 [forked repository](https://github.com/dnsmichi/manubulon-snmp) with patches applied.
1929
1930 The SNMP manubulon plugin check commands assume that the global constant named `ManubulonPluginDir`
1931 is set to the path where the Manubublon SNMP plugins are installed.
1932
1933 You can enable these plugin check commands by adding the following the include directive in your
1934 [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1935
1936     include <manubulon>
1937
1938 ### Checks by Host Type
1939
1940 **N/A**      : Not available for this type.
1941
1942 **SNMP**     : Available for simple SNMP query.
1943
1944 **??**       : Untested.
1945
1946 **Specific** : Script name for platform specific checks.
1947
1948
1949   Host type               | Interface  | storage  | load/cpu  | mem | process  | env | specific
1950   ------------------------|------------|----------|-----------|-----|----------|-----|-------------------------
1951   Linux                   |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  |
1952   Windows                 |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  | check_snmp_win.pl
1953   Cisco router/switch     |   Yes      |   N/A    |   Yes     | Yes |   N/A    | Yes |
1954   HP router/switch        |   Yes      |   N/A    |   Yes     | Yes |   N/A    | No  |
1955   Bluecoat proxy          |   Yes      |   SNMP   |   Yes     | SNMP|   No     | Yes |
1956   CheckPoint on SPLAT     |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  | check_snmp_cpfw.pl
1957   CheckPoint on Nokia IP  |   Yes      |   Yes    |   Yes     | No  |   ??     | No  | check_snmp_vrrp.pl
1958   Boostedge               |   Yes      |   Yes    |   Yes     | Yes |   ??     | No  | check_snmp_boostedge.pl
1959   AS400                   |   Yes      |   Yes    |   Yes     | Yes |   No     | No  |
1960   NetsecureOne Netbox     |   Yes      |   Yes    |   Yes     | ??  |   Yes    | No  |
1961   Radware Linkproof       |   Yes      |   N/A    |   SNMP    | SNMP|   No     | No  | check_snmp_linkproof_nhr <br> check_snmp_vrrp.pl
1962   IronPort                |   Yes      |   SNMP   |   SNMP    | SNMP|   No     | Yes |
1963   Cisco CSS               |   Yes      |   ??     |   Yes     | Yes |   No     | ??  | check_snmp_css.pl
1964
1965
1966 ### snmp-env <a id="plugin-check-command-snmp-env"></a>
1967
1968 Check command object for the [check_snmp_env.pl](http://nagios.manubulon.com/snmp_env.html) plugin.
1969
1970 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1971
1972
1973 Name                    | Description
1974 ------------------------|--------------
1975 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1976 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
1977 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
1978 snmp_port               | **Optional.** The SNMP port connection.
1979 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
1980 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
1981 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
1982 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
1983 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
1984 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
1985 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
1986 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
1987 snmp_env_type           | **Optional.** Environment Type [cisco|nokia|bc|iron|foundry|linux]. Defaults to "cisco".
1988 snmp_env_fan            | **Optional.** Minimum fan rpm value (only needed for 'iron' & 'linux')
1989 snmp_env_celsius        | **Optional.** Maximum temp in degrees celsius (only needed for 'iron' & 'linux')
1990 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
1991 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
1992
1993 ### snmp-load <a id="plugin-check-command-snmp-load"></a>
1994
1995 Check command object for the [check_snmp_load.pl](http://nagios.manubulon.com/snmp_load.html) plugin.
1996
1997 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1998
1999
2000 Name                    | Description
2001 ------------------------|--------------
2002 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2003 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2004 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2005 snmp_port               | **Optional.** The SNMP port connection.
2006 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2007 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2008 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2009 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2010 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2011 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2012 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2013 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2014 snmp_warn               | **Optional.** The warning threshold. Change the `snmp_load_type` var to "netsl" for using 3 values.
2015 snmp_crit               | **Optional.** The critical threshold. Change the `snmp_load_type` var to "netsl" for using 3 values.
2016 snmp_load_type          | **Optional.** Load type. Defaults to "stand". Check all available types in the [snmp load](http://nagios.manubulon.com/snmp_load.html) documentation.
2017 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2018 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2019
2020 ### snmp-memory <a id="plugin-check-command-snmp-memory"></a>
2021
2022 Check command object for the [check_snmp_mem.pl](http://nagios.manubulon.com/snmp_mem.html) plugin.
2023
2024 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2025
2026 Name                    | Description
2027 ------------------------|--------------
2028 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2029 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2030 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2031 snmp_port               | **Optional.** The SNMP port connection.
2032 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2033 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2034 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2035 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2036 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2037 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2038 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2039 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2040 snmp_warn               | **Optional.** The warning threshold.
2041 snmp_crit               | **Optional.** The critical threshold.
2042 snmp_is_cisco           | **Optional.** Change OIDs for Cisco switches. Defaults to false.
2043 snmp_is_hp              | **Optional.** Change OIDs for HP/Procurve switches. Defaults to false.
2044 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2045 snmp_memcached          | **Optional.** Include cached memory in used memory, Defaults to false.
2046 snmp_membuffer          | **Optional.** Exclude buffered memory in used memory, Defaults to false.
2047 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2048
2049 ### snmp-storage <a id="plugin-check-command-snmp-storage"></a>
2050
2051 Check command object for the [check_snmp_storage.pl](http://nagios.manubulon.com/snmp_storage.html) plugin.
2052
2053 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2054
2055 Name                    | Description
2056 ------------------------|--------------
2057 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2058 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2059 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2060 snmp_port               | **Optional.** The SNMP port connection.
2061 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2062 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2063 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2064 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2065 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2066 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2067 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2068 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2069 snmp_warn               | **Optional.** The warning threshold.
2070 snmp_crit               | **Optional.** The critical threshold.
2071 snmp_storage_name       | **Optional.** Storage name. Default to regex "^/$$". More options available in the [snmp storage](http://nagios.manubulon.com/snmp_storage.html) documentation.
2072 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2073 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2074 snmp_storage_olength    | **Optional.** Max-size of the SNMP message, usefull in case of Too Long responses.
2075
2076 ### snmp-interface <a id="plugin-check-command-snmp-interface"></a>
2077
2078 Check command object for the [check_snmp_int.pl](http://nagios.manubulon.com/snmp_int.html) plugin.
2079
2080 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2081
2082 Name                        | Description
2083 ----------------------------|--------------
2084 snmp_address                | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2085 snmp_nocrypt                | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2086 snmp_community              | **Optional.** The SNMP community. Defaults to "public".
2087 snmp_port                   | **Optional.** The SNMP port connection.
2088 snmp_v2                     | **Optional.** SNMP version to 2c. Defaults to false.
2089 snmp_v3                     | **Optional.** SNMP version to 3. Defaults to false.
2090 snmp_login                  | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2091 snmp_password               | **Required.** SNMP version 3 password. No value defined as default.
2092 snmp_v3_use_privpass        | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2093 snmp_v3_use_authprotocol    | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2094 snmp_authprotocol           | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2095 snmp_privpass               | **Required.** SNMP version 3 priv password. No value defined as default.
2096 snmp_warn                   | **Optional.** The warning threshold.
2097 snmp_crit                   | **Optional.** The critical threshold.
2098 snmp_interface              | **Optional.** Network interface name. Default to regex "eth0".
2099 snmp_interface_inverse      | **Optional.** Inverse Interface check, down is ok. Defaults to false as it is missing.
2100 snmp_interface_perf         | **Optional.** Check the input/output bandwidth of the interface. Defaults to true.
2101 snmp_interface_label        | **Optional.** Add label before speed in output: in=, out=, errors-out=, etc.
2102 snmp_interface_bits_bytes   | **Optional.** Output performance data in bits/s or Bytes/s. **Depends** on snmp_interface_kbits set to true. Defaults to true.
2103 snmp_interface_percent      | **Optional.** Output performance data in % of max speed. Defaults to false.
2104 snmp_interface_kbits        | **Optional.** Make the warning and critical levels in KBits/s. Defaults to true.
2105 snmp_interface_megabytes    | **Optional.** Make the warning and critical levels in Mbps or MBps. **Depends** on snmp_interface_kbits set to true. Defaults to true.
2106 snmp_interface_64bit        | **Optional.** Use 64 bits counters instead of the standard counters when checking bandwidth & performance data for interface >= 1Gbps. Defaults to false.
2107 snmp_interface_errors       | **Optional.** Add error & discard to Perfparse output. Defaults to true.
2108 snmp_interface_noregexp     | **Optional.** Do not use regexp to match interface name in description OID. Defaults to false.
2109 snmp_interface_delta        | **Optional.** Delta time of perfcheck. Defaults to "300" (5 min).
2110 snmp_interface_warncrit_percent | **Optional.** Make the warning and critical levels in % of reported interface speed. If set, **snmp_interface_megabytes** needs to be set to false. Defaults to false.
2111 snmp_interface_ifname       | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifName when looking up the interface's name.
2112 snmp_interface_ifalias      | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifAlias when looking up the interface's name.
2113 snmp_interface_weathermap   | **Optional.** Output data for ["weathermap" lines](http://docs.nagvis.org/1.9/en_US/lines_weathermap_style.html) in NagVis. **Depends** on `snmp_interface_perf` set to true. Defaults to `false`. **Note**: Available in `check_snmp_int.pl v2.1.0`.
2114 snmp_perf                   | **Optional.** Enable perfdata values. Defaults to true.
2115 snmp_timeout                | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2116
2117 ### snmp-process <a id="plugin-check-command-snmp-process"></a>
2118
2119 Check command object for the [check_snmp_process.pl](http://nagios.manubulon.com/snmp_process.html) plugin.
2120
2121 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2122
2123 Name                       | Description
2124 ---------------------------|--------------
2125 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2126 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2127 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2128 snmp_port                  | **Optional.** The SNMP port connection.
2129 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2130 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2131 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2132 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2133 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2134 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2135 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2136 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default..
2137 snmp_warn                  | **Optional.** The warning threshold.
2138 snmp_crit                  | **Optional.** The critical threshold.
2139 snmp_process_name          | **Optional.** Name of the process (regexp). No trailing slash!. Defaults to ".*".
2140 snmp_perf                  | **Optional.** Enable perfdata values. Defaults to true.
2141 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2142 snmp_process_use_params    | **Optional.** Add process parameters to process name for regexp matching. Example: "named.*-t /var/named/chroot" will only select named process with this parameter. Defaults to false.
2143 snmp_process_mem_usage     | **Optional.** Define to check memory usage for the process. Defaults to false.
2144 snmp_process_mem_threshold | **Optional.** Defines the warning and critical thresholds in Mb when snmp_process_mem_usage set to true. Example "512,1024". Defaults to "0,0".
2145 snmp_process_cpu_usage     | **Optional.** Define to check CPU usage for the process. Defaults to false.
2146 snmp_process_cpu_threshold | **Optional.** Defines the warning and critical thresholds in % when snmp_process_cpu_usage set to true. If more than one CPU, value can be > 100% : 100%=1 CPU. Example "15,50". Defaults to "0,0".
2147
2148 ### snmp-service <a id="plugin-check-command-snmp-service"></a>
2149
2150 Check command object for the [check_snmp_win.pl](http://nagios.manubulon.com/snmp_windows.html) plugin.
2151
2152 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2153
2154 Name                       | Description
2155 ---------------------------|--------------
2156 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2157 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2158 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2159 snmp_port                  | **Optional.** The SNMP port connection.
2160 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2161 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2162 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2163 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2164 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2165 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2166 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2167 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default.
2168 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2169 snmp_service_name          | **Optional.** Comma separated names of services (perl regular expressions can be used for every one). By default, it is not case sensitive. eg. ^dns$. Defaults to ".*".
2170 snmp_service_count         | **Optional.** Compare matching services with a specified number instead of the number of names provided.
2171 snmp_service_showall       | **Optional.** Show all services in the output, instead of only the non-active ones. Defaults to false.
2172 snmp_service_noregexp      | **Optional.** Do not use regexp to match NAME in service description. Defaults to false.
2173
2174
2175 ## Contributed Plugin Check Commands <a id="plugin-contrib"></a>
2176
2177 The contributed Plugin Check Commands provides various additional command definitions
2178 contributed by community members.
2179
2180 These check commands assume that the global constant named `PluginContribDir`
2181 is set to the path where the user installs custom plugins and can be enabled by
2182 uncommenting the corresponding line in [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf):
2183
2184 ```
2185 vim /etc/icinga2/icinga2.conf
2186
2187 include <plugin-contrib>
2188 ```
2189
2190 This is enabled by default since Icinga 2 2.5.0.
2191
2192 ### Big Data <a id="plugin-contrib-big-data"></a>
2193
2194 This category contains plugins for various Big Data systems.
2195
2196 #### cloudera_service_status <a id="plugin-contrib-command-cloudera_service_status"></a>
2197
2198 The [cloudera_service_status](https://github.com/miso231/icinga2-cloudera-plugin) plugin
2199 uses Cloudera Manager API to monitor cluster services
2200
2201 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2202
2203 Name                  | Description
2204 ----------------------|-----------------------------------------------------------------
2205 cloudera_host         | **Required.** Hostname of cloudera server.
2206 cloudera_port         | **Optional.** Port where cloudera is listening. Defaults to 443.
2207 cloudera_user         | **Required.** The username for the API connection.
2208 cloudera_pass         | **Required.** The password for the API connection.
2209 cloudera_api_version  | **Required.** API version of cloudera.
2210 cloudera_cluster      | **Required.** The cluster name in cloudera manager.
2211 cloudera_service      | **Required.** Name of cluster service to be checked.
2212 cloudera_verify_ssl   | **Optional.** Verify SSL. Defaults to true.
2213
2214 ### Databases <a id="plugin-contrib-databases"></a>
2215
2216 This category contains plugins for various database servers.
2217
2218 #### db2_health <a id="plugin-contrib-command-db2_health"></a>
2219
2220 The [check_db2_health](https://labs.consol.de/nagios/check_db2_health/) plugin
2221 uses the `DBD::DB2` Perl library to monitor a [DB2](https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/)
2222 database.
2223
2224 The Git repository is located on [GitHub](https://github.com/lausser/check_db2_health).
2225
2226 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2227
2228 Name                             | Description
2229 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2230 db2_health_database           | **Required.** The name of the database. (If it was catalogued locally, this parameter and `db2_health_not_catalogued = false` are the only you need. Otherwise you must specify database, hostname and port)
2231 db2_health_username           | **Optional.** The username for the database connection.
2232 db2_health_password           | **Optional.** The password for the database connection.
2233 db2_health_port               | **Optional.** The port where DB2 is listening.
2234 db2_health_warning            | **Optional.** The warning threshold depending on the mode.
2235 db2_health_critical           | **Optional.** The critical threshold depending on the mode.
2236 db2_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-usage" or "sql".
2237 db2_health_method             | **Optional.** This tells the plugin how to connect to the database. The only method implemented yet is “dbi” which is the default. (It means, the plugin uses the perl module DBD::DB2).
2238 db2_health_name               | **Optional.** The tablespace, datafile, wait event, latch, enqueue depending on the mode or SQL statement to be executed with "db2_health_mode" sql.
2239 db2_health_name2              | **Optional.** If "db2_health_name" is a sql statement, "db2_health_name2" can be used to appear in the output and the performance data.
2240 db2_health_regexp             | **Optional.** If set to true, "db2_health_name" will be interpreted as a regular expression. Defaults to false.
2241 db2_health_units              | **Optional.** This is used for a better output of mode=sql and for specifying thresholds for mode=tablespace-free. Possible values are "%", "KB", "MB" and "GB".
2242 db2_health_maxinactivity      | **Optional.** Used for the maximum amount of time a certain event has not happened.
2243 db2_health_mitigation         | **Optional.** Classifies the severity of an offline tablespace.
2244 db2_health_lookback           | **Optional.** How many days in the past db2_health check should look back to calculate exitcode.
2245 db2_health_report             | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2246 db2_health_not_catalogued     | **Optional.** Set this variable to false if you want to use a catalogued locally database. Defaults to `true`.
2247 db2_health_env_db2_home       | **Required.** Specifies the location of the db2 client libraries as environment variable `DB2_HOME`. Defaults to "/opt/ibm/db2/V10.5".
2248 db2_health_env_db2_version    | **Optional.** Specifies the DB2 version as environment variable `DB2_VERSION`.
2249
2250 #### mssql_health <a id="plugin-contrib-command-mssql_health"></a>
2251
2252 The [check_mssql_health](https://labs.consol.de/nagios/check_mssql_health/index.html) plugin
2253 uses the `DBD::Sybase` Perl library based on [FreeTDS](http://www.freetds.org/) to monitor a
2254 [MS SQL](https://www.microsoft.com/en-us/sql-server/) server.
2255
2256 The Git repository is located on [GitHub](https://github.com/lausser/check_mssql_health).
2257
2258 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2259
2260 Name                             | Description
2261 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2262 mssql_health_hostname            | **Optional.** Specifies the database hostname or address. No default because you typically use "mssql_health_server".
2263 mssql_health_username            | **Optional.** The username for the database connection.
2264 mssql_health_password            | **Optional.** The password for the database connection.
2265 mssql_health_port                | **Optional.** Specifies the database port. No default because you typically use "mssql_health_server".
2266 mssql_health_server              | **Optional.** The name of a predefined connection (in freetds.conf).
2267 mssql_health_currentdb           | **Optional.** The name of a database which is used as the current database for the connection.
2268 mssql_health_offlineok           | **Optional.** Set this to true if offline databases are perfectly ok for you. Defaults to false.
2269 mssql_health_nooffline           | **Optional.** Set this to true to ignore offline databases. Defaults to false.
2270 mssql_health_dbthresholds        | **Optional.** With this parameter thresholds are read from the database table check_mssql_health_thresholds.
2271 mssql_health_notemp              | **Optional.** Set this to true to ignore temporary databases/tablespaces. Defaults to false.
2272 mssql_health_commit              | **Optional.** Set this to true to turn on autocommit for the dbd::sybase module. Defaults to false.
2273 mssql_health_method              | **Optional.** How the plugin should connect to the database (dbi for the perl module `DBD::Sybase` (default) and `sqlrelay` for the SQLRelay proxy).
2274 mssql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-free" or "sql".
2275 mssql_health_regexp              | **Optional.** If set to true, "mssql_health_name" will be interpreted as a regular expression. Defaults to false.
2276 mssql_health_warning             | **Optional.** The warning threshold depending on the mode.
2277 mssql_health_critical            | **Optional.** The critical threshold depending on the mode.
2278 mssql_health_warningx            | **Optional.** A possible override for the warning threshold.
2279 mssql_health_criticalx           | **Optional.** A possible override for the critical threshold.
2280 mssql_health_units               | **Optional.** This is used for a better output of mode=sql and for specifying thresholds for mode=tablespace-free. Possible values are "%", "KB", "MB" and "GB".
2281 mssql_health_name                | **Optional.** Depending on the mode this could be the database name or a SQL statement.
2282 mssql_health_name2               | **Optional.** If "mssql_health_name" is a sql statement, "mssql_health_name2" can be used to appear in the output and the performance data.
2283 mssql_health_name3               | **Optional.** Additional argument used for 'database-file-free' mode for example.
2284 mssql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2285 mssql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2286 mssql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2287 mssql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2288 mssql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2289 mssql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2290 mssql_health_morphmessage        | **Optional.** Modify the final output message.
2291 mssql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2292 mssql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2293 mssql_health_report              | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2294 mssql_health_multiline           | **Optional.** Multiline output.
2295 mssql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2296 mssql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2297 mssql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2298 mssql_health_timeout             | **Optional.** Plugin timeout. Defaults to 15s.
2299
2300 #### mysql_health <a id="plugin-contrib-command-mysql_health"></a>
2301
2302 The [check_mysql_health](https://labs.consol.de/nagios/check_mysql_health/index.html) plugin
2303 uses the `DBD::MySQL` Perl library to monitor a
2304 [MySQL](https://dev.mysql.com/downloads/mysql/) or [MariaDB](https://mariadb.org/about/) database.
2305
2306 The Git repository is located on [GitHub](https://github.com/lausser/check_mysql_health).
2307
2308 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2309
2310 Name                             | Description
2311 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2312 mysql_health_hostname            | **Required.** Specifies the database hostname or address. Defaults to "$address$" or "$address6$" if the `address` attribute is not set.
2313 mysql_health_port                | **Optional.** Specifies the database port. Defaults to 3306 (or 1186 for "mysql_health_mode" cluster).
2314 mysql_health_socket              | **Optional.** Specifies the database unix socket. No default.
2315 mysql_health_username            | **Optional.** The username for the database connection.
2316 mysql_health_password            | **Optional.** The password for the database connection.
2317 mysql_health_database            | **Optional.** The database to connect to. Defaults to information_schema.
2318 mysql_health_warning             | **Optional.** The warning threshold depending on the mode.
2319 mysql_health_critical            | **Optional.** The critical threshold depending on the mode.
2320 mysql_health_warningx            | **Optional.** The extended warning thresholds depending on the mode.
2321 mysql_health_criticalx           | **Optional.** The extended critical thresholds depending on the mode.
2322 mysql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "slave-lag" or "sql".
2323 mysql_health_method              | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Mysql (default), `mysql` for using the mysql-Tool).
2324 mysql_health_commit              | **Optional.** Turns on autocommit for the dbd::\* module.
2325 mysql_health_notemp              | **Optional.** Ignore temporary databases/tablespaces.
2326 mysql_health_nooffline           | **Optional.** Skip the offline databases.
2327 mysql_health_regexp              | **Optional.** Parameter name/name2/name3 will be interpreted as (perl) regular expression.
2328 mysql_health_name                | **Optional.** The name of a specific component to check.
2329 mysql_health_name2               | **Optional.** The secondary name of a component.
2330 mysql_health_name3               | **Optional.** The tertiary name of a component.
2331 mysql_health_units               | **Optional.** This is used for a better output of mode=sql and for specifying thresholds for mode=tablespace-free. Possible values are "%", "KB", "MB" and "GB".
2332 mysql_health_labelformat         | **Optional.** One of those formats pnp4nagios or groundwork. Defaults to pnp4nagios.
2333 mysql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2334 mysql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2335 mysql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2336 mysql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2337 mysql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2338 mysql_health_morphmessage        | **Optional.** Modify the final output message.
2339 mysql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2340 mysql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2341 mysql_health_report              | **Optional.** Can be used to shorten the output.
2342 mysql_health_multiline           | **Optional.** Multiline output.
2343 mysql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2344 mysql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2345 mysql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2346 mysql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2347 mysql_health_timeout             | **Optional.** Plugin timeout. Defaults to 60s.
2348
2349 #### oracle_health <a id="plugin-contrib-command-oracle_health"></a>
2350
2351 The [check_oracle_health](https://labs.consol.de/nagios/check_oracle_health/index.html) plugin
2352 uses the `DBD::Oracle` Perl library to monitor an [Oracle](https://www.oracle.com/database/) database.
2353
2354 The Git repository is located on [GitHub](https://github.com/lausser/check_oracle_health).
2355
2356 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2357
2358 Name                             | Description
2359 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2360 oracle_health_connect            | **Required.** Specifies the database connection string (from tnsnames.ora).
2361 oracle_health_username           | **Optional.** The username for the database connection.
2362 oracle_health_password           | **Optional.** The password for the database connection.
2363 oracle_health_warning            | **Optional.** The warning threshold depending on the mode.
2364 oracle_health_critical           | **Optional.** The critical threshold depending on the mode.
2365 oracle_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "flash-recovery-area-usage" or "sql".
2366 oracle_health_method             | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Oracle (default), `sqlplus` for using the sqlplus-Tool).
2367 oracle_health_name               | **Optional.** The tablespace, datafile, wait event, latch, enqueue depending on the mode or SQL statement to be executed with "oracle_health_mode" sql.
2368 oracle_health_name2              | **Optional.** If "oracle_health_name" is a sql statement, "oracle_health_name2" can be used to appear in the output and the performance data.
2369 oracle_health_regexp             | **Optional.** If set to true, "oracle_health_name" will be interpreted as a regular expression. Defaults to false.
2370 oracle_health_units              | **Optional.** This is used for a better output of mode=sql and for specifying thresholds for mode=tablespace-free. Possible values are "%", "KB", "MB" and "GB".
2371 oracle_health_ident              | **Optional.** If set to true, outputs instance and database names. Defaults to false.
2372 oracle_health_commit             | **Optional.** Set this to true to turn on autocommit for the dbd::oracle module. Defaults to false.
2373 oracle_health_noperfdata         | **Optional.** Set this to true if you want to disable perfdata. Defaults to false.
2374 oracle_health_timeout            | **Optional.** Plugin timeout. Defaults to 60s.
2375 oracle_health_report             | **Optional.** Select the plugin output format. Can be short or long. Default to long.
2376
2377 Environment Macros:
2378
2379 Name                | Description
2380 --------------------|------------------------------------------------------------------------------------------------------------------------------------------
2381 ORACLE\_HOME         | **Required.** Specifies the location of the oracle instant client libraries. Defaults to "/usr/lib/oracle/11.2/client64/lib". Can be overridden by setting the custom attribute `oracle_home`.
2382 LD\_LIBRARY\_PATH    | **Required.** Specifies the location of the oracle instant client libraries for the run-time shared library loader. Defaults to "/usr/lib/oracle/11.2/client64/lib". Can be overridden by setting the custom attribute `oracle_ld_library_path`.
2383 TNS\_ADMIN           | **Required.** Specifies the location of the tnsnames.ora including the database connection strings. Defaults to "/etc/icinga2/plugin-configs". Can be overridden by setting the custom attribute `oracle_tns_admin`.
2384
2385 #### postgres <a id="plugin-contrib-command-postgres"></a>
2386
2387 The [check_postgres](https://bucardo.org/wiki/Check_postgres) plugin
2388 uses the `psql` binary to monitor a [PostgreSQL](https://www.postgresql.org/about/) database.
2389
2390 The Git repository is located on [GitHub](https://github.com/bucardo/check_postgres).
2391
2392 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2393
2394 Name                             | Description
2395 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2396 postgres_host        | **Optional.** Specifies the database hostname or address. Defaults to "$address$" or "$address6$" if the `address` attribute is not set. If "postgres_unixsocket" is set to true, falls back to unix socket.
2397 postgres_port        | **Optional.** Specifies the database port. Defaults to 5432.
2398 postgres_dbname      | **Optional.** Specifies the database name to connect to. Defaults to "postgres" or "template1".
2399 postgres_dbuser      | **Optional.** The username for the database connection. Defaults to "postgres".
2400 postgres_dbpass      | **Optional.** The password for the database connection. You can use a .pgpass file instead.
2401 postgres_dbservice   | **Optional.** Specifies the service name to use inside of pg_service.conf.
2402 postgres_warning     | **Optional.** Specifies the warning threshold, range depends on the action.
2403 postgres_critical    | **Optional.** Specifies the critical threshold, range depends on the action.
2404 postgres_include     | **Optional.** Specifies name(s) items to specifically include (e.g. tables), depends on the action.
2405 postgres_exclude     | **Optional.** Specifies name(s) items to specifically exclude (e.g. tables), depends on the action.
2406 postgres_includeuser | **Optional.** Include objects owned by certain users.
2407 postgres_excludeuser | **Optional.** Exclude objects owned by certain users.
2408 postgres_standby     | **Optional.** Assume that the server is in continuous WAL recovery mode if set to true. Defaults to false.
2409 postgres_production  | **Optional.** Assume that the server is in production mode if set to true. Defaults to false.
2410 postgres_action      | **Required.** Determines the test executed.
2411 postgres_unixsocket  | **Optional.** If "postgres_unixsocket" is set to true, the unix socket is used instead of an address. Defaults to false.
2412 postgres_query       | **Optional.** Query for "custom_query" action.
2413 postgres_valtype     | **Optional.** Value type of query result for "custom_query".
2414 postgres_reverse     | **Optional.** If "postgres_reverse" is set, warning and critical values are reversed for "custom_query" action.
2415 postgres_tempdir     | **Optional.** Specify directory for temporary files. The default directory is dependent on the OS. More details [here](https://perldoc.perl.org/File/Spec.html).
2416
2417 #### mongodb <a id="plugin-contrib-command-mongodb"></a>
2418
2419 The [check_mongodb.py](https://github.com/mzupan/nagios-plugin-mongodb) plugin
2420 uses the `pymongo` Python library to monitor a [MongoDB](https://docs.mongodb.com/manual/) instance.
2421
2422 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2423
2424 Name                             | Description
2425 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2426 mongodb_host                     | **Required.** Specifies the hostname or address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2427 mongodb_port                     | **Required.** The port mongodb is running on.
2428 mongodb_user                     | **Optional.** The username you want to login as.
2429 mongodb_passwd                   | **Optional.** The password you want to use for that user.
2430 mongodb_authdb                   | **Optional.** The database you want to authenticate against.
2431 mongodb_warning                  | **Optional.** The warning threshold we want to set.
2432 mongodb_critical                 | **Optional.** The critical threshold we want to set.
2433 mongodb_action                   | **Required.** The action you want to take.
2434 mongodb_maxlag                   | **Optional.** Get max replication lag (for replication_lag action only).
2435 mongodb_mappedmemory             | **Optional.** Get mapped memory instead of resident (if resident memory can not be read).
2436 mongodb_perfdata                 | **Optional.** Enable output of Nagios performance data.
2437 mongodb_database                 | **Optional.** Specify the database to check.
2438 mongodb_alldatabases             | **Optional.** Check all databases (action database_size).
2439 mongodb_ssl                      | **Optional.** Connect using SSL.
2440 mongodb_replicaset               | **Optional.** Connect to replicaset.
2441 mongodb_replcheck                | **Optional.** If set to true, will enable the mongodb_replicaset value needed for "replica_primary" check.
2442 mongodb_querytype                | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second.
2443 mongodb_collection               | **Optional.** Specify the collection to check.
2444 mongodb_sampletime               | **Optional.** Time used to sample number of pages faults.
2445
2446 #### elasticsearch <a id="plugin-contrib-command-elasticsearch"></a>
2447
2448 The [check_elasticsearch](https://github.com/anchor/nagios-plugin-elasticsearch) plugin
2449 uses the HTTP API to monitor an [Elasticsearch](https://www.elastic.co/products/elasticsearch) node.
2450
2451 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2452
2453 Name                         | Description
2454 -----------------------------|-------------------------------------------------------------------------------------------------------
2455 elasticsearch_host           | **Optional.** Hostname or network address to probe. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2456 elasticsearch_failuredomain  | **Optional.** A comma-separated list of ElasticSearch attributes that make up your cluster's failure domain.
2457 elasticsearch_masternodes    | **Optional.** Issue a warning if the number of master-eligible nodes in the cluster drops below this number. By default, do not monitor the number of nodes in the cluster.
2458 elasticsearch_port           | **Optional.** TCP port to probe.  The ElasticSearch API should be listening here. Defaults to 9200.
2459 elasticsearch_prefix         | **Optional.** Optional prefix (e.g. 'es') for the ElasticSearch API. Defaults to ''.
2460 elasticsearch_yellowcritical | **Optional.** Instead of issuing a 'warning' for a yellow cluster state, issue a 'critical' alert. Defaults to false.
2461
2462 #### redis <a id="plugin-contrib-command-redis"></a>
2463
2464 The [check_redis.pl](https://github.com/willixix/naglio-plugins/blob/master/check_redis.pl) plugin
2465 uses the `Redis` Perl library to monitor a [Redis](https://redis.io/) instance. The plugin can
2466 measure response time, hitrate, memory utilization, check replication synchronization, etc. It is
2467 also possible to test data in a specified key and calculate averages or summaries on ranges.
2468
2469 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2470
2471 Name                     | Description
2472 -------------------------|--------------------------------------------------------------------------------------------------------------
2473 redis_hostname           | **Required.** Hostname or IP Address to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2474 redis_port               | **Optional.** Port number to query. Default to "6379".
2475 redis_database           | **Optional.** Database name (usually a number) to query, needed for **redis_query**.
2476 redis_password           | **Optional.** Password for Redis authentication. Safer alternative is to put them in a file and use **redis_credentials**.
2477 redis_credentials        | **Optional.** Credentials file to read for Redis authentication.
2478 redis_timeout            | **Optional.** Allows to set timeout for execution of this plugin.
2479 redis_variables          | **Optional.** List of variables from info data to do threshold checks on.
2480 redis_warn               | **Optional.** This option can only be used if **redis_variables** is used and the number of values listed here must exactly match number of variables specified.
2481 redis_crit               | **Optional.** This option can only be used if **redis_variables** is used and the number of values listed here must exactly match number of variables specified.
2482 redis_perfparse          | **Optional.** This should only be used with variables and causes variable data not only to be printed as part of main status line but also as perfparse compatible output. Defaults to false.
2483 redis_perfvars           | **Optional.** This allows to list variables which values will go only into perfparse output (and not for threshold checking).
2484 redis_prev_perfdata      | **Optional.** If set to true, previous performance data are used to calculate rate of change for counter statistics variables and for proper calculation of hitrate. Defaults to false.
2485 redis_rate_label         | **Optional.** Prefix or Suffix label used to create a new variable which has rate of change of another base variable. You can specify PREFIX or SUFFIX or both as one string separated by ",". Default if not specified is suffix "_rate".
2486 redis_query              | **Optional.** Option specifies key to query and optional variable name to assign the results to after.
2487 redis_option             | **Optional.** Specifiers are separated by "," and must include NAME or PATTERN.
2488 redis_response_time      | **Optional.** If this is used, plugin will measure and output connection response time in seconds. With **redis_perfparse** this would also be provided on perf variables.
2489 redis_hitrate            | **Optional.** Calculates Hitrate and specify values are interpreted as WARNING and CRITICAL thresholds.
2490 redis_memory_utilization | **Optional.** This calculates percent of total memory on system used by redis. Total_memory on server must be specified with **redis_total_memory**. If you specify by itself, the plugin will just output this info. Parameter values are interpreted as WARNING and CRITICAL thresholds.
2491 redis_total_memory       | **Optional.** Amount of memory on a system for memory utilization calculation. Use system memory or max_memory setting of redis.
2492 redis_replication_delay  | **Optional.** Allows to set threshold on replication delay info.
2493
2494
2495 ### Hardware <a id="plugin-contrib-hardware"></a>
2496
2497 This category includes all plugin check commands for various hardware checks.
2498
2499 #### hpasm <a id="plugin-contrib-command-hpasm"></a>
2500
2501 The [check_hpasm](https://labs.consol.de/de/nagios/check_hpasm/index.html) plugin
2502 monitors the hardware health of HP Proliant Servers, provided that the `hpasm`
2503 (HP Advanced Server Management) software is installed. It is also able to monitor
2504 the system health of HP Bladesystems and storage systems.
2505
2506 The plugin can run in two different ways:
2507
2508 1. Local execution using the `hpasmcli` command line tool.
2509 2. Remote SNMP query which invokes the HP Insight Tools on the remote node.
2510
2511 You can either set or omit `hpasm_hostname` custom attribute and select the corresponding node.
2512
2513 The `hpasm_remote` attribute enables the plugin to execute remote SNMP queries if set to `true`.
2514 For compatibility reasons this attribute uses `true` as default value, and ensures that
2515 specifying the `hpasm_hostname` always enables remote checks.
2516
2517 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2518
2519 Name                            | Description
2520 --------------------------------|-----------------------------------------------------------------------
2521 hpasm_hostname                  | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2522 hpasm_community                 | **Optional.** SNMP community of the server (SNMP v1/2 only).
2523 hpasm_protocol                  | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2524 hpasm_port                      | **Optional.** The SNMP port to use (default: 161).
2525 hpasm_blacklist                 | **Optional.** Blacklist some (missing/failed) components.
2526 hpasm_ignore-dimms              | **Optional.** Ignore "N/A"-DIMM status on misc. servers (e.g. older DL320).
2527 hpasm_ignore-fan-redundancy     | **Optional.** Ignore missing redundancy partners.
2528 hpasm_customthresholds          | **Optional.** Use custom thresholds for certain temperatures.
2529 hpasm_eventrange                | **Optional.** Period of time before critical IML events respectively become warnings or vanish. A range is described as a number and a unit (s, m, h, d), e.g. --eventrange 1h/20m.
2530 hpasm_perfdata                  | **Optional.** Output performance data. If your performance data string becomes too long and is truncated by Nagios, then you can use --perfdata=short instead. This will output temperature tags without location information.
2531 hpasm_username                  | **Optional.** The securityName for the USM security model (SNMPv3 only).
2532 hpasm_authpassword              | **Optional.** The authentication password for SNMPv3.
2533 hpasm_authprotocol              | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2534 hpasm_privpassword              | **Optional.** The password for authPriv security level.
2535 hpasm_privprotocol              | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2536 hpasm_servertype                | **Optional.** The type of the server: proliant (default) or bladesystem.
2537 hpasm_eval-nics                 | **Optional.** Check network interfaces (and groups). Try it and report me whyt you think about it. I need to build up some know how on this subject. If you get an error and think, it is not justified for your configuration, please tell me about it. (always send the output of "snmpwalk -On .... 1.3.6.1.4.1.232" and a description how you setup your nics and why it is correct opposed to the plugins error message.
2538 hpasm_remote                    | **Optional.** Run remote SNMP checks if enabled. Otherwise checks are executed locally using the `hpasmcli` binary. Defaults to `true`.
2539
2540 #### openmanage <a id="plugin-contrib-command-openmanage"></a>
2541
2542 The [check_openmanage](http://folk.uio.no/trondham/software/check_openmanage.html) plugin
2543 checks the hardware health of Dell PowerEdge (and some PowerVault) servers.
2544 It uses the Dell OpenManage Server Administrator (OMSA) software, which must be running on
2545 the monitored system. check_openmanage can be used remotely with SNMP or locally with icinga2 agent,
2546 check_by_ssh or similar, whichever suits your needs and particular taste.
2547
2548 The plugin checks the health of the storage subsystem, power supplies, memory modules,
2549 temperature probes etc., and gives an alert if any of the components are faulty or operate outside normal parameters.
2550
2551 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2552
2553 Name                            | Description
2554 --------------------------------|-----------------------------------------------------------------------
2555 openmanage_all                  | **Optional.** Check everything, even log content
2556 openmanage_blacklist            | **Optional.** Blacklist missing and/or failed components
2557 openmanage_check                | **Optional.** Fine-tune which components are checked
2558 openmanage_community            | **Optional.** SNMP community string [default=public]
2559 openmanage_config               | **Optional.** Specify configuration file
2560 openmanage_critical             | **Optional.** Custom temperature critical limits
2561 openmanage_extinfo              | **Optional.** Append system info to alerts
2562 openmanage_fahrenheit           | **Optional.** Use Fahrenheit as temperature unit
2563 openmanage_hostname             | **Optional.** Hostname or IP (required for SNMP)
2564 openmanage_htmlinfo             | **Optional.** HTML output with clickable links
2565 openmanage_info                 | **Optional.** Prefix any alerts with the service tag
2566 openmanage_ipv6                 | **Optional.** Use IPv6 instead of IPv4 [default=no]
2567 openmanage_legacy_perfdata      | **Optional.** Legacy performance data output
2568 openmanage_no_storage           | **Optional.** Don't check storage
2569 openmanage_only                 | **Optional.** Only check a certain component or alert type
2570 openmanage_perfdata             | **Optional.** Output performance data [default=no]
2571 openmanage_port                 | **Optional.** SNMP port number [default=161]
2572 openmanage_protocol             | **Optional.** SNMP protocol version [default=2c]
2573 openmanage_short_state          | **Optional.** Prefix alerts with alert state abbreviated
2574 openmanage_show_blacklist       | **Optional.** Show blacklistings in OK output
2575 openmanage_state                | **Optional.** Prefix alerts with alert state
2576 openmanage_tcp                  | **Optional.** Use TCP instead of UDP [default=no]
2577 openmanage_timeout              | **Optional.** Plugin timeout in seconds [default=30]
2578 openmanage_vdisk_critical       | **Optional.** Make any alerts on virtual disks critical
2579 openmanage_warning              | **Optional.** Custom temperature warning limits
2580
2581 #### adaptec-raid <a id="plugin-contrib-command-adaptec-raid"></a>
2582
2583 The [check_adaptec_raid](https://github.com/thomas-krenn/check_adaptec_raid) plugin
2584 uses the `arcconf` binary to monitor Adaptec RAID controllers.
2585
2586 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2587
2588 Name                            | Description
2589 --------------------------------|-----------------------------------------------------------------------
2590 adaptec_controller_number       | **Required.** Controller number to monitor.
2591 arcconf_path                    | **Required.** Path to the `arcconf` binary, e.g. "/sbin/arcconf".
2592
2593 #### lsi-raid <a id="plugin-contrib-command-lsi-raid"></a>
2594
2595 The [check_lsi_raid](https://github.com/thomas-krenn/check_lsi_raid) plugin
2596 uses the `storcli` binary to monitor MegaRAID RAID controllers.
2597
2598 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2599
2600 Name                            | Description
2601 --------------------------------|-----------------------------------------------------------------------
2602 lsi_controller_number           | **Optional.** Controller number to monitor.
2603 storcli_path                    | **Optional.** Path to the `storcli` binary, e.g. "/usr/sbin/storcli".
2604 lsi_enclosure_id                | **Optional.** Enclosure numbers to be checked, comma-separated.
2605 lsi_ld_id                       | **Optional.** Logical devices to be checked, comma-separated.
2606 lsi_pd_id                       | **Optional.** Physical devices to be checked, comma-separated.
2607 lsi_temp_warning                | **Optional.** RAID controller warning temperature.
2608 lsi_temp_critical               | **Optional.** RAID controller critical temperature.
2609 lsi_pd_temp_warning             | **Optional.** Disk warning temperature.
2610 lsi_pd_temp_critical            | **Optional.** Disk critical temperature.
2611 lsi_bbu_temp_warning            | **Optional.** Battery warning temperature.
2612 lsi_bbu_temp_critical           | **Optional.** Battery critical temperature.
2613 lsi_cv_temp_warning             | **Optional.** CacheVault warning temperature.
2614 lsi_cv_temp_critical            | **Optional.** CacheVault critical temperature.
2615 lsi_ignored_media_errors        | **Optional.** Warning threshold for media errors.
2616 lsi_ignored_other_errors        | **Optional.** Warning threshold for other errors.
2617 lsi_ignored_predictive_fails    | **Optional.** Warning threshold for predictive failures.
2618 lsi_ignored_shield_counters     | **Optional.** Warning threshold for shield counter.
2619 lsi_ignored_bbm_counters        | **Optional.** Warning threshold for BBM counter.
2620 lsi_bbu                         | **Optional.** Define if BBU is present and it's state should be checked.
2621 lsi_noenclosures                | **Optional.** If set to true, does not check enclosures.
2622 lsi_nosudo                      | **Optional.** If set to true, does not use sudo when running storcli.
2623 lsi_nocleanlogs                 | **Optional.** If set to true, does not clean up the log files after executing storcli checks.
2624
2625
2626 #### smart-attributes <a id="plugin-contrib-command-smart-attributes"></a>
2627
2628 The [check_smart_attributes](https://github.com/thomas-krenn/check_smart_attributes) plugin
2629 uses the `smartctl` binary to monitor SMART values of SSDs and HDDs.
2630
2631 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2632
2633 Name                            | Description
2634 --------------------------------|-----------------------------------------------------------------------
2635 smart_attributes_config_path    | **Required.** Path to the smart attributes config file (e.g. check_smartdb.json).
2636 smart_attributes_device         | **Required.** Device name (e.g. /dev/sda) to monitor.
2637
2638
2639 ### IcingaCLI <a id="plugin-contrib-icingacli"></a>
2640
2641 This category includes all plugins using the icingacli provided by Icinga Web 2.
2642
2643 The user running Icinga 2 needs sufficient permissions to read the Icinga Web 2 configuration directory. e.g. `usermod -a -G icingaweb2 icinga`. You need to restart, not reload Icinga 2 for the new group membership to work.
2644
2645 #### Business Process <a id="plugin-contrib-icingacli-businessprocess"></a>
2646
2647 This subcommand is provided by the [business process module](https://exchange.icinga.com/icinga/Business+Process)
2648 and executed as `icingacli businessprocess` CLI command.
2649
2650 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2651
2652 Name                                      | Description
2653 ------------------------------------------|-----------------------------------------------------------------------------------------
2654 icingacli_businessprocess_process         | **Required.** Business process to monitor.
2655 icingacli_businessprocess_config          | **Optional.** Configuration file containing your business process without file extension.
2656 icingacli_businessprocess_details         | **Optional.** Get details for root cause analysis. Defaults to false.
2657 icingacli_businessprocess_statetype       | **Optional.** Define which state type to look at, `soft` or `hard`. Overrides the default value inside the businessprocess module, if configured.
2658
2659 #### Director <a id="plugin-contrib-icingacli-director"></a>
2660
2661 This subcommand is provided by the [director module](https://github.com/Icinga/icingaweb2-module-director) > 1.4.2 and executed as `icingacli director health check`. Please refer to the [documentation](https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/60-CLI.md#health-check-plugin) for all available sub-checks.
2662
2663 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2664
2665 Name                                      | Description
2666 ------------------------------------------|-----------------------------------------------------------------------------------------
2667 icingacli_director_check                  | **Optional.** Run only a specific test suite.
2668 icingacli_director_db                     | **Optional.** Use a specific Icinga Web DB resource.
2669
2670 ### IPMI Devices <a id="plugin-contrib-ipmi"></a>
2671
2672 This category includes all plugins for IPMI devices.
2673
2674 #### ipmi-sensor <a id="plugin-contrib-command-ipmi-sensor"></a>
2675
2676 The [check_ipmi_sensor](https://github.com/thomas-krenn/check_ipmi_sensor_v3) plugin
2677 uses the `ipmimonitoring` binary to monitor sensor data for IPMI devices. Please
2678 read the [documentation](https://www.thomas-krenn.com/en/wiki/IPMI_Sensor_Monitoring_Plugin)
2679 for installation and configuration details.
2680
2681 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2682
2683 Name                             | Description
2684 ---------------------------------|-----------------------------------------------------------------------------------------------------
2685 ipmi_address                     | **Required.** Specifies the remote host (IPMI device) to check. Defaults to "$address$".
2686 ipmi_config_file                 | **Optional.** Path to the FreeIPMI configuration file. It should contain IPMI username, IPMI password, and IPMI privilege-level.
2687 ipmi_username                    | **Optional.** The IPMI username.
2688 ipmi_password                    | **Optional.** The IPMI password.
2689 ipmi_privilege_level             | **Optional.** The IPMI privilege level of the IPMI user.
2690 ipmi_backward_compatibility_mode | **Optional.** Enable backward compatibility mode, useful for FreeIPMI 0.5.\* (this omits FreeIPMI options "--quiet-cache" and "--sdr-cache-recreate").
2691 ipmi_sensor_type                 | **Optional.** Limit sensors to query based on IPMI sensor type. Examples for IPMI sensor types are 'Fan', 'Temperature' and 'Voltage'.
2692 ipmi_sel_type                    | **Optional.** Limit SEL entries to specific types, run 'ipmi-sel -L' for a list of types. All sensors are populated to the SEL and per default all sensor types are monitored.
2693 ipmi_exclude_sensor_id           | **Optional.** Exclude sensor matching ipmi_sensor_id.
2694 ipmi_exclude_sensor              | **Optional.** Exclude sensor based on IPMI sensor type. (Comma-separated)
2695 ipmi_exclude_sel                 | **Optional.** Exclude SEL entries of specific sensor types. (comma-separated list).
2696 ipmi_sensor_id                   | **Optional.** Include sensor matching ipmi_sensor_id.
2697 ipmi_protocol_lan_version        | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
2698 ipmi_number_of_active_fans       | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned.
2699 ipmi_show_fru                    | **Optional.** Print the product serial number if it is available in the IPMI FRU data.
2700 ipmi_no_sel_checking             | **Optional.** Turn off system event log checking via ipmi-sel.
2701 ipmi_no_thresholds               | **Optional.** Turn off performance data thresholds from output-sensor-thresholds.
2702 ipmi_verbose                     | **Optional.** Be Verbose multi line output, also with additional details for warnings.
2703 ipmi_debug                       | **Optional.** Be Verbose debugging output, followed by normal multi line output.
2704
2705 #### ipmi-alive <a id="plugin-contrib-command-ipmi-alive"></a>
2706
2707 The `ipmi-alive` check commands allows you to create a ping check for the IPMI Interface.
2708
2709 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2710
2711 Name                             | Description
2712 ---------------------------------|-----------------------------------------------------------------------------------------------------
2713 ping_address                     | **Optional.** The address of the IPMI interface. Defaults to "$address$" if the IPMI interface's `address` attribute is set, "$address6$" otherwise.
2714 ping_wrta                        | **Optional.** The RTA warning threshold in milliseconds. Defaults to 5000.
2715 ping_wpl                         | **Optional.** The packet loss warning threshold in %. Defaults to 100.
2716 ping_crta                        | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
2717 ping_cpl                         | **Optional.** The packet loss critical threshold in %. Defaults to 100.
2718 ping_packets                     | **Optional.** The number of packets to send. Defaults to 1.
2719 ping_timeout                     | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
2720
2721
2722 ### Log Management <a id="plugins-contrib-log-management"></a>
2723
2724 This category includes all plugins for log management, for example [Logstash](https://www.elastic.co/products/logstash).
2725
2726 #### logstash <a id="plugins-contrib-command-logstash"></a>
2727
2728 The [logstash](https://github.com/widhalmt/check_logstash) plugin connects to
2729 the Node API of Logstash. This plugin requires at least Logstash version 5.0.x.
2730
2731 The Node API is not activated by default. You have to configure your Logstash
2732 installation in order to allow plugin connections.
2733
2734 Name                       | Description
2735 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2736 logstash_hostname          | **Optional.** Hostname where Logstash is running. Defaults to `check_address`
2737 logstash_port              | **Optional.** Port where Logstash is listening for API requests. Defaults to 9600
2738 logstash_filedesc_warn     | **Optional.** Warning threshold of file descriptor usage in percent. Defaults to 85 (percent).
2739 logstash_filedesc_crit     | **Optional.** Critical threshold of file descriptor usage in percent. Defaults to 95 (percent).
2740 logstash_heap_warn         | **Optional.** Warning threshold of heap usage in percent. Defaults to 70 (percent).
2741 logstash_heap_crit         | **Optional.** Critical threshold of heap usage in percent Defaults to 80 (percent).
2742 logstash_inflight_warn     | **Optional.** Warning threshold of inflight events.
2743 logstash_inflight_crit     | **Optional.** Critical threshold of inflight events.
2744 logstash_cpu_warn          | **Optional.** Warning threshold for cpu usage in percent.
2745 logstash_cpu_crit          | **Optional.** Critical threshold for cpu usage in percent.
2746
2747
2748 ### Metrics <a id="plugin-contrib-metrics"></a>
2749
2750 This category includes all plugins for metric-based checks.
2751
2752 #### graphite <a id="plugin-contrib-command-graphite"></a>
2753
2754 The [check_graphite](https://github.com/obfuscurity/nagios-scripts) plugin
2755 uses the `rest-client` Ruby library to monitor a [Graphite](https://graphiteapp.org) instance.
2756
2757 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2758
2759 Name                                | Description
2760 ------------------------------------|-----------------------------------------------------------------------------------------------------
2761 graphite_url                        | **Required.** Target url.
2762 graphite_metric                     | **Required.** Metric path string.
2763 graphite_shortname                  | **Optional.** Metric short name (used for performance data).
2764 graphite_duration                   | **Optional.** Length, in minute of data to parse (default: 5).
2765 graphite_function                   | **Optional.** Function applied to metrics for thresholds (default: average).
2766 graphite_warning                    | **Required.** Warning threshold.
2767 graphite_critical                   | **Required.** Critical threshold.
2768 graphite_units                      | **Optional.** Adds a text tag to the metric count in the plugin output. Useful to identify the metric units. Doesn't affect data queries.
2769 graphite_message                    | **Optional.** Text message to output (default: "metric count:").
2770 graphite_zero_on_error              | **Optional.** Return 0 on a graphite 500 error.
2771 graphite_link_graph                 | **Optional.** Add a link in the plugin output, showing a 24h graph for this metric in graphite.
2772
2773 ### Network Components <a id="plugin-contrib-network-components"></a>
2774
2775 This category includes all plugins for various network components like routers, switches and firewalls.
2776
2777 #### interfacetable <a id="plugin-contrib-command-interfacetable"></a>
2778
2779 The [check_interfacetable_v3t](http://www.tontonitch.com/tiki/tiki-index.php?page=Nagios+plugins+-+interfacetable_v3t) plugin
2780 generates a html page containing information about the monitored node and all of its interfaces.
2781
2782 The Git repository is located on [GitHub](https://github.com/Tontonitch/interfacetable_v3t).
2783
2784 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2785
2786 Name                                | Description
2787 ------------------------------------|-----------------------------------------------------------------------------------------------------
2788 interfacetable_hostquery            | **Required.** Specifies the remote host to poll. Defaults to "$address$".
2789 interfacetable_hostdisplay          | **Optional.** Specifies the hostname to display in the HTML link. Defaults to "$host.display_name$".
2790 interfacetable_regex                | **Optional.** Interface names and property names for some other options will be interpreted as regular expressions. Defaults to false.
2791 interfacetable_outputshort          | **Optional.** Reduce the verbosity of the plugin output. Defaults to false.
2792 interfacetable_exclude              | **Optional.** Comma separated list of interfaces globally excluded from the monitoring.
2793 interfacetable_include              | **Optional.** Comma separated list of interfaces globally included in the monitoring.
2794 interfacetable_aliasmatching        | **Optional.** Allow you to specify alias in addition to interface names. Defaults to false.
2795 interfacetable_excludetraffic       | **Optional.** Comma separated list of interfaces excluded from traffic checks.
2796 interfacetable_includetraffic       | **Optional.** Comma separated list of interfaces included for traffic checks.
2797 interfacetable_warningtraffic       | **Optional.** Interface traffic load percentage leading to a warning alert.
2798 interfacetable_criticaltraffic      | **Optional.** Interface traffic load percentage leading to a critical alert.
2799 interfacetable_pkt                  | **Optional.** Add unicast/non-unicast pkt stats for each interface.
2800 interfacetable_trafficwithpkt       | **Optional.** Enable traffic calculation using pkt counters instead of octet counters. Useful when using 32-bit counters to track the load on > 1GbE interfaces. Defaults to false.
2801 interfacetable_trackproperty        | **Optional.** List of tracked properties.
2802 interfacetable_excludeproperty      | **Optional.** Comma separated list of interfaces excluded from the property tracking.
2803 interfacetable_includeproperty      | **Optional.** Comma separated list of interfaces included in the property tracking.
2804 interfacetable_community            | **Optional.** Specifies the snmp v1/v2c community string. Defaults to "public" if using snmp v1/v2c, ignored using v3.
2805 interfacetable_snmpv2               | **Optional.** Use snmp v2c. Defaults to false.
2806 interfacetable_login                | **Optional.** Login for snmpv3 authentication.
2807 interfacetable_passwd               | **Optional.** Auth password for snmpv3 authentication.
2808 interfacetable_privpass             | **Optional.** Priv password for snmpv3 authentication.
2809 interfacetable_protocols            | **Optional.** Authentication protocol,Priv protocol for snmpv3 authentication.
2810 interfacetable_domain               | **Optional.** SNMP transport domain.
2811 interfacetable_contextname          | **Optional.** Context name for the snmp requests.
2812 interfacetable_port                 | **Optional.** SNMP port. Defaults to standard port.
2813 interfacetable_64bits               | **Optional.** Use SNMP 64-bits counters. Defaults to false.
2814 interfacetable_maxrepetitions       | **Optional.** Increasing this value may enhance snmp query performances by gathering more results at one time.
2815 interfacetable_snmptimeout          | **Optional.** Define the Transport Layer timeout for the snmp queries.
2816 interfacetable_snmpretries          | **Optional.** Define the number of times to retry sending a SNMP message.
2817 interfacetable_snmpmaxmsgsize       | **Optional.** Size of the SNMP message in octets, useful in case of too long responses. Be careful with network filters. Range 484 - 65535. Apply only to netsnmp perl bindings. The default is 1472 octets for UDP/IPv4, 1452 octets for UDP/IPv6, 1460 octets for TCP/IPv4, and 1440 octets for TCP/IPv6.
2818 interfacetable_unixsnmp             | **Optional.** Use unix snmp utilities for snmp requests. Defaults to false, which means use the perl bindings.
2819 interfacetable_enableperfdata       | **Optional.** Enable port performance data. Defaults to false.
2820 interfacetable_perfdataformat       | **Optional.** Define which performance data will be generated. Possible values are "full" (default), "loadonly", "globalonly".
2821 interfacetable_perfdatathreshold    | **Optional.** Define which thresholds are printed in the generated performance data. Possible values are "full" (default), "loadonly", "globalonly".
2822 interfacetable_perfdatadir          | **Optional.** When specified, the performance data are also written directly to a file, in the specified location.
2823 interfacetable_perfdataservicedesc  | **Optional.** Specify additional parameters for output performance data to PNP. Defaults to "$service.name$", only affects **interfacetable_perfdatadir**.
2824 interfacetable_grapher              | **Optional.** Specify the used graphing solution. Possible values are "pnp4nagios" (default), "nagiosgrapher", "netwaysgrapherv2" and "ingraph".
2825 interfacetable_grapherurl           | **Optional.** Graphing system url. Default depends on **interfacetable_grapher**.
2826 interfacetable_portperfunit         | **Optional.** Traffic could be reported in bits (counters) or in bps (calculated value).
2827 interfacetable_nodetype             | **Optional.** Specify the node type, for specific information to be printed / specific oids to be used. Possible values: "standard" (default), "cisco", "hp", "netscreen", "netapp", "bigip", "bluecoat", "brocade", "brocade-nos", "nortel", "hpux".
2828 interfacetable_duplex               | **Optional.** Add the duplex mode property for each interface in the interface table. Defaults to false.
2829 interfacetable_stp                  | **Optional.** Add the stp state property for each interface in the interface table. Defaults to false.
2830 interfacetable_vlan                 | **Optional.** Add the vlan attribution property for each interface in the interface table. Defaults to false. This option is available only for the following nodetypes: "cisco", "hp", "nortel"
2831 interfacetable_noipinfo             | **Optional.** Remove the ip information for each interface from the interface table. Defaults to false.
2832 interfacetable_alias                | **Optional.** Add the alias information for each interface in the interface table. Defaults to false.
2833 interfacetable_accessmethod         | **Optional.** Access method for a shortcut to the host in the HTML page. Format is : <method>[:<target>] Where method can be: ssh, telnet, http or https.
2834 interfacetable_htmltablelinktarget  | **Optional.** Specifies the windows or the frame where the [details] link will load the generated html page. Possible values are: "_blank", "_self" (default), "_parent", "_top", or a frame name.
2835 interfacetable_delta                | **Optional.** Set the delta used for interface throughput calculation in seconds.
2836 interfacetable_ifs                  | **Optional.** Input field separator. Defaults to ",".
2837 interfacetable_cache                | **Optional.** Define the retention time of the cached data in seconds.
2838 interfacetable_noifloadgradient     | **Optional.** Disable color gradient from green over yellow to red for the load percentage. Defaults to false.
2839 interfacetable_nohuman              | **Optional.** Do not translate bandwidth usage in human readable format. Defaults to false.
2840 interfacetable_snapshot             | **Optional.** Force the plugin to run like if it was the first launch. Defaults to false.
2841 interfacetable_timeout              | **Optional.** Define the global timeout limit of the plugin in seconds. Defaults to "15s".
2842 interfacetable_css                  | **Optional.** Define the css stylesheet used by the generated html files. Possible values are "classic", "icinga" or "icinga-alternate1".
2843 interfacetable_config               | **Optional.** Specify a config file to load.
2844 interfacetable_noconfigtable        | **Optional.** Disable configuration table on the generated HTML page. Defaults to false.
2845 interfacetable_notips               | **Optional.** Disable the tips in the generated html tables. Defaults to false.
2846 interfacetable_defaulttablesorting  | **Optional.** Default table sorting can be "index" (default) or "name".
2847 interfacetable_tablesplit           | **Optional.** Generate multiple interface tables, one per interface type. Defaults to false.
2848 interfacetable_notype               | **Optional.** Remove the interface type for each interface. Defaults to false.
2849
2850 #### iftraffic <a id="plugin-contrib-command-iftraffic"></a>
2851
2852 The [check_iftraffic](https://exchange.icinga.com/exchange/iftraffic) plugin
2853 checks the utilization of a given interface name using the SNMP protocol.
2854
2855 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2856
2857 Name                    | Description
2858 ------------------------|---------------------------------------------------------
2859 iftraffic_address       | **Required.** Specifies the remote host. Defaults to "$address$".
2860 iftraffic_community     | **Optional.** SNMP community. Defaults to "public'" if omitted.
2861 iftraffic_interface     | **Required.** Queried interface name.
2862 iftraffic_bandwidth     | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2863 iftraffic_units         | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2864 iftraffic_warn          | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2865 iftraffic_crit          | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2866 iftraffic_max_counter   | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2867
2868 #### iftraffic64 <a id="plugin-contrib-command-iftraffic64"></a>
2869
2870 The [check_iftraffic64](https://exchange.icinga.com/exchange/iftraffic64) plugin
2871 checks the utilization of a given interface name using the SNMP protocol.
2872
2873 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2874
2875 Name                    | Description
2876 ------------------------|---------------------------------------------------------
2877 iftraffic64_address     | **Required.** Specifies the remote host. Defaults to "$address$".
2878 iftraffic64_community   | **Optional.** SNMP community. Defaults to "public'" if omitted.
2879 iftraffic64_interface   | **Required.** Queried interface name.
2880 iftraffic64_bandwidth   | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2881 iftraffic64_units       | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2882 iftraffic64_warn        | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2883 iftraffic64_crit        | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2884 iftraffic64_max_counter | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2885
2886 #### interfaces <a id="plugin-contrib-command-interfaces"></a>
2887
2888 The [check_interfaces](https://git.netways.org/plugins/check_interfaces) plugin
2889 uses SNMP to monitor network interfaces and their utilization.
2890
2891 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2892
2893 Name                      | Description
2894 --------------------------|---------------------------------------------------------
2895 interfaces_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2896 interfaces_regex          | **Optional.** Interface list regexp.
2897 interfaces_exclude_regex  | **Optional.** Interface list negative regexp.
2898 interfaces_errors         | **Optional.** Number of in errors (CRC errors for cisco) to consider a warning (default 50).
2899 interface_out_errors      | **Optional.** Number of out errors (collisions for cisco) to consider a warning (default same as in errors).
2900 interfaces_perfdata       | **Optional.** perfdata from last check result.
2901 interfaces_prefix         | **Optional.** Prefix interface names with this label.
2902 interfaces_lastcheck      | **Optional.** Last checktime (unixtime).
2903 interfaces_bandwidth      | **Optional.** Bandwidth warn level in percent.
2904 interfaces_speed          | **Optional.** Override speed detection with this value (bits per sec).
2905 interfaces_trim           | **Optional.** Cut this number of characters from the start of interface descriptions.
2906 interfaces_mode           | **Optional.** Special operating mode (default,cisco,nonbulk,bintec).
2907 interfaces_auth_proto     | **Optional.** SNMPv3 Auth Protocol (SHA\|MD5)
2908 interfaces_auth_phrase    | **Optional.** SNMPv3 Auth Phrase
2909 interfaces_priv_proto     | **Optional.** SNMPv3 Privacy Protocol (AES\|DES)
2910 interfaces_priv_phrase    | **Optional.** SNMPv3 Privacy Phrase
2911 interfaces_user           | **Optional.** SNMPv3 User
2912 interfaces_down_is_ok     | **Optional.** Disables critical alerts for down interfaces.
2913 interfaces_aliases        | **Optional.** Retrieves the interface description.
2914 interfaces_match_aliases  | **Optional.** Also match against aliases (Option --aliases automatically enabled).
2915 interfaces_timeout        | **Optional.** Sets the SNMP timeout (in ms).
2916 interfaces_sleep          | **Optional.** Sleep between every SNMP query (in ms).
2917 interfaces_names          | **Optional.** If set to true, use ifName instead of ifDescr.
2918
2919 #### nwc_health <a id="plugin-contrib-command-nwc_health"></a>
2920
2921 The [check_nwc_health](https://labs.consol.de/de/nagios/check_nwc_health/index.html) plugin
2922 uses SNMP to monitor network components. The plugin is able to generate interface statistics,
2923 check hardware (CPU, memory, fan, power, etc.), monitor firewall policies, HRSP, load-balancer
2924 pools, processor and memory usage.
2925
2926 Currently the following network components are supported: Cisco IOS, Cisco Nexus, Cisco ASA,
2927 Cisco PIX, F5 BIG-IP, CheckPoint Firewall1, Juniper NetScreen, HP Procurve, Nortel, Brocade 4100/4900,
2928 EMC DS 4700, EMC DS 24, Allied Telesyn. Blue Coat SG600, Cisco Wireless Lan Controller 5500,
2929 Brocade ICX6610-24-HPOE, Cisco UC Telefonzeugs, FOUNDRY-SN-AGENT-MIB, FRITZ!BOX 7390, FRITZ!DECT 200,
2930 Juniper IVE, Pulse-Gateway MAG4610, Cisco IronPort AsyncOS, Foundry, etc. A complete list can be
2931 found in the plugin [documentation](https://labs.consol.de/nagios/check_nwc_health/index.html).
2932
2933 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2934
2935 Name                            | Description
2936 --------------------------------|---------------------------------------------------------
2937 nwc_health_hostname             | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2938 nwc_health_mode                 | **Optional.** The plugin mode. A list of all available modes can be found in the [plugin documentation](https://labs.consol.de/nagios/check_nwc_health/index.html).
2939 nwc_health_timeout              | **Optional.** Seconds before plugin times out (default: 15)
2940 nwc_health_blacklist            | **Optional.** Blacklist some (missing/failed) components.
2941 nwc_health_port                 | **Optional.** The SNMP port to use (default: 161).
2942 nwc_health_domain               | **Optional.** The transport domain to use (default: udp/ipv4, other possible values: udp6, udp/ipv6, tcp, tcp4, tcp/ipv4, tcp6, tcp/ipv6).
2943 nwc_health_protocol             | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2944 nwc_health_community            | **Optional.** SNMP community of the server (SNMP v1/2 only).
2945 nwc_health_username             | **Optional.** The securityName for the USM security model (SNMPv3 only).
2946 nwc_health_authpassword         | **Optional.** The authentication password for SNMPv3.
2947 nwc_health_authprotocol         | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2948 nwc_health_privpassword         | **Optional.** The password for authPriv security level.
2949 nwc_health_privprotocol         | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2950 nwc_health_contextengineid      | **Optional.** The context engine id for SNMPv3 (10 to 64 hex characters).
2951 nwc_health_contextname          | **Optional.** The context name for SNMPv3 (empty represents the default context).
2952 nwc_health_name                 | **Optional.** The name of an interface (ifDescr).
2953 nwc_health_drecksptkdb          | **Optional.** This parameter must be used instead of --name, because Devel::ptkdb is stealing the latter from the command line.
2954 nwc_health_alias                | **Optional.** The alias name of a 64bit-interface (ifAlias)
2955 nwc_health_regexp               | **Optional.** A flag indicating that --name is a regular expression
2956 nwc_health_ifspeedin            | **Optional.** Override the ifspeed oid of an interface (only inbound)
2957 nwc_health_ifspeedout           | **Optional.** Override the ifspeed oid of an interface (only outbound)
2958 nwc_health_ifspeed              | **Optional.** Override the ifspeed oid of an interface
2959 nwc_health_units                | **Optional.** One of %, B, KB, MB, GB, Bit, KBi, MBi, GBi. (used for e.g. mode interface-usage)
2960 nwc_health_name2                | **Optional.** The secondary name of a component.
2961 nwc_health_role                 | **Optional.** The role of this device in a hsrp group (active/standby/listen).
2962 nwc_health_report               | **Optional.** Can be used to shorten the output. Possible values are: 'long' (default), 'short' (to shorten if available), or 'html' (to produce some html outputs if available)
2963 nwc_health_lookback             | **Optional.** The amount of time you want to look back when calculating average rates. Use it for mode interface-errors or interface-usage. Without --lookback the time between two runs of check_nwc_health is the base for calculations. If you want your checkresult to be based for example on the past hour, use --lookback 3600.
2964 nwc_health_warning              | **Optional.** The warning threshold
2965 nwc_health_critical             | **Optional.** The critical threshold
2966 nwc_health_warningx             | **Optional.** The extended warning thresholds
2967 nwc_health_criticalx            | **Optional.** The extended critical thresholds
2968 nwc_health_mitigation           | **Optional.** The parameter allows you to change a critical error to a warning (1) or ok (0).
2969 nwc_health_selectedperfdata     | **Optional.** The parameter allows you to limit the list of performance data. It's a perl regexp. Only matching perfdata show up in the output.
2970 nwc_health_morphperfdata        | **Optional.** The parameter allows you to change performance data labels. It's a perl regexp and a substitution. --morphperfdata '(.*)ISATAP(.*)'='$1patasi$2'
2971 nwc_health_negate               | **Optional.** The parameter allows you to map exit levels, such as warning=critical.
2972 nwc_health_mymodules-dyn-dir    | **Optional.** A directory where own extensions can be found.
2973 nwc_health_servertype           | **Optional.** The type of the network device: cisco (default). Use it if auto-detection is not possible.
2974 nwc_health_statefilesdir        | **Optional.** An alternate directory where the plugin can save files.
2975 nwc_health_oids                 | **Optional.** A list of oids which are downloaded and written to a cache file. Use it together with --mode oidcache.
2976 nwc_health_offline              | **Optional.** The maximum number of seconds since the last update of cache file before it is considered too old.
2977 nwc_health_multiline            | **Optional.** Multiline output
2978
2979
2980 ### Operating System <a id="plugin-contrib-operating-system"></a>
2981
2982 This category contains plugins which receive details about your operating system
2983 or the guest system.
2984
2985 #### mem <a id="plugin-contrib-command-mem"></a>
2986
2987 The [check_mem.pl](https://github.com/justintime/nagios-plugins) plugin checks the
2988 memory usage on linux and unix hosts. It is able to count cache memory as free when
2989 compared to thresholds. More details can be found on [this blog entry](http://sysadminsjourney.com/content/2009/06/04/new-and-improved-checkmempl-nagios-plugin).
2990
2991 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2992
2993 Name         | Description
2994 -------------|-----------------------------------------------------------------------------------------------------------------------
2995 mem_used     | **Optional.** Tell the plugin to check for used memory in opposite of **mem_free**. Must specify one of these as true.
2996 mem_free     | **Optional.** Tell the plugin to check for free memory in opposite of **mem_used**. Must specify one of these as true.
2997 mem_cache    | **Optional.** If set to true, plugin will count cache as free memory. Defaults to false.
2998 mem_warning  | **Required.** Specify the warning threshold as number interpreted as percent.
2999 mem_critical | **Required.** Specify the critical threshold as number interpreted as percent.
3000
3001 #### running_kernel <a id="plugin-contrib-command-running_kernel"></a>
3002
3003 The [check_running_kernel](https://packages.debian.org/stretch/nagios-plugins-contrib) plugin
3004 is provided by the `nagios-plugin-contrib` package on Debian/Ubuntu.
3005
3006 Custom attributes:
3007
3008 Name                       | Description
3009 ---------------------------|-------------
3010 running\_kernel\_use\_sudo | Whether to run the plugin with `sudo`. Defaults to false except on Ubuntu where it defaults to true.
3011
3012 #### iostats <a id="plugin-contrib-command-iostats"></a>
3013
3014 The [check_iostats](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats) plugin
3015 uses the `iostat` binary to monitor I/O on a Linux host. The default thresholds are rather high
3016 so you can use a grapher for baselining before setting your own.
3017
3018 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3019
3020 Name           | Description
3021 ---------------|-----------------------------------------------------------------------------------------------------------------------
3022 iostats\_disk            | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
3023 iostats\_warning\_tps    | **Required.** Warning threshold for tps (default: 3000).
3024 iostats\_warning\_read   | **Required.** Warning threshold for KB/s reads (default: 50000).
3025 iostats\_warning\_write  | **Required.** Warning threshold for KB/s writes (default: 10000).
3026 iostats\_warning\_wait   | **Required.** Warning threshold for % iowait (default: 50).
3027 iostats\_critical\_tps   | **Required.** Critical threshold for tps (default: 5000).
3028 iostats\_critical\_read  | **Required.** Critical threshold for KB/s reads (default: 80000).
3029 iostats\_critical\_write | **Required.** Critical threshold for KB/s writes (default: 25000).
3030 iostats\_critical\_wait  | **Required.** Critical threshold for % iowait (default: 80).
3031
3032 #### iostat <a id="plugin-contrib-command-iostat"></a>
3033
3034 The [check_iostat](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostat) plugin
3035 uses the `iostat` binary to monitor disk I/O on a Linux host. The default thresholds are rather high
3036 so you can use a grapher for baselining before setting your own.
3037
3038 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3039
3040 Name           | Description
3041 ---------------|-----------------------------------------------------------------------------------------------------------------------
3042 iostat\_disk   | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
3043 iostat\_wtps   | **Required.** Warning threshold for tps (default: 100).
3044 iostat\_wread  | **Required.** Warning threshold for KB/s reads (default: 100).
3045 iostat\_wwrite | **Required.** Warning threshold for KB/s writes (default: 100).
3046 iostat\_ctps   | **Required.** Critical threshold for tps (default: 200).
3047 iostat\_cread  | **Required.** Critical threshold for KB/s reads (default: 200).
3048 iostat\_cwrite | **Required.** Critical threshold for KB/s writes (default: 200).
3049
3050 #### yum <a id="plugin-contrib-command-yum"></a>
3051
3052 The [check_yum](https://github.com/calestyo/check_yum) plugin checks the YUM package
3053 management system for package updates.
3054 The plugin requires the `yum-plugin-security` package to differentiate between security and normal updates.
3055
3056 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3057
3058 Name                    | Description
3059 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3060 yum_all_updates         | **Optional.** Set to true to not distinguish between security and non-security updates, but returns critical for any available update. This may be used if the YUM security plugin is absent or you want to maintain every single package at the latest version. You may want to use **yum_warn_on_any_update** instead of this option. Defaults to false.
3061 yum_warn_on_any_update  | **Optional.** Set to true to warn if there are any (non-security) package updates available. Defaults to false.
3062 yum_cache_only          | **Optional.** If set to true, plugin runs entirely from cache and does not update the cache when running YUM. Useful if you have `yum makecache` cronned. Defaults to false.
3063 yum_no_warn_on_lock     | **Optional.** If set to true, returns OK instead of WARNING when YUM is locked and fails to check for updates due to another instance running. Defaults to false.
3064 yum_no_warn_on_updates  | **Optional.** If set to true, returns OK instead of WARNING even when updates are available. The plugin output still shows the number of available updates. Defaults to false.
3065 yum_enablerepo          | **Optional.** Explicitly enables a repository when calling YUM. Can take a comma separated list of repositories. Note that enabling repositories can lead to unexpected results, for example when protected repositories are enabled.
3066 yum_disablerepo         | **Optional.** Explicitly disables a repository when calling YUM. Can take a comma separated list of repositories. Note that enabling repositories can lead to unexpected results, for example when protected repositories are enabled.
3067 yum_installroot         | **Optional.** Specifies another installation root directory (for example a chroot).
3068 yum_timeout             | **Optional.** Set a timeout in seconds after which the plugin will exit (defaults to 55 seconds).
3069
3070 ### Storage <a id="plugins-contrib-storage"></a>
3071
3072 This category includes all plugins for various storage and object storage technologies.
3073
3074 #### glusterfs <a id="plugins-contrib-command-glusterfs"></a>
3075
3076 The [glusterfs](https://www.unixadm.org/software/nagios-stuff/checks/check_glusterfs) plugin
3077 is used to check the GlusterFS storage health on the server.
3078 The plugin requires `sudo` permissions.
3079
3080 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3081
3082 Name                       | Description
3083 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3084 glusterfs_perfdata         | **Optional.** Print perfdata of all or the specified volume.
3085 glusterfs_warnonfailedheal | **Optional.** Warn if the *heal-failed* log contains entries. The log can be cleared by restarting glusterd.
3086 glusterfs_volume           | **Optional.** Only check the specified *VOLUME*. If --volume is not set, all volumes are checked.
3087 glusterfs_disk_warning     | **Optional.** Warn if disk usage is above *DISKWARN*. Defaults to 90 (percent).
3088 glusterfs_disk_critical    | **Optional.** Return a critical error if disk usage is above *DISKCRIT*. Defaults to 95 (percent).
3089 glusterfs_inode_warning    | **Optional.** Warn if inode usage is above *DISKWARN*. Defaults to 90 (percent).
3090 glusterfs_inode_critical   | **Optional.** Return a critical error if inode usage is above *DISKCRIT*. Defaults to 95 (percent).
3091
3092 #### ceph <a id="plugins-contrib-command-ceph"></a>
3093
3094 The [ceph plugin](https://github.com/ceph/ceph-nagios-plugins)
3095 is used to check the Ceph storage health on the server.
3096
3097 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3098
3099 Name             | Description
3100 -----------------|---------------------------------------------------------
3101 ceph_exec_dir    | **Optional.** Ceph executable. Default /usr/bin/ceph.
3102 ceph_conf_file   | **Optional.** Alternative ceph conf file.
3103 ceph_mon_address | **Optional.** Ceph monitor address[:port].
3104 ceph_client_id   | **Optional.** Ceph client id.
3105 ceph_client_name | **Optional.** Ceph client name.
3106 ceph_client_key  | **Optional.** Ceph client keyring file.
3107 ceph_whitelist   | **Optional.** Whitelist regexp for ceph health warnings.
3108 ceph_details     | **Optional.** Run 'ceph health detail'.
3109
3110
3111 ### Virtualization <a id="plugin-contrib-virtualization"></a>
3112
3113 This category includes all plugins for various virtualization technologies.
3114
3115 #### esxi_hardware <a id="plugin-contrib-command-esxi-hardware"></a>
3116
3117 The [check_esxi_hardware.py](https://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php) plugin
3118 uses the [pywbem](https://pywbem.github.io/pywbem/) Python library to monitor the hardware of ESXi servers
3119 through the [VMWare API](https://www.vmware.com/support/pubs/sdk_pubs.html) and CIM service.
3120
3121 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3122
3123 Name                    | Description
3124 ------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3125 esxi_hardware_host      | **Required.** Specifies the host to monitor. Defaults to "$address$".
3126 esxi_hardware_user      | **Required.** Specifies the user for polling. Must be a local user of the root group on the system. Can also be provided as a file path file:/path/to/.passwdfile, then first string of file is used.
3127 esxi_hardware_pass      | **Required.** Password of the user. Can also be provided as a file path file:/path/to/.passwdfile, then second string of file is used.
3128 esxi_hardware_port      | **Optional.** Specifies the CIM port to connect to. Defaults to 5989.
3129 esxi_hardware_vendor    | **Optional.** Defines the vendor of the server: "auto", "dell", "hp", "ibm", "intel", "unknown" (default).
3130 esxi_hardware_html      | **Optional.** Add web-links to hardware manuals for Dell servers (use your country extension). Only useful with **esxi_hardware_vendor** = dell.
3131 esxi_hardware_ignore    | **Optional.** Comma separated list of elements to ignore.
3132 esxi_hardware_perfdata  | **Optional.** Add performcedata for graphers like PNP4Nagios to the output. Defaults to false.
3133 esxi_hardware_nopower   | **Optional.** Do not collect power performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3134 esxi_hardware_novolts   | **Optional.** Do not collect voltage performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3135 esxi_hardware_nocurrent | **Optional.** Do not collect current performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3136 esxi_hardware_notemp    | **Optional.** Do not collect temperature performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3137 esxi_hardware_nofan     | **Optional.** Do not collect fan performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3138 esxi_hardware_nolcd     | **Optional.** Do not collect lcd/display status data. Defaults to false.
3139
3140 #### VMware <a id="plugin-contrib-vmware"></a>
3141
3142 Check commands for the [check_vmware_esx](https://github.com/BaldMansMojo/check_vmware_esx) plugin.
3143
3144 **vmware-esx-dc-volumes**
3145
3146 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
3147
3148 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3149
3150 Name                    | Description
3151 ------------------------|--------------
3152 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3153 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3154 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3155 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3156 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3157 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3158 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3159 vmware_sessionfile      | **Optional.** Session file name enhancement.
3160 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3161 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3162 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3163 vmware_password         | **Optional.** The username's password. No value defined as default.
3164 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3165 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3166 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3167 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3168 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3169 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3170 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3171 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3172 vmware_dc_volume_used   | **Optional.** Output used space instead of free. Defaults to "true".
3173 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3174 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3175
3176
3177 **vmware-esx-dc-runtime-info**
3178
3179 Check command object for the `check_vmware_esx` plugin. Shows all runtime info for the datacenter/Vcenter.
3180
3181 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3182
3183 Name                    | Description
3184 ------------------------|--------------
3185 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3186 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3187 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3188 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3189 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3190 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3191 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3192 vmware_sessionfile      | **Optional.** Session file name enhancement.
3193 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3194 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3195 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3196 vmware_password         | **Optional.** The username's password. No value defined as default.
3197 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3198
3199
3200 **vmware-esx-dc-runtime-listvms**
3201
3202 Check command object for the `check_vmware_esx` plugin. List of vmware machines and their power state. BEWARE!! In larger environments systems can cause trouble displaying the informations needed due to the mass of data. Use **vmware_alertonly** to avoid this.
3203
3204 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3205
3206 Name                    | Description
3207 ------------------------|--------------
3208 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3209 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3210 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3211 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3212 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3213 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3214 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3215 vmware_sessionfile      | **Optional.** Session file name enhancement.
3216 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3217 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3218 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3219 vmware_password         | **Optional.** The username's password. No value defined as default.
3220 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3221 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3222 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
3223 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
3224 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3225 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3226
3227
3228 **vmware-esx-dc-runtime-listhost**
3229
3230 Check command object for the `check_vmware_esx` plugin. List of VMware ESX hosts and their power state.
3231
3232 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3233
3234 Name                    | Description
3235 ------------------------|--------------
3236 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3237 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3238 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3239 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3240 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3241 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3242 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3243 vmware_sessionfile      | **Optional.** Session file name enhancement.
3244 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3245 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3246 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3247 vmware_password         | **Optional.** The username's password. No value defined as default.
3248 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3249 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3250 vmware_exclude          | **Optional.** Blacklist VMware ESX hosts. No value defined as default.
3251 vmware_include          | **Optional.** Whitelist VMware ESX hosts. No value defined as default.
3252 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3253 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3254
3255
3256 **vmware-esx-dc-runtime-listcluster**
3257
3258 Check command object for the `check_vmware_esx` plugin. List of VMware clusters and their states.
3259
3260 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3261
3262 Name                    | Description
3263 ------------------------|--------------
3264 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3265 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3266 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3267 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3268 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3269 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3270 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3271 vmware_sessionfile      | **Optional.** Session file name enhancement.
3272 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3273 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3274 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3275 vmware_password         | **Optional.** The username's password. No value defined as default.
3276 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3277 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3278 vmware_exclude          | **Optional.** Blacklist VMware cluster. No value defined as default.
3279 vmware_include          | **Optional.** Whitelist VMware cluster. No value defined as default.
3280 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3281 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3282
3283
3284 **vmware-esx-dc-runtime-issues**
3285
3286 Check command object for the `check_vmware_esx` plugin. All issues for the host.
3287
3288 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3289
3290 Name                    | Description
3291 ------------------------|--------------
3292 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3293 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3294 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3295 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3296 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3297 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3298 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3299 vmware_sessionfile      | **Optional.** Session file name enhancement.
3300 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3301 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3302 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3303 vmware_password         | **Optional.** The username's password. No value defined as default.
3304 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3305 vmware_exclude          | **Optional.** Blacklist issues. No value defined as default.
3306 vmware_include          | **Optional.** Whitelist issues. No value defined as default.
3307 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3308 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3309
3310
3311 **vmware-esx-dc-runtime-status**
3312
3313 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
3314
3315 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3316
3317 Name                    | Description
3318 ------------------------|--------------
3319 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3320 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3321 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3322 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3323 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3324 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3325 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3326 vmware_sessionfile      | **Optional.** Session file name enhancement.
3327 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3328 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3329 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3330 vmware_password         | **Optional.** The username's password. No value defined as default.
3331 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3332
3333
3334 **vmware-esx-dc-runtime-tools**
3335
3336 Check command object for the `check_vmware_esx` plugin. Vmware Tools status.
3337
3338 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3339
3340 Name                    | Description
3341 ------------------------|--------------
3342 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3343 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3344 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3345 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3346 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3347 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3348 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3349 vmware_sessionfile      | **Optional.** Session file name enhancement.
3350 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3351 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3352 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3353 vmware_password         | **Optional.** The username's password. No value defined as default.
3354 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3355 vmware_poweredonly      | **Optional.** List only VMs which are powered on. No value defined as default.
3356 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3357 vmware_exclude          | **Optional.** Blacklist VMs. No value defined as default.
3358 vmware_include          | **Optional.** Whitelist VMs. No value defined as default.
3359 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3360 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3361 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
3362
3363
3364 **vmware-esx-soap-host-check**
3365
3366 Check command object for the `check_vmware_esx` plugin. Simple check to verify a successful connection to VMware SOAP API.
3367
3368 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3369
3370 Name                    | Description
3371 ------------------------|--------------
3372 vmware_host             | **Required.** ESX or ESXi hostname.
3373 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3374 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3375 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3376 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3377 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3378 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3379 vmware_sessionfile      | **Optional.** Session file name enhancement.
3380 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3381 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3382 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3383 vmware_password         | **Optional.** The username's password. No value defined as default.
3384 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3385
3386
3387 **vmware-esx-soap-host-uptime**
3388
3389 Check command object for the `check_vmware_esx` plugin. Displays uptime of the VMware host.
3390
3391 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3392
3393 Name                    | Description
3394 ------------------------|--------------
3395 vmware_host             | **Required.** ESX or ESXi hostname.
3396 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3397 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3398 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3399 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3400 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3401 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3402 vmware_sessionfile      | **Optional.** Session file name enhancement.
3403 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3404 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3405 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3406 vmware_password         | **Optional.** The username's password. No value defined as default.
3407 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3408
3409
3410 **vmware-esx-soap-host-cpu**
3411
3412 Check command object for the `check_vmware_esx` plugin. CPU usage in percentage.
3413
3414 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3415
3416 Name                    | Description
3417 ------------------------|--------------
3418 vmware_host             | **Required.** ESX or ESXi hostname.
3419 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3420 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3421 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3422 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3423 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3424 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3425 vmware_sessionfile      | **Optional.** Session file name enhancement.
3426 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3427 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3428 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3429 vmware_password         | **Optional.** The username's password. No value defined as default.
3430 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3431 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3432 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3433
3434
3435 **vmware-esx-soap-host-cpu-ready**
3436
3437 Check command object for the `check_vmware_esx` plugin. Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU. CPU ready time is dependent on the number of virtual machines on the host and their CPU loads. High or growing ready time can be a hint CPU bottlenecks.
3438
3439 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3440
3441 Name                    | Description
3442 ------------------------|--------------
3443 vmware_host             | **Required.** ESX or ESXi hostname.
3444 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3445 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3446 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3447 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3448 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3449 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3450 vmware_sessionfile      | **Optional.** Session file name enhancement.
3451 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3452 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3453 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3454 vmware_password         | **Optional.** The username's password. No value defined as default.
3455 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3456
3457
3458 **vmware-esx-soap-host-cpu-wait**
3459
3460 Check command object for the `check_vmware_esx` plugin. CPU time spent in wait state. The wait total includes time spent the CPU idle, CPU swap wait, and CPU I/O wait states. High or growing wait time can be a hint I/O bottlenecks.
3461
3462 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3463
3464 Name                    | Description
3465 ------------------------|--------------
3466 vmware_host             | **Required.** ESX or ESXi hostname.
3467 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3468 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3469 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3470 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3471 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3472 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3473 vmware_sessionfile      | **Optional.** Session file name enhancement.
3474 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3475 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3476 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3477 vmware_password         | **Optional.** The username's password. No value defined as default.
3478 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3479
3480
3481 **vmware-esx-soap-host-cpu-usage**
3482
3483 Check command object for the `check_vmware_esx` plugin. Actively used CPU of the host, as a percentage of the total available CPU. Active CPU is approximately equal to the ratio of the used CPU to the available CPU.
3484
3485 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3486
3487 Name                    | Description
3488 ------------------------|--------------
3489 vmware_host             | **Required.** ESX or ESXi hostname.
3490 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3491 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3492 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3493 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3494 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3495 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3496 vmware_sessionfile      | **Optional.** Session file name enhancement.
3497 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3498 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3499 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3500 vmware_password         | **Optional.** The username's password. No value defined as default.
3501 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3502 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3503 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3504
3505
3506 **vmware-esx-soap-host-mem**
3507
3508 Check command object for the `check_vmware_esx` plugin. All mem info(except overall and no thresholds).
3509
3510 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3511
3512 Name                    | Description
3513 ------------------------|--------------
3514 vmware_host             | **Required.** ESX or ESXi hostname.
3515 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3516 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3517 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3518 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3519 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3520 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3521 vmware_sessionfile      | **Optional.** Session file name enhancement.
3522 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3523 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3524 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3525 vmware_password         | **Optional.** The username's password. No value defined as default.
3526 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3527
3528
3529 **vmware-esx-soap-host-mem-usage**
3530
3531 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage.
3532
3533 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3534
3535 Name                    | Description
3536 ------------------------|--------------
3537 vmware_host             | **Required.** ESX or ESXi hostname.
3538 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3539 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3540 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3541 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3542 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3543 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3544 vmware_sessionfile      | **Optional.** Session file name enhancement.
3545 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3546 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3547 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3548 vmware_password         | **Optional.** The username's password. No value defined as default.
3549 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3550 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3551 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3552
3553
3554 **vmware-esx-soap-host-mem-consumed**
3555
3556 Check command object for the `check_vmware_esx` plugin. Amount of machine memory used on the host. Consumed memory includes Includes memory used by the Service Console, the VMkernel vSphere services, plus the total consumed metrics for all running virtual machines in MB.
3557
3558 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3559
3560 Name                    | Description
3561 ------------------------|--------------
3562 vmware_host             | **Required.** ESX or ESXi hostname.
3563 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3564 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3565 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3566 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3567 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3568 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3569 vmware_sessionfile      | **Optional.** Session file name enhancement.
3570 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3571 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3572 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3573 vmware_password         | **Optional.** The username's password. No value defined as default.
3574 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3575 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3576 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3577
3578
3579 **vmware-esx-soap-host-mem-swapused**
3580
3581 Check command object for the `check_vmware_esx` plugin. Amount of memory that is used by swap. Sum of memory swapped of all powered on VMs and vSphere services on the host in MB. In case of an error all VMs with their swap used will be displayed.
3582
3583 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3584
3585 Name                    | Description
3586 ------------------------|--------------
3587 vmware_host             | **Required.** ESX or ESXi hostname.
3588 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3589 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3590 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3591 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3592 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3593 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3594 vmware_sessionfile      | **Optional.** Session file name enhancement.
3595 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3596 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3597 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3598 vmware_password         | **Optional.** The username's password. No value defined as default.
3599 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3600 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3601 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3602 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3603
3604
3605 **vmware-esx-soap-host-mem-overhead**
3606
3607 Check command object for the `check_vmware_esx` plugin. Additional mem used by VM Server in MB.
3608
3609 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3610
3611 Name                    | Description
3612 ------------------------|--------------
3613 vmware_host             | **Required.** ESX or ESXi hostname.
3614 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3615 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3616 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3617 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3618 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3619 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3620 vmware_sessionfile      | **Optional.** Session file name enhancement.
3621 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3622 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3623 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3624 vmware_password         | **Optional.** The username's password. No value defined as default.
3625 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Auhentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3626 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3627 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3628
3629
3630 **vmware-esx-soap-host-mem-memctl**
3631
3632 Check command object for the `check_vmware_esx` plugin. The sum of all vmmemctl values in MB for all powered-on virtual machines, plus vSphere services on the host. If the balloon target value is greater than the balloon value, the VMkernel inflates the balloon, causing more virtual machine memory to be reclaimed. If the balloon target value is less than the balloon value, the VMkernel deflates the balloon, which allows the virtual machine to consume additional memory if needed (used by VM memory control driver). In case of an error all VMs with their vmmemctl values will be displayed.
3633
3634 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3635
3636 Name                    | Description
3637 ------------------------|--------------
3638 vmware_host             | **Required.** ESX or ESXi hostname.
3639 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3640 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3641 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3642 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3643 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3644 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3645 vmware_sessionfile      | **Optional.** Session file name enhancement.
3646 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3647 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3648 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3649 vmware_password         | **Optional.** The username's password. No value defined as default.
3650 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3651 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3652 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3653 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
3654
3655
3656 **vmware-esx-soap-host-net**
3657
3658 Check command object for the `check_vmware_esx` plugin. Shows net info.
3659
3660 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3661
3662 Name                    | Description
3663 ------------------------|--------------
3664 vmware_host             | **Required.** ESX or ESXi hostname.
3665 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3666 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3667 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3668 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3669 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3670 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3671 vmware_sessionfile      | **Optional.** Session file name enhancement.
3672 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3673 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3674 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3675 vmware_password         | **Optional.** The username's password. No value defined as default.
3676 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3677 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3678 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3679
3680
3681 **vmware-esx-soap-host-net-usage**
3682
3683 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
3684
3685 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3686
3687 Name                    | Description
3688 ------------------------|--------------
3689 vmware_host             | **Required.** ESX or ESXi hostname.
3690 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3691 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3692 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3693 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3694 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3695 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3696 vmware_sessionfile      | **Optional.** Session file name enhancement.
3697 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3698 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3699 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3700 vmware_password         | **Optional.** The username's password. No value defined as default.
3701 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3702 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3703 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3704
3705
3706 **vmware-esx-soap-host-net-receive**
3707
3708 Check command object for the `check_vmware_esx` plugin. Data receive in KBps(Kilobytes per Second).
3709
3710 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3711
3712 Name                    | Description
3713 ------------------------|--------------
3714 vmware_host             | **Required.** ESX or ESXi hostname.
3715 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3716 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3717 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3718 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3719 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3720 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3721 vmware_sessionfile      | **Optional.** Session file name enhancement.
3722 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3723 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3724 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3725 vmware_password         | **Optional.** The username's password. No value defined as default.
3726 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3727 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3728 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3729
3730
3731 **vmware-esx-soap-host-net-send**
3732
3733 Check command object for the `check_vmware_esx` plugin. Data send in KBps(Kilobytes per Second).
3734
3735 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3736
3737 Name                    | Description
3738 ------------------------|--------------
3739 vmware_host             | **Required.** ESX or ESXi hostname.
3740 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3741 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3742 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3743 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3744 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3745 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3746 vmware_sessionfile      | **Optional.** Session file name enhancement.
3747 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3748 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3749 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3750 vmware_password         | **Optional.** The username's password. No value defined as default.
3751 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3752 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3753 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3754
3755
3756 **vmware-esx-soap-host-net-nic**
3757
3758 Check command object for the `check_vmware_esx` plugin. Check all active NICs.
3759
3760 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3761
3762 Name                    | Description
3763 ------------------------|--------------
3764 vmware_host             | **Required.** ESX or ESXi hostname.
3765 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3766 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3767 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3768 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3769 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3770 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3771 vmware_sessionfile      | **Optional.** Session file name enhancement.
3772 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3773 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3774 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3775 vmware_password         | **Optional.** The username's password. No value defined as default.
3776 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3777 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3778 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3779
3780
3781 **vmware-esx-soap-host-volumes**
3782
3783 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
3784
3785 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3786
3787 Name                    | Description
3788 ------------------------|--------------
3789 vmware_host             | **Required.** ESX or ESXi hostname.
3790 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3791 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3792 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3793 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3794 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3795 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3796 vmware_sessionfile      | **Optional.** Session file name enhancement.
3797 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3798 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3799 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3800 vmware_password         | **Optional.** The username's password. No value defined as default.
3801 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3802 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3803 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3804 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3805 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3806 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3807 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3808 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3809 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3810 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3811 vmware_spaceleft        | **Optional.** This has to be used in conjunction with thresholds as mentioned above.
3812
3813
3814 **vmware-esx-soap-host-io**
3815
3816 Check command object for the `check_vmware_esx` plugin. Shows all disk io info. Without subselect no thresholds can be given. All I/O values are aggregated from historical intervals over the past 24 hours with a 5 minute sample rate.
3817
3818 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3819
3820 Name                    | Description
3821 ------------------------|--------------
3822 vmware_host             | **Required.** ESX or ESXi hostname.
3823 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3824 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3825 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3826 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3827 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3828 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3829 vmware_sessionfile      | **Optional.** Session file name enhancement.
3830 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3831 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3832 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3833 vmware_password         | **Optional.** The username's password. No value defined as default.
3834 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3835
3836
3837 **vmware-esx-soap-host-io-aborted**
3838
3839 Check command object for the `check_vmware_esx` plugin. Number of aborted SCSI commands.
3840
3841 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3842
3843 Name                    | Description
3844 ------------------------|--------------
3845 vmware_host             | **Required.** ESX or ESXi hostname.
3846 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3847 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3848 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3849 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3850 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3851 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3852 vmware_sessionfile      | **Optional.** Session file name enhancement.
3853 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3854 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3855 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3856 vmware_password         | **Optional.** The username's password. No value defined as default.
3857 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3858 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3859 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3860
3861
3862 **vmware-esx-soap-host-io-resets**
3863
3864 Check command object for the `check_vmware_esx` plugin. Number of SCSI bus resets.
3865
3866 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3867
3868 Name                    | Description
3869 ------------------------|--------------
3870 vmware_host             | **Required.** ESX or ESXi hostname.
3871 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3872 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3873 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3874 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3875 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3876 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3877 vmware_sessionfile      | **Optional.** Session file name enhancement.
3878 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3879 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3880 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3881 vmware_password         | **Optional.** The username's password. No value defined as default.
3882 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3883 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3884 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3885
3886
3887 **vmware-esx-soap-host-io-read**
3888
3889 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
3890
3891 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3892
3893 Name                    | Description
3894 ------------------------|--------------
3895 vmware_host             | **Required.** ESX or ESXi hostname.
3896 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3897 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3898 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3899 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3900 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3901 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3902 vmware_sessionfile      | **Optional.** Session file name enhancement.
3903 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3904 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3905 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3906 vmware_password         | **Optional.** The username's password. No value defined as default.
3907 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3908 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3909 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3910
3911
3912 **vmware-esx-soap-host-io-read-latency**
3913
3914 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) to process a SCSI read command issued from the Guest OS to the virtual machine.
3915
3916 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3917
3918 Name                    | Description
3919 ------------------------|--------------
3920 vmware_host             | **Required.** ESX or ESXi hostname.
3921 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3922 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3923 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3924 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3925 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3926 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3927 vmware_sessionfile      | **Optional.** Session file name enhancement.
3928 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3929 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3930 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3931 vmware_password         | **Optional.** The username's password. No value defined as default.
3932 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3933 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3934 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3935
3936
3937 **vmware-esx-soap-host-io-write**
3938
3939 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
3940
3941 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3942
3943 Name                    | Description
3944 ------------------------|--------------
3945 vmware_host             | **Required.** ESX or ESXi hostname.
3946 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3947 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3948 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3949 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3950 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3951 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3952 vmware_sessionfile      | **Optional.** Session file name enhancement.
3953 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3954 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3955 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3956 vmware_password         | **Optional.** The username's password. No value defined as default.
3957 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3958 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3959 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3960
3961
3962 **vmware-esx-soap-host-io-write-latency**
3963
3964 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) taken to process a SCSI write command issued by the Guest OS to the virtual machine.
3965
3966 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3967
3968 Name                    | Description
3969 ------------------------|--------------
3970 vmware_host             | **Required.** ESX or ESXi hostname.
3971 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3972 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3973 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3974 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3975 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3976 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3977 vmware_sessionfile      | **Optional.** Session file name enhancement.
3978 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3979 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3980 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3981 vmware_password         | **Optional.** The username's password. No value defined as default.
3982 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3983 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3984 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3985
3986
3987 **vmware-esx-soap-host-io-usage**
3988
3989 Check command object for the `check_vmware_esx` plugin. Aggregated disk I/O rate. For hosts, this metric includes the rates for all virtual machines running on the host.
3990
3991 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3992
3993 Name                    | Description
3994 ------------------------|--------------
3995 vmware_host             | **Required.** ESX or ESXi hostname.
3996 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3997 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3998 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3999 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4000 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4001 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4002 vmware_sessionfile      | **Optional.** Session file name enhancement.
4003 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4004 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4005 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4006 vmware_password         | **Optional.** The username's password. No value defined as default.
4007 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4008 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4009 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4010
4011
4012 **vmware-esx-soap-host-io-kernel-latency**
4013
4014 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent by VMkernel processing each SCSI command.
4015
4016 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4017
4018 Name                    | Description
4019 ------------------------|--------------
4020 vmware_host             | **Required.** ESX or ESXi hostname.
4021 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4022 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4023 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4024 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4025 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4026 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4027 vmware_sessionfile      | **Optional.** Session file name enhancement.
4028 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4029 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4030 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4031 vmware_password         | **Optional.** The username's password. No value defined as default.
4032 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4033 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4034 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4035
4036
4037 **vmware-esx-soap-host-io-device-latency**
4038
4039 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) to complete a SCSI command from the physical device.
4040
4041 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4042
4043 Name                    | Description
4044 ------------------------|--------------
4045 vmware_host             | **Required.** ESX or ESXi hostname.
4046 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4047 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4048 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4049 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4050 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4051 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4052 vmware_sessionfile      | **Optional.** Session file name enhancement.
4053 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4054 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4055 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4056 vmware_password         | **Optional.** The username's password. No value defined as default.
4057 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4058 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4059 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4060
4061
4062 **vmware-esx-soap-host-io-queue-latency**
4063
4064 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent in the VMkernel queue.
4065
4066 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4067
4068 Name                    | Description
4069 ------------------------|--------------
4070 vmware_host             | **Required.** ESX or ESXi hostname.
4071 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4072 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4073 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4074 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4075 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4076 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4077 vmware_sessionfile      | **Optional.** Session file name enhancement.
4078 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4079 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4080 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4081 vmware_password         | **Optional.** The username's password. No value defined as default.
4082 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4083 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4084 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4085
4086
4087 **vmware-esx-soap-host-io-total-latency**
4088
4089 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) taken during the collection interval to process a SCSI command issued by the guest OS to the virtual machine. The sum of kernelWriteLatency and deviceWriteLatency.
4090
4091 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4092
4093 Name                    | Description
4094 ------------------------|--------------
4095 vmware_host             | **Required.** ESX or ESXi hostname.
4096 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4097 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4098 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4099 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4100 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4101 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4102 vmware_sessionfile      | **Optional.** Session file name enhancement.
4103 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4104 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4105 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4106 vmware_password         | **Optional.** The username's password. No value defined as default.
4107 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4108 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4109 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4110
4111
4112 **vmware-esx-soap-host-media**
4113
4114 Check command object for the `check_vmware_esx` plugin. List vm's with attached host mounted media like cd,dvd or floppy drives. This is important for monitoring because a virtual machine with a mount cd or dvd drive can not be moved to another host.
4115
4116 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4117
4118 Name                    | Description
4119 ------------------------|--------------
4120 vmware_host             | **Required.** ESX or ESXi hostname.
4121 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4122 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4123 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4124 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4125 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4126 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4127 vmware_sessionfile      | **Optional.** Session file name enhancement.
4128 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4129 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4130 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4131 vmware_password         | **Optional.** The username's password. No value defined as default.
4132 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4133 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4134 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4135 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4136 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4137
4138
4139 **vmware-esx-soap-host-service**
4140
4141 Check command object for the `check_vmware_esx` plugin. Shows host service info.
4142
4143 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4144
4145 Name                    | Description
4146 ------------------------|--------------
4147 vmware_host             | **Required.** ESX or ESXi hostname.
4148 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4149 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4150 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4151 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4152 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4153 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4154 vmware_sessionfile      | **Optional.** Session file name enhancement.
4155 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4156 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4157 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4158 vmware_password         | **Optional.** The username's password. No value defined as default.
4159 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4160 vmware_exclude          | **Optional.** Blacklist services name. No value defined as default.
4161 vmware_include          | **Optional.** Whitelist services name. No value defined as default.
4162 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4163 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4164
4165
4166 **vmware-esx-soap-host-runtime**
4167
4168 Check command object for the `check_vmware_esx` plugin. Shows runtime info: VMs, overall status, connection state, health, storagehealth, temperature and sensor are represented as one value and without thresholds.
4169
4170 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4171
4172 Name                    | Description
4173 ------------------------|--------------
4174 vmware_host             | **Required.** ESX or ESXi hostname.
4175 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4176 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4177 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4178 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4179 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4180 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4181 vmware_sessionfile      | **Optional.** Session file name enhancement.
4182 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4183 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4184 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4185 vmware_password         | **Optional.** The username's password. No value defined as default.
4186 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4187 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4188 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4189 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4190
4191
4192 **vmware-esx-soap-host-runtime-con**
4193
4194 Check command object for the `check_vmware_esx` plugin. Shows connection state.
4195
4196 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4197
4198 Name                    | Description
4199 ------------------------|--------------
4200 vmware_host             | **Required.** ESX or ESXi hostname.
4201 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4202 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4203 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4204 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4205 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4206 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4207 vmware_sessionfile      | **Optional.** Session file name enhancement.
4208 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4209 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4210 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4211 vmware_password         | **Optional.** The username's password. No value defined as default.
4212 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4213
4214
4215 **vmware-esx-soap-host-runtime-listvms**
4216
4217 Check command object for the `check_vmware_esx` plugin. List of VMware machines and their status.
4218
4219 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4220
4221 Name                    | Description
4222 ------------------------|--------------
4223 vmware_host             | **Required.** ESX or ESXi hostname.
4224 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4225 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4226 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4227 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4228 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4229 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4230 vmware_sessionfile      | **Optional.** Session file name enhancement.
4231 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4232 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4233 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4234 vmware_password         | **Optional.** The username's password. No value defined as default.
4235 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4236 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4237 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4238 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4239 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4240
4241
4242 **vmware-esx-soap-host-runtime-status**
4243
4244 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
4245
4246 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4247
4248 Name                    | Description
4249 ------------------------|--------------
4250 vmware_host             | **Required.** ESX or ESXi hostname.
4251 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4252 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4253 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4254 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4255 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4256 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4257 vmware_sessionfile      | **Optional.** Session file name enhancement.
4258 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4259 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4260 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4261 vmware_password         | **Optional.** The username's password. No value defined as default.
4262 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4263
4264
4265 **vmware-esx-soap-host-runtime-health**
4266
4267 Check command object for the `check_vmware_esx` plugin. Checks cpu/storage/memory/sensor status.
4268
4269 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4270
4271 Name                    | Description
4272 ------------------------|--------------
4273 vmware_host             | **Required.** ESX or ESXi hostname.
4274 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4275 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4276 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4277 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4278 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4279 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4280 vmware_sessionfile      | **Optional.** Session file name enhancement.
4281 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4282 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4283 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4284 vmware_password         | **Optional.** The username's password. No value defined as default.
4285 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4286 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4287 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4288 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4289
4290
4291 **vmware-esx-soap-host-runtime-health-listsensors**
4292
4293 Check command object for the `check_vmware_esx` plugin. List all available sensors(use for listing purpose only).
4294
4295 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4296
4297 Name                    | Description
4298 ------------------------|--------------
4299 vmware_host             | **Required.** ESX or ESXi hostname.
4300 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4301 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4302 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4303 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4304 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4305 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4306 vmware_sessionfile      | **Optional.** Session file name enhancement.
4307 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4308 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4309 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4310 vmware_password         | **Optional.** The username's password. No value defined as default.
4311 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4312 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4313 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4314 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4315
4316
4317 **vmware-esx-soap-host-runtime-health-nostoragestatus**
4318
4319 Check command object for the `check_vmware_esx` plugin. This is to avoid a double alarm if you use **vmware-esx-soap-host-runtime-health** and **vmware-esx-soap-host-runtime-storagehealth**.
4320
4321 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4322
4323 Name                    | Description
4324 ------------------------|--------------
4325 vmware_host             | **Required.** ESX or ESXi hostname.
4326 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4327 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4328 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4329 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4330 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4331 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4332 vmware_sessionfile      | **Optional.** Session file name enhancement.
4333 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4334 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4335 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4336 vmware_password         | **Optional.** The username's password. No value defined as default.
4337 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4338 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4339 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4340 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4341
4342
4343 **vmware-esx-soap-host-runtime-storagehealth**
4344
4345 Check command object for the `check_vmware_esx` plugin. Local storage status check.
4346
4347 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4348
4349 Name                    | Description
4350 ------------------------|--------------
4351 vmware_host             | **Required.** ESX or ESXi hostname.
4352 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4353 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4354 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4355 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4356 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4357 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4358 vmware_sessionfile      | **Optional.** Session file name enhancement.
4359 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4360 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4361 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4362 vmware_password         | **Optional.** The username's password. No value defined as default.
4363 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4364 vmware_exclude          | **Optional.** Blacklist storage name. No value defined as default.
4365 vmware_include          | **Optional.** Whitelist storage name. No value defined as default.
4366 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4367 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4368
4369
4370 **vmware-esx-soap-host-runtime-temp**
4371
4372 Check command object for the `check_vmware_esx` plugin. Lists all temperature sensors.
4373
4374 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4375
4376 Name                    | Description
4377 ------------------------|--------------
4378 vmware_host             | **Required.** ESX or ESXi hostname.
4379 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4380 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4381 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4382 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4383 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4384 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4385 vmware_sessionfile      | **Optional.** Session file name enhancement.
4386 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4387 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4388 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4389 vmware_password         | **Optional.** The username's password. No value defined as default.
4390 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4391 vmware_exclude          | **Optional.** Blacklist sensor name. No value defined as default.
4392 vmware_include          | **Optional.** Whitelist sensor name. No value defined as default.
4393 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4394 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4395
4396
4397 **vmware-esx-soap-host-runtime-issues**
4398
4399 Check command object for the `check_vmware_esx` plugin. Lists all configuration issues for the host.
4400
4401 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4402
4403 Name                    | Description
4404 ------------------------|--------------
4405 vmware_host             | **Required.** ESX or ESXi hostname.
4406 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4407 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4408 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4409 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4410 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4411 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4412 vmware_sessionfile      | **Optional.** Session file name enhancement.
4413 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4414 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4415 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4416 vmware_password         | **Optional.** The username's password. No value defined as default.
4417 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4418 vmware_exclude          | **Optional.** Blacklist configuration issues. No value defined as default.
4419 vmware_include          | **Optional.** Whitelist configuration issues. No value defined as default.
4420 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4421 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4422
4423
4424 **vmware-esx-soap-host-storage**
4425
4426 Check command object for the `check_vmware_esx` plugin. Shows Host storage info.
4427
4428 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4429
4430 Name                    | Description
4431 ------------------------|--------------
4432 vmware_host             | **Required.** ESX or ESXi hostname.
4433 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4434 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4435 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4436 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4437 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4438 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4439 vmware_sessionfile      | **Optional.** Session file name enhancement.
4440 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4441 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4442 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4443 vmware_password         | **Optional.** The username's password. No value defined as default.
4444 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4445 vmware_exclude          | **Optional.** Blacklist adapters, luns and paths. No value defined as default.
4446 vmware_include          | **Optional.** Whitelist adapters, luns and paths. No value defined as default.
4447 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4448
4449
4450 **vmware-esx-soap-host-storage-adapter**
4451
4452 Check command object for the `check_vmware_esx` plugin. List host bus adapters.
4453
4454 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4455
4456 Name                    | Description
4457 ------------------------|--------------
4458 vmware_host             | **Required.** ESX or ESXi hostname.
4459 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4460 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4461 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4462 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4463 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4464 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4465 vmware_sessionfile      | **Optional.** Session file name enhancement.
4466 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4467 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4468 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4469 vmware_password         | **Optional.** The username's password. No value defined as default.
4470 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4471 vmware_exclude          | **Optional.** Blacklist adapters. No value defined as default.
4472 vmware_include          | **Optional.** Whitelist adapters. No value defined as default.
4473 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4474 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4475
4476
4477 **vmware-esx-soap-host-storage-lun**
4478
4479 Check command object for the `check_vmware_esx` plugin. List SCSI logical units. The listing will include: LUN, canonical name of the disc, all of displayed name which is not part of the canonical name and status.
4480
4481 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4482
4483 Name                    | Description
4484 ------------------------|--------------
4485 vmware_host             | **Required.** ESX or ESXi hostname.
4486 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4487 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4488 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4489 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4490 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4491 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4492 vmware_sessionfile      | **Optional.** Session file name enhancement.
4493 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4494 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4495 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4496 vmware_password         | **Optional.** The username's password. No value defined as default.
4497 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4498 vmware_exclude          | **Optional.** Blacklist luns. No value defined as default.
4499 vmware_include          | **Optional.** Whitelist luns. No value defined as default.
4500 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4501 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4502
4503
4504 **vmware-esx-soap-host-storage-path**
4505
4506 Check command object for the `check_vmware_esx` plugin. List multipaths and the associated paths.
4507
4508 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4509
4510 Name                    | Description
4511 ------------------------|--------------
4512 vmware_host             | **Required.** ESX or ESXi hostname.
4513 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4514 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4515 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4516 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4517 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4518 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4519 vmware_sessionfile      | **Optional.** Session file name enhancement.
4520 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4521 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4522 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4523 vmware_password         | **Optional.** The username's password. No value defined as default.
4524 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4525 vmware_alertonly        | **Optional.** List only alerting units. Important here to avoid masses of data. Defaults to "false".
4526 vmware_exclude          | **Optional.** Blacklist paths. No value defined as default.
4527 vmware_include          | **Optional.** Whitelist paths. No value defined as default.
4528 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4529 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
4530 vmware_standbyok        | **Optional.** For storage systems where a standby multipath is ok and not a warning. Defaults to false.
4531
4532
4533 **vmware-esx-soap-vm-cpu**
4534
4535 Check command object for the `check_vmware_esx` plugin. Shows all CPU usage info.
4536
4537 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4538
4539 Name                    | Description
4540 ------------------------|--------------
4541 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4542 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4543 vmware_vmname           | **Required.** Virtual machine name.
4544 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4545 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4546 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4547 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4548 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4549 vmware_sessionfile      | **Optional.** Session file name enhancement.
4550 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4551 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4552 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4553 vmware_password         | **Optional.** The username's password. No value defined as default.
4554 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4555
4556
4557
4558 **vmware-esx-soap-vm-cpu-ready**
4559
4560 Check command object for the `check_vmware_esx` plugin. Percentage of time that the virtual machine was ready, but could not get scheduled to run on the physical CPU.
4561
4562 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4563
4564 Name                    | Description
4565 ------------------------|--------------
4566 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4567 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4568 vmware_vmname           | **Required.** Virtual machine name.
4569 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4570 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4571 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4572 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4573 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4574 vmware_sessionfile      | **Optional.** Session file name enhancement.
4575 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4576 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4577 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4578 vmware_password         | **Optional.** The username's password. No value defined as default.
4579 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4580 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4581 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4582
4583
4584 **vmware-esx-soap-vm-cpu-wait**
4585
4586 Check command object for the `check_vmware_esx` plugin. CPU time spent in wait state. The wait total includes time spent the CPU idle, CPU swap wait, and CPU I/O wait states. High or growing wait time can be a hint I/O bottlenecks.
4587
4588 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4589
4590 Name                    | Description
4591 ------------------------|--------------
4592 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4593 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4594 vmware_vmname           | **Required.** Virtual machine name.
4595 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4596 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4597 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4598 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4599 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4600 vmware_sessionfile      | **Optional.** Session file name enhancement.
4601 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4602 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4603 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4604 vmware_password         | **Optional.** The username's password. No value defined as default.
4605 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4606 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4607 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4608
4609
4610 **vmware-esx-soap-vm-cpu-usage**
4611
4612 Check command object for the `check_vmware_esx` plugin. Amount of actively used virtual CPU, as a percentage of total available CPU. This is the host's view of the CPU usage, not the guest operating system view. It is the average CPU utilization over all available virtual CPUs in the virtual machine.
4613
4614 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4615
4616 Name                    | Description
4617 ------------------------|--------------
4618 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4619 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4620 vmware_vmname           | **Required.** Virtual machine name.
4621 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4622 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4623 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4624 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4625 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4626 vmware_sessionfile      | **Optional.** Session file name enhancement.
4627 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4628 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4629 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4630 vmware_password         | **Optional.** The username's password. No value defined as default.
4631 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4632 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4633 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4634
4635
4636 **vmware-esx-soap-vm-mem**
4637
4638 Check command object for the `check_vmware_esx` plugin. Shows all memory info, except overall.
4639
4640 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4641
4642 Name                    | Description
4643 ------------------------|--------------
4644 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4645 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4646 vmware_vmname           | **Required.** Virtual machine name.
4647 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4648 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4649 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4650 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4651 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4652 vmware_sessionfile      | **Optional.** Session file name enhancement.
4653 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4654 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4655 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4656 vmware_password         | **Optional.** The username's password. No value defined as default.
4657 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4658
4659
4660 **vmware-esx-soap-vm-mem-usage**
4661
4662 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage of configured virtual machine "physical" memory.
4663
4664 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4665
4666 Name                    | Description
4667 ------------------------|--------------
4668 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4669 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4670 vmware_vmname           | **Required.** Virtual machine name.
4671 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4672 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4673 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4674 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4675 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4676 vmware_sessionfile      | **Optional.** Session file name enhancement.
4677 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4678 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4679 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4680 vmware_password         | **Optional.** The username's password. No value defined as default.
4681 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4682 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4683 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4684
4685
4686 **vmware-esx-soap-vm-mem-consumed**
4687
4688 Check command object for the `check_vmware_esx` plugin. Amount of guest physical memory in MB consumed by the virtual machine for guest memory. Consumed memory does not include overhead memory. It includes shared memory and memory that might be reserved, but not actually used. Use this metric for charge-back purposes.<br>
4689 **vm consumed memory = memory granted -- memory saved**
4690
4691 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4692
4693 Name                    | Description
4694 ------------------------|--------------
4695 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4696 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4697 vmware_vmname           | **Required.** Virtual machine name.
4698 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4699 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4700 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4701 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4702 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4703 vmware_sessionfile      | **Optional.** Session file name enhancement.
4704 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4705 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4706 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4707 vmware_password         | **Optional.** The username's password. No value defined as default.
4708 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4709 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4710 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4711
4712
4713 **vmware-esx-soap-vm-mem-memctl**
4714
4715 Check command object for the `check_vmware_esx` plugin. Amount of guest physical memory that is currently reclaimed from the virtual machine through ballooning. This is the amount of guest physical memory that has been allocated and pinned by the balloon driver.
4716
4717 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4718
4719 Name                    | Description
4720 ------------------------|--------------
4721 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4722 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4723 vmware_vmname           | **Required.** Virtual machine name.
4724 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4725 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4726 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4727 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4728 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4729 vmware_sessionfile      | **Optional.** Session file name enhancement.
4730 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4731 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4732 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4733 vmware_password         | **Optional.** The username's password. No value defined as default.
4734 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4735 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4736 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4737
4738
4739
4740 **vmware-esx-soap-vm-net**
4741
4742 Check command object for the `check_vmware_esx` plugin. Shows net info.
4743
4744 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4745
4746 Name                    | Description
4747 ------------------------|--------------
4748 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4749 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4750 vmware_vmname           | **Required.** Virtual machine name.
4751 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4752 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4753 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4754 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4755 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4756 vmware_sessionfile      | **Optional.** Session file name enhancement.
4757 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4758 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4759 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4760 vmware_password         | **Optional.** The username's password. No value defined as default.
4761 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4762
4763
4764 **vmware-esx-soap-vm-net-usage**
4765
4766 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
4767
4768 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4769
4770 Name                    | Description
4771 ------------------------|--------------
4772 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4773 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4774 vmware_vmname           | **Required.** Virtual machine name.
4775 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4776 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4777 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4778 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4779 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4780 vmware_sessionfile      | **Optional.** Session file name enhancement.
4781 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4782 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4783 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4784 vmware_password         | **Optional.** The username's password. No value defined as default.
4785 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4786 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4787 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4788
4789
4790 **vmware-esx-soap-vm-net-receive**
4791
4792 Check command object for the `check_vmware_esx` plugin. Receive in KBps(Kilobytes per Second).
4793
4794 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4795
4796 Name                    | Description
4797 ------------------------|--------------
4798 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4799 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4800 vmware_vmname           | **Required.** Virtual machine name.
4801 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4802 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4803 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4804 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4805 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4806 vmware_sessionfile      | **Optional.** Session file name enhancement.
4807 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4808 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4809 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4810 vmware_password         | **Optional.** The username's password. No value defined as default.
4811 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4812 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4813 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4814
4815
4816 **vmware-esx-soap-vm-net-send**
4817
4818 Check command object for the `check_vmware_esx` plugin. Send in KBps(Kilobytes per Second).
4819
4820 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4821
4822 Name                    | Description
4823 ------------------------|--------------
4824 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4825 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4826 vmware_vmname           | **Required.** Virtual machine name.
4827 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4828 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4829 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4830 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4831 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4832 vmware_sessionfile      | **Optional.** Session file name enhancement.
4833 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4834 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4835 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4836 vmware_password         | **Optional.** The username's password. No value defined as default.
4837 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4838 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4839 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4840
4841
4842 **vmware-esx-soap-vm-io**
4843
4844 Check command object for the `check_vmware_esx` plugin. Shows all disk io info. Without subselect no thresholds can be given. All I/O values are aggregated from historical intervals over the past 24 hours with a 5 minute sample rate.
4845
4846 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4847
4848 Name                    | Description
4849 ------------------------|--------------
4850 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4851 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4852 vmware_vmname           | **Required.** Virtual machine name.
4853 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4854 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4855 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4856 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4857 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4858 vmware_sessionfile      | **Optional.** Session file name enhancement.
4859 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4860 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4861 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4862 vmware_password         | **Optional.** The username's password. No value defined as default.
4863 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4864
4865
4866 **vmware-esx-soap-vm-io-read**
4867
4868 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
4869
4870 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4871
4872 Name                    | Description
4873 ------------------------|--------------
4874 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4875 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4876 vmware_vmname           | **Required.** Virtual machine name.
4877 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4878 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4879 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4880 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4881 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4882 vmware_sessionfile      | **Optional.** Session file name enhancement.
4883 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4884 vmware_nosession        | **Optional.** No auth session - IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4885 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4886 vmware_password         | **Optional.** The username's password. No value defined as default.
4887 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4888 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4889 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4890
4891
4892 **vmware-esx-soap-vm-io-write**
4893
4894 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
4895
4896 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4897
4898 Name                    | Description
4899 ------------------------|--------------
4900 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4901 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4902 vmware_vmname           | **Required.** Virtual machine name.
4903 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4904 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4905 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4906 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4907 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4908 vmware_sessionfile      | **Optional.** Session file name enhancement.
4909 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4910 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4911 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4912 vmware_password         | **Optional.** The username's password. No value defined as default.
4913 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4914 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4915 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4916
4917
4918 **vmware-esx-soap-vm-io-usage**
4919
4920 Check command object for the `check_vmware_esx` plugin. Aggregated disk I/O rate.
4921
4922 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4923
4924 Name                    | Description
4925 ------------------------|--------------
4926 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4927 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4928 vmware_vmname           | **Required.** Virtual machine name.
4929 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4930 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4931 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4932 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4933 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4934 vmware_sessionfile      | **Optional.** Session file name enhancement.
4935 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4936 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4937 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4938 vmware_password         | **Optional.** The username's password. No value defined as default.
4939 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4940 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4941 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4942
4943
4944 **vmware-esx-soap-vm-runtime**
4945
4946 Check command object for the `check_vmware_esx` plugin. Shows virtual machine runtime info.
4947
4948 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4949
4950 Name                    | Description
4951 ------------------------|--------------
4952 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4953 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4954 vmware_vmname           | **Required.** Virtual machine name.
4955 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4956 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4957 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4958 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4959 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4960 vmware_sessionfile      | **Optional.** Session file name enhancement.
4961 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4962 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4963 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4964 vmware_password         | **Optional.** The username's password. No value defined as default.
4965 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4966
4967
4968 **vmware-esx-soap-vm-runtime-con**
4969
4970 Check command object for the `check_vmware_esx` plugin. Shows the connection state.
4971
4972 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4973
4974 Name                    | Description
4975 ------------------------|--------------
4976 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4977 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4978 vmware_vmname           | **Required.** Virtual machine name.
4979 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4980 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4981 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4982 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4983 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4984 vmware_sessionfile      | **Optional.** Session file name enhancement.
4985 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4986 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4987 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4988 vmware_password         | **Optional.** The username's password. No value defined as default.
4989 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4990
4991
4992 **vmware-esx-soap-vm-runtime-powerstate**
4993
4994 Check command object for the `check_vmware_esx` plugin. Shows virtual machine power state: poweredOn, poweredOff or suspended.
4995
4996 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4997
4998 Name                    | Description
4999 ------------------------|--------------
5000 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5001 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5002 vmware_vmname           | **Required.** Virtual machine name.
5003 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5004 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5005 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5006 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5007 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5008 vmware_sessionfile      | **Optional.** Session file name enhancement.
5009 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5010 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5011 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5012 vmware_password         | **Optional.** The username's password. No value defined as default.
5013 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5014
5015
5016 **vmware-esx-soap-vm-runtime-status**
5017
5018 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
5019
5020 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5021
5022 Name                    | Description
5023 ------------------------|--------------
5024 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5025 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5026 vmware_vmname           | **Required.** Virtual machine name.
5027 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5028 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5029 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5030 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5031 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5032 vmware_sessionfile      | **Optional.** Session file name enhancement.
5033 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5034 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5035 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5036 vmware_password         | **Optional.** The username's password. No value defined as default.
5037 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5038
5039
5040 **vmware-esx-soap-vm-runtime-consoleconnections**
5041
5042 Check command object for the `check_vmware_esx` plugin. Console connections to virtual machine.
5043
5044 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5045
5046 Name                    | Description
5047 ------------------------|--------------
5048 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5049 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5050 vmware_vmname           | **Required.** Virtual machine name.
5051 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5052 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5053 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5054 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5055 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5056 vmware_sessionfile      | **Optional.** Session file name enhancement.
5057 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5058 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5059 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5060 vmware_password         | **Optional.** The username's password. No value defined as default.
5061 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5062 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5063 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5064
5065
5066 **vmware-esx-soap-vm-runtime-gueststate**
5067
5068 Check command object for the `check_vmware_esx` plugin. Guest OS status. Needs VMware Tools installed and running.
5069
5070 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5071
5072 Name                    | Description
5073 ------------------------|--------------
5074 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5075 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5076 vmware_vmname           | **Required.** Virtual machine name.
5077 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5078 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5079 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5080 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5081 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5082 vmware_sessionfile      | **Optional.** Session file name enhancement.
5083 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5084 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5085 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5086 vmware_password         | **Optional.** The username's password. No value defined as default.
5087 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5088
5089 **vmware-esx-soap-vm-runtime-tools**
5090
5091 Check command object for the `check_vmware_esx` plugin. Guest OS status. VMware tools  status.
5092
5093 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5094
5095 Name                    | Description
5096 ------------------------|--------------
5097 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5098 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5099 vmware_vmname           | **Required.** Virtual machine name.
5100 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5101 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5102 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5103 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5104 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5105 vmware_sessionfile      | **Optional.** Session file name enhancement.
5106 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5107 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5108 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5109 vmware_password         | **Optional.** The username's password. No value defined as default.
5110 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5111 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
5112
5113
5114 **vmware-esx-soap-vm-runtime-issues**
5115
5116 Check command object for the `check_vmware_esx` plugin. All issues for the virtual machine.
5117
5118 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5119
5120 Name                    | Description
5121 ------------------------|--------------
5122 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5123 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5124 vmware_vmname           | **Required.** Virtual machine name.
5125 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5126 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5127 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5128 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5129 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5130 vmware_sessionfile      | **Optional.** Session file name enhancement.
5131 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5132 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5133 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5134 vmware_password         | **Optional.** The username's password. No value defined as default.
5135 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5136 vmware_multiline        | **Optional.** Multiline output in overview. This mean technically that a multiline output uses a HTML **\<br\>** for the GUI. No value defined as default.
5137
5138
5139 ### Web <a id="plugin-contrib-web"></a>
5140
5141 This category includes all plugins for web-based checks.
5142
5143 #### apache-status <a id="plugin-contrib-command-apache-status"></a>
5144
5145 The [check_apache_status.pl](https://github.com/lbetz/check_apache_status) plugin
5146 uses the [/server-status](https://httpd.apache.org/docs/current/mod/mod_status.html)
5147 HTTP endpoint to monitor status metrics for the Apache webserver.
5148
5149 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5150
5151 Name                    | Description
5152 ------------------------|----------------------------------------------------------------------------------
5153 apache_status_address   | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5154 apache_status_port      | **Optional.** the http port.
5155 apache_status_url       | **Optional.** URL to use, instead of the default (http://`apache_status_address`/server-status).
5156 apache_status_ssl       | **Optional.** set to use ssl connection
5157 apache_status_timeout   | **Optional.** timeout in seconds
5158 apache_status_warning   | **Optional.** Warning threshold (number of open slots, busy workers and idle workers that will cause a WARNING) like ':20,50,:50'.
5159 apache_status_critical  | **Optional.** Critical threshold (number of open slots, busy workers and idle workers that will cause a CRITICAL) like ':10,25,:20'.
5160
5161
5162 #### ssl_cert <a id="plugin-check-command-ssl_cert"></a>
5163
5164 The [check_ssl_cert](https://github.com/matteocorti/check_ssl_cert) plugin
5165 uses the openssl binary (and optional curl) to check a X.509 certificate.
5166
5167 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5168
5169 Name                      | Description
5170 --------------------------|--------------
5171 ssl_cert_address              | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5172 ssl_cert_port                 | **Optional.** TCP port number (default: 443).
5173 ssl_cert_file                 | **Optional.** Local file path. Works only if `ssl_cert_address` is set to "localhost".
5174 ssl_cert_warn                 | **Optional.** Minimum number of days a certificate has to be valid.
5175 ssl_cert_critical             | **Optional.** Minimum number of days a certificate has to be valid to issue a critical status.
5176 ssl_cert_cn                   | **Optional.** Pattern to match the CN of the certificate.
5177 ssl_cert_altnames             | **Optional.** Matches the pattern specified in -n with alternate
5178 ssl_cert_issuer               | **Optional.** Pattern to match the issuer of the certificate.
5179 ssl_cert_org                  | **Optional.** Pattern to match the organization of the certificate.
5180 ssl_cert_email                | **Optional.** Pattern to match the email address contained in the certificate.
5181 ssl_cert_serial               | **Optional.** Pattern to match the serial number.
5182 ssl_cert_noauth               | **Optional.** Ignore authority warnings (expiration only)
5183 ssl_cert_match_host           | **Optional.** Match CN with the host name.
5184 ssl_cert_selfsigned           | **Optional.** Allow self-signed certificate.
5185 ssl_cert_sni                  | **Optional.** Sets the TLS SNI (Server Name Indication) extension.
5186 ssl_cert_timeout              | **Optional.** Seconds before connection times out (default: 15)
5187 ssl_cert_protocol             | **Optional.** Use the specific protocol {http,smtp,pop3,imap,ftp,xmpp,irc,ldap} (default: http).
5188 ssl_cert_clientcert           | **Optional.** Use client certificate to authenticate.
5189 ssl_cert_clientpass           | **Optional.** Set passphrase for client certificate.
5190 ssl_cert_ssllabs              | **Optional.** SSL Labs assessment
5191 ssl_cert_ssllabs_nocache      | **Optional.** Forces a new check by SSL Labs
5192 ssl_cert_rootcert             | **Optional.** Root certificate or directory to be used for certificate validation.
5193 ssl_cert_ignore_signature     | **Optional.** Do not check if the certificate was signed with SHA1 od MD5.
5194 ssl_cert_ssl_version          | **Optional.** Force specific SSL version out of {ssl2,ssl3,tls1,tls1_1,tls1_2}.
5195 ssl_cert_disable_ssl_versions | **Optional.** Disable specific SSL versions out of {ssl2,ssl3,tls1,tls1_1,tls1_2}. Multiple versions can be given as array.
5196 ssl_cert_cipher               | **Optional.** Cipher selection: force {ecdsa,rsa} authentication.
5197 ssl_cert_ignore_expiration    | **Optional.** Ignore expiration date.
5198 ssl_cert_ignore_ocsp          | **Optional.** Do not check revocation with OCSP.
5199
5200
5201 #### jmx4perl <a id="plugin-contrib-command-jmx4perl"></a>
5202
5203 The [check_jmx4perl](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl) plugin
5204 uses the HTTP API exposed by the [Jolokia](https://jolokia.org)
5205 web application and queries Java message beans on an application server. It is
5206 part of the `JMX::Jmx4Perl` Perl module which includes detailed
5207 [documentation](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl).
5208
5209 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5210
5211 Name                         | Description
5212 -----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------
5213 jmx4perl_url                 | **Required.** URL to agent web application. Defaults to "http://$address$:8080/jolokia".
5214 jmx4perl_product             | **Optional.** Name of app server product (e.g. jboss), by default is uses an auto detection facility.
5215 jmx4perl_alias               | **Optional.** Alias name for attribute (e.g. MEMORY_HEAP_USED). All available aliases can be viewed by executing `jmx4perl aliases` on the command line.
5216 jmx4perl_mbean               | **Optional.** MBean name (e.g. java.lang:type=Memory).
5217 jmx4perl_attribute           | **Optional.** Attribute name (e.g. HeapMemoryUsage).
5218 jmx4perl_operation           | **Optional.** Operation to execute.
5219 jmx4perl_value               | **Optional.** Shortcut for specifying mbean/attribute/path. Slashes within names must be escaped with backslash.
5220 jmx4perl_delta               | **Optional.** Switches on incremental mode. Optional argument are seconds used for normalizing.
5221 jmx4perl_path                | **Optional.** Inner path for extracting a single value from a complex attribute or return value (e.g. used).
5222 jmx4perl_target              | **Optional.** JSR-160 Service URL specifing the target server.
5223 jmx4perl_target_user         | **Optional.** Username to use for JSR-160 connection.
5224 jmx4perl_target_password     | **Optional.** Password to use for JSR-160 connection.
5225 jmx4perl_proxy               | **Optional.** Proxy to use.
5226 jmx4perl_user                | **Optional.** User for HTTP authentication.
5227 jmx4perl_password            | **Optional.** Password for HTTP authentication.
5228 jmx4perl_name                | **Optional.** Name to use for output, by default a standard value based on the MBean and attribute will be used.
5229 jmx4perl_method              | **Optional.** HTTP method to use, either get or post. By default a method is determined automatically based on the request type.
5230 jmx4perl_base                | **Optional.** Base name, which when given, interprets critical and warning values as relative in the range 0 .. 100%. Must be given in the form mbean/attribute/path.
5231 jmx4perl_base_mbean          | **Optional.** Base MBean name, interprets critical and warning values as relative in the range 0 .. 100%. Requires "jmx4perl_base_attribute".
5232 jmx4perl_base_attribute      | **Optional.** Base attribute for a relative check. Requires "jmx4perl_base_mbean".
5233 jmx4perl_base_path           | **Optional.** Base path for relative checks, where this path is used on the base attribute's value.
5234 jmx4perl_unit                | **Optional.** Unit of measurement of the data retrieved. Recognized values are [B\|KB\|MN\|GB\|TB] for memory values and [us\|ms\|s\|m\|h\|d] for time values.
5235 jmx4perl_null                | **Optional.** Value which should be used in case of a null return value of an operation or attribute. Defaults to null.
5236 jmx4perl_string              | **Optional.** Force string comparison for critical and warning checks. Defaults to false.
5237 jmx4perl_numeric             | **Optional.** Force numeric comparison for critical and warning checks. Defaults to false.
5238 jmx4perl_critical            | **Optional.** Critical threshold for value.
5239 jmx4perl_warning             | **Optional.** Warning threshold for value.
5240 jmx4perl_label               | **Optional.** Label to be used for printing out the result of the check. For placeholders which can be used see the documentation.
5241 jmx4perl_perfdata            | **Optional.** Whether performance data should be omitted, which are included by default. Defaults to "on" for numeric values, to "off" for strings.
5242 jmx4perl_unknown_is_critical | **Optional.** Map UNKNOWN errors to errors with a CRITICAL status. Defaults to false.
5243 jmx4perl_timeout             | **Optional.** Seconds before plugin times out. Defaults to "15".
5244 jmx4perl_config              | **Optional.** Path to configuration file.
5245 jmx4perl_server              | **Optional.** Symbolic name of server url to use, which needs to be configured in the configuration file.
5246 jmx4perl_check               | **Optional.** Name of a check configuration as defined in the configuration file, use array if you need arguments.
5247
5248
5249 #### kdc <a id="plugin-contrib-command-kdc"></a>
5250
5251 The [check_kdc](https://exchange.nagios.org/directory/Plugins/Security/check_kdc/details) plugin
5252 uses the Kerberos `kinit` binary to monitor Kerberos 5 KDC by acquiring a ticket.
5253
5254 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5255
5256 Name            | Description
5257 ----------------|--------------------------------------------------------------------------
5258 kdc_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5259 kdc_port        | **Optional** Port on which KDC runs (default 88).
5260 kdc_principal   | **Required** Principal name to authenticate as (including realm).
5261 kdc_keytab      | **Required** Keytab file containing principal's key.
5262
5263
5264 #### nginx_status <a id="plugin-contrib-command-nginx_status"></a>
5265
5266 The [check_nginx_status.pl](https://github.com/regilero/check_nginx_status) plugin
5267 uses the [/nginx_status](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html)
5268 HTTP endpoint which provides metrics for monitoring Nginx.
5269
5270 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5271
5272 Name                            | Description
5273 --------------------------------|----------------------------------------------------------------------------------
5274 nginx_status_host_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5275 nginx_status_port               | **Optional.** the http port.
5276 nginx_status_url                | **Optional.** URL to use, instead of the default (http://`nginx_status_hostname`/nginx_status).
5277 nginx_status_servername         | **Optional.** ServerName to use if you specified an IP to match the good Virtualhost in your target.
5278 nginx_status_ssl                | **Optional.** set to use ssl connection.
5279 nginx_status_disable_sslverify          | **Optional.** set to disable SSL hostname verification.
5280 nginx_status_user               | **Optional.** Username for basic auth.
5281 nginx_status_pass               | **Optional.** Password for basic auth.
5282 nginx_status_realm              | **Optional.** Realm for basic auth.
5283 nginx_status_maxreach           | **Optional.** Number of max processes reached (since last check) that should trigger an alert.
5284 nginx_status_timeout            | **Optional.** timeout in seconds.
5285 nginx_status_warn               | **Optional.** Warning threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a WARNING) like '10000,100,200'.
5286 nginx_status_critical           | **Optional.** Critical threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a CRITICAL) like '20000,200,300'.
5287
5288
5289 #### rbl <a id="plugin-contrib-command-rbl"></a>
5290
5291 The [check_rbl](https://github.com/matteocorti/check_rbl) plugin
5292 uses the `Net::DNS` Perl library to check whether your SMTP server
5293 is blacklisted.
5294
5295 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5296
5297 Name            | Description
5298 ----------------|--------------------------------------------------------------------------
5299 rbl_hostname    | **Optional.** The address or name of the SMTP server to check. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5300 rbl_server      | **Required** List of RBL servers as an array.
5301 rbl_warning     | **Optional** Number of blacklisting servers for a warning.
5302 rbl_critical    | **Optional** Number of blacklisting servers for a critical.
5303 tbl_timeout     | **Optional** Seconds before plugin times out (default: 15).
5304
5305
5306 #### squid <a id="plugin-contrib-command-squid"></a>
5307
5308 The [check_squid](https://exchange.icinga.com/exchange/check_squid) plugin
5309 uses the `squidclient` binary to monitor a [Squid proxy](http://www.squid-cache.org).
5310
5311 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5312
5313 Name                    | Description
5314 ------------------------|----------------------------------------------------------------------------------
5315 squid_hostname          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5316 squid_data              | **Optional.** Data to fetch (default: Connections) available data: Connections Cache Resources Memory FileDescriptors.
5317 squid_port              | **Optional.** Port number (default: 3128).
5318 squid_user              | **Optional.** WWW user.
5319 squid_password          | **Optional.** WWW password.
5320 squid_warning           | **Optional.** Warning threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5321 squid_critical          | **Optional.** Critical threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5322 squid_client            | **Optional.** Path of squidclient (default: /usr/bin/squidclient).
5323 squid_timeout           | **Optional.** Seconds before plugin times out (default: 15).
5324
5325
5326 #### webinject <a id="plugin-contrib-command-webinject"></a>
5327
5328 The [check_webinject](https://labs.consol.de/de/nagios/check_webinject/index.html) plugin
5329 uses [WebInject](http://www.webinject.org/manual.html) to test web applications
5330 and web services in an automated fashion.
5331 It can be used to test individual system components that have HTTP interfaces
5332 (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP Web Services, REST, etc),
5333 and can be used as a test harness to create a suite of HTTP level automated functional,
5334 acceptance, and regression tests. A test harness allows you to run many test cases
5335 and collect/report your results. WebInject offers real-time results
5336 display and may also be used for monitoring system response times.
5337
5338 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5339
5340 Name                    | Description
5341 ------------------------|--------------
5342 webinject_config_file   | **Optional.** There is a configuration file named 'config.xml' that is used to store configuration settings for your project. You can use this to specify which test case files to run and to set some constants and settings to be used by WebInject.
5343 webinject_output        | **Optional.** This option is followed by a directory name or a prefix to prepended to the output files. This is used to specify the location for writing output files (http.log, results.html, and results.xml). If a directory name is supplied (use either an absolute or relative path and make sure to add the trailing slash), all output files are written to this directory. If the trailing slash is omitted, it is assumed to a prefix and this will be prepended to the output files. You may also use a combination of a directory and prefix.
5344 webinject_no_output     | **Optional.** Suppresses all output to STDOUT except the results summary.
5345 webinject_timeout       | **Optional.** The value [given in seconds] will be compared to the global time elapsed to run all the tests. If the tests have all been successful, but have taken more time than the 'globaltimeout' value, a warning message is sent back to Icinga.
5346 webinject_report_type   | **Optional.** This setting is used to enable output formatting that is compatible for use with specific external programs. The available values you can set this to are: nagios, mrtg, external and standard.
5347 webinject_testcase_file | **Optional.** When you launch WebInject in console mode, you can optionally supply an argument for a testcase file to run. It will look for this file in the directory that webinject.pl resides in. If no filename is passed from the command line, it will look in config.xml for testcasefile declarations. If no files are specified, it will look for a default file named 'testcases.xml' in the current [webinject] directory. If none of these are found, the engine will stop and give you an error.