]> granicus.if.org Git - icinga2/blob - doc/10-icinga-template-library.md
Merge pull request #5913 from mcktr/fix/itl-http-certificate-age-5610
[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     include <itl>
29
30 These templates are imported by the provided example configuration.
31
32 > **Note**:
33 >
34 > These templates are built into the binaries. By convention
35 > all command and timeperiod objects should import these templates.
36
37 ### plugin-check-command <a id="itl-plugin-check-command"></a>
38
39 Command template for check plugins executed by Icinga 2.
40
41 The `plugin-check-command` command does not support any vars.
42
43 By default this template is automatically imported into all [CheckCommand](09-object-types.md#objecttype-checkcommand) definitions.
44
45 ### plugin-notification-command <a id="itl-plugin-notification-command"></a>
46
47 Command template for notification scripts executed by Icinga 2.
48
49 The `plugin-notification-command` command does not support any vars.
50
51 By default this template is automatically imported into all [NotificationCommand](09-object-types.md#objecttype-notificationcommand) definitions.
52
53 ### plugin-event-command <a id="itl-plugin-event-command"></a>
54
55 Command template for event handler scripts executed by Icinga 2.
56
57 The `plugin-event-command` command does not support any vars.
58
59 By default this template is automatically imported into all [EventCommand](09-object-types.md#objecttype-eventcommand) definitions.
60
61 ### legacy-timeperiod <a id="itl-legacy-timeperiod"></a>
62
63 Timeperiod template for [Timeperiod objects](09-object-types.md#objecttype-timeperiod).
64
65 The `legacy-timeperiod` timeperiod does not support any vars.
66
67 By default this template is automatically imported into all [TimePeriod](09-object-types.md#objecttype-timeperiod) definitions.
68
69 ## Check Commands <a id="itl-check-commands"></a>
70
71 These check commands are embedded into Icinga 2 and do not require any external
72 plugin scripts.
73
74 ### icinga <a id="itl-icinga"></a>
75
76 Check command for the built-in `icinga` check. This check returns performance
77 data for the current Icinga instance.
78
79 The `icinga` check command does not support any vars.
80
81 ### cluster <a id="itl-icinga-cluster"></a>
82
83 Check command for the built-in `cluster` check. This check returns performance
84 data for the current Icinga instance and connected endpoints.
85
86 The `cluster` check command does not support any vars.
87
88 ### cluster-zone <a id="itl-icinga-cluster-zone"></a>
89
90 Check command for the built-in `cluster-zone` check.
91
92 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
93
94 Name                   | Description
95 -----------------------|---------------
96 cluster\_zone          | **Required.** The zone name. Defaults to `$host.name$`.
97 cluster\_lag\_warning  | **Optional.** Warning threshold for log lag in seconds. Applies if the log lag is greater than the threshold.
98 cluster\_lag\_critical | **Optional.** Critical threshold for log lag in seconds. Applies if the log lag is greater than the threshold.
99
100 ### ido <a id="itl-icinga-ido"></a>
101
102 Check command for the built-in `ido` check.
103
104 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
105
106 Name         | Description
107 -------------|---------------
108 ido\_type    | **Required.** The type of the IDO connection object. Can be either "IdoMysqlConnection" or "IdoPgsqlConnection".
109 ido\_name    | **Required.** The name of the IDO connection object.
110
111 ### dummy <a id="itl-dummy"></a>
112
113 Check command for the built-in `dummy` check. This allows to set
114 a check result state and output and can be used in [freshness checks](08-advanced-topics.md#check-result-freshness)
115 or [runtime object checks](08-advanced-topics.md#access-object-attributes-at-runtime).
116 In contrast to the [check_dummy](https://www.monitoring-plugins.org/doc/man/check_dummy.html)
117 plugin, Icinga 2 implements a light-weight in memory check with 2.9+.
118
119 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
120
121 Name            | Description
122 ----------------|--------------
123 dummy\_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 0.
124 dummy\_text      | **Optional.** Plugin output. Defaults to "Check was successful.".
125
126 ### random <a id="itl-random"></a>
127
128 Check command for the built-in `random` check. This check returns random states
129 and adds the check source to the check output.
130
131 For test and demo purposes only. The `random` check command does not support
132 any vars.
133
134 ### exception <a id="itl-exception"></a>
135
136 Check command for the built-in `exception` check. This check throws an exception.
137
138 For test and demo purposes only. The `exception` check command does not support
139 any vars.
140
141 <!-- keep this anchor for URL link history only -->
142 <a id="plugin-check-commands"></a>
143
144 ## Plugin Check Commands for Monitoring Plugins <a id="plugin-check-commands-monitoring-plugins"></a>
145
146 The Plugin Check Commands provides example configuration for plugin check commands
147 provided by the [Monitoring Plugins](https://www.monitoring-plugins.org) project.
148
149 By default the Plugin Check Commands are included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration
150 file:
151
152     include <plugins>
153
154 The plugin check commands assume that there's a global constant named `PluginDir`
155 which contains the path of the plugins from the Monitoring Plugins project.
156
157 **Note**: If there are command parameters missing for the provided CheckCommand
158 definitions please kindly send a patch upstream. This should include an update
159 for the ITL CheckCommand itself and this documentation section.
160
161 ### apt <a id="plugin-check-command-apt"></a>
162
163 The plugin [apt](https://www.monitoring-plugins.org/doc/index.html) checks for software updates on systems that use
164 package management systems based on the apt-get(8) command found in Debian based systems.
165
166 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
167
168 Name                    | Description
169 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
170 apt_extra_opts          | **Optional.** Read options from an ini file.
171 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.
172 apt_dist_upgrade        | **Optional.** Perform a dist-upgrade instead of normal upgrade. Like with -U OPTS can be provided to override the default options.
173 apt_include             | **Optional.** Include only packages matching REGEXP. Can be specified multiple times the values will be combined together.
174 apt_exclude             | **Optional.** Exclude packages matching REGEXP from the list of packages that would otherwise be included. Can be specified multiple times.
175 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.
176 apt_timeout             | **Optional.** Seconds before plugin times out (default: 10).
177 apt_only_critical       | **Optional.** Only warn about critical upgrades.
178
179
180 ### breeze <a id="plugin-check-command-breeze"></a>
181
182 The [check_breeze](https://www.monitoring-plugins.org/doc/man/check_breeze.html) plugin reports the signal
183 strength of a Breezecom wireless equipment.
184
185 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
186
187 Name             | Description
188 -----------------|---------------------------------
189 breeze_hostname  | **Required.** Name or IP address of host to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
190 breeze_community | **Optional.** SNMPv1 community. Defaults to "public".
191 breeze_warning   | **Required.** Percentage strength below which a WARNING status will result. Defaults to 50.
192 breeze_critical  | **Required.** Percentage strength below which a WARNING status will result. Defaults to 20.
193
194
195 ### by_ssh <a id="plugin-check-command-by-ssh"></a>
196
197 The [check_by_ssh](https://www.monitoring-plugins.org/doc/man/check_by_ssh.html) plugin uses SSH to execute
198 commands on a remote host.
199
200 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
201
202 Name            | Description
203 ----------------|--------------
204 by_ssh_address  | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
205 by_ssh_port     | **Optional.** The SSH port. Defaults to 22.
206 by_ssh_command  | **Required.** The command that should be executed. Can be an array if multiple arguments should be passed to `check_by_ssh`.
207 by_ssh_arguments| **Optional.** A dictionary with arguments for the command. This works exactly like the 'arguments' dictionary for ordinary CheckCommands.
208 by_ssh_logname  | **Optional.** The SSH username.
209 by_ssh_identity | **Optional.** The SSH identity.
210 by_ssh_quiet    | **Optional.** Whether to suppress SSH warnings. Defaults to false.
211 by_ssh_warn     | **Optional.** The warning threshold.
212 by_ssh_crit     | **Optional.** The critical threshold.
213 by_ssh_timeout  | **Optional.** The timeout in seconds.
214 by_ssh_options  | **Optional.** Call ssh with '-o OPTION' (multiple options may be specified as an array).
215 by_ssh_ipv4     | **Optional.** Use IPv4 connection. Defaults to false.
216 by_ssh_ipv6     | **Optional.** Use IPv6 connection. Defaults to false.
217
218
219 ### clamd <a id="plugin-check-command-clamd"></a>
220
221 The [check_clamd](https://www.monitoring-plugins.org/doc/man/check_clamd.html) plugin tests CLAMD
222 connections with the specified host (or unix socket).
223
224 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
225
226 Name               | Description
227 -------------------|--------------
228 clamd_address        | **Required.** The host's address or unix socket (must be an absolute path).
229 clamd_port           | **Optional.** Port number (default: none).
230 clamd_expect         | **Optional.** String to expect in server response. Multiple strings must be defined as array.
231 clamd_all            | **Optional.** All expect strings need to occur in server response. Defaults to false.
232 clamd_escape_send    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
233 clamd_send           | **Optional.** String to send to the server.
234 clamd_escape_quit    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
235 clamd_quit           | **Optional.** String to send server to initiate a clean close of the connection.
236 clamd_refuse         | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
237 clamd_mismatch       | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
238 clamd_jail           | **Optional.** Hide output from TCP socket.
239 clamd_maxbytes       | **Optional.** Close connection once more than this number of bytes are received.
240 clamd_delay          | **Optional.** Seconds to wait between sending string and polling for response.
241 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.
242 clamd_ssl            | **Optional.** Use SSL for the connection. Defaults to false.
243 clamd_wtime          | **Optional.** Response time to result in warning status (seconds).
244 clamd_ctime          | **Optional.** Response time to result in critical status (seconds).
245 clamd_timeout        | **Optional.** Seconds before connection times out. Defaults to 10.
246 clamd_ipv4           | **Optional.** Use IPv4 connection. Defaults to false.
247 clamd_ipv6           | **Optional.** Use IPv6 connection. Defaults to false.
248
249
250 ### dhcp <a id="plugin-check-command-dhcp"></a>
251
252 The [check_dhcp](https://www.monitoring-plugins.org/doc/man/check_dhcp.html) plugin
253 tests the availability of DHCP servers on a network.
254
255 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
256
257 Name            | Description
258 ----------------|--------------
259 dhcp_serverip   | **Optional.** The IP address of the DHCP server which we should get a response from.
260 dhcp_requestedip| **Optional.** The IP address which we should be offered by a DHCP server.
261 dhcp_timeout    | **Optional.** The timeout in seconds.
262 dhcp_interface  | **Optional.** The interface to use.
263 dhcp_mac        | **Optional.** The MAC address to use in the DHCP request.
264 dhcp_unicast    | **Optional.** Whether to use unicast requests. Defaults to false.
265
266
267 ### dig <a id="plugin-check-command-dig"></a>
268
269 The [check_dig](https://www.monitoring-plugins.org/doc/man/check_dig.html) plugin
270 test the DNS service on the specified host using dig.
271
272 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
273
274 Name                 | Description
275 ---------------------|--------------
276 dig_server           | **Optional.** The DNS server to query. Defaults to "127.0.0.1".
277 dig_port                 | **Optional.** Port number (default: 53).
278 dig_lookup           | **Required.** The address that should be looked up.
279 dig_record_type      | **Optional.** Record type to lookup (default: A).
280 dig_expected_address | **Optional.** An address expected to be in the answer section. If not set, uses whatever was in -l.
281 dig_arguments        | **Optional.** Pass STRING as argument(s) to dig.
282 dig_retries              | **Optional.** Number of retries passed to dig, timeout is divided by this value (Default: 3).
283 dig_warning          | **Optional.** Response time to result in warning status (seconds).
284 dig_critical         | **Optional.** Response time to result in critical status (seconds).
285 dig_timeout          | **Optional.** Seconds before connection times out (default: 10).
286 dig_ipv4             | **Optional.** Force dig to only use IPv4 query transport. Defaults to false.
287 dig_ipv6             | **Optional.** Force dig to only use IPv6 query transport. Defaults to false.
288
289
290 ### disk <a id="plugin-check-command-disk"></a>
291
292 The [check_disk](https://www.monitoring-plugins.org/doc/man/check_disk.html) plugin
293 checks the amount of used disk space on a mounted file system and generates an alert
294 if free space is less than one of the threshold values.
295
296 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
297
298 Name                    | Description
299 --------------------|------------------------
300 disk\_wfree             | **Optional.** The free space warning threshold. Defaults to "20%". If the percent sign is omitted, units from `disk_units` are used.
301 disk\_cfree             | **Optional.** The free space critical threshold. Defaults to "10%". If the percent sign is omitted, units from `disk_units` are used.
302 disk\_inode\_wfree      | **Optional.** The free inode warning threshold.
303 disk\_inode\_cfree      | **Optional.** The free inode critical threshold.
304 disk\_partition         | **Optional.** The partition. **Deprecated in 2.3.**
305 disk\_partition\_excluded  | **Optional.** The excluded partition. **Deprecated in 2.3.**
306 disk\_partitions        | **Optional.** The partition(s). Multiple partitions must be defined as array.
307 disk\_partitions\_excluded | **Optional.** The excluded partition(s). Multiple partitions must be defined as array.
308 disk\_clear             | **Optional.** Clear thresholds. May be true or false.
309 disk\_exact\_match      | **Optional.** For paths or partitions specified with -p, only check for exact paths. May be true or false.
310 disk\_errors\_only      | **Optional.** Display only devices/mountpoints with errors. May be true or false.
311 disk\_ignore\_reserved  | **Optional.** If set, account root-reserved blocks are not accounted for freespace in perfdata. May be true or false.
312 disk\_group             | **Optional.** Group paths. Thresholds apply to (free-)space of all partitions together.
313 disk\_kilobytes         | **Optional.** Same as --units kB. May be true or false.
314 disk\_local             | **Optional.** Only check local filesystems. May be true or false.
315 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.
316 disk\_mountpoint          | **Optional.** Display the mountpoint instead of the partition. May be true or false.
317 disk\_megabytes           | **Optional.** Same as --units MB. May be true or false.
318 disk\_all                 | **Optional.** Explicitly select all paths. This is equivalent to -R '.\*'. May be true or false.
319 disk\_eregi\_path         | **Optional.** Case insensitive regular expression for path/partition. Multiple regular expression strings must be defined as array.
320 disk\_ereg\_path          | **Optional.** Regular expression for path or partition. Multiple regular expression strings must be defined as array.
321 disk\_ignore\_eregi\_path | **Optional.** Regular expression to ignore selected path/partition (case insensitive). Multiple regular expression strings must be defined as array.
322 disk\_ignore\_ereg\_path  | **Optional.** Regular expression to ignore selected path or partition. Multiple regular expression strings must be defined as array.
323 disk\_timeout             | **Optional.** Seconds before connection times out (default: 10).
324 disk\_units               | **Optional.** Choose bytes, kB, MB, GB, TB (default: MB).
325 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".
326
327 ### disk_smb <a id="plugin-check-command-disk-smb"></a>
328
329 The [check_disk_smb](https://www.monitoring-plugins.org/doc/man/check_disk_smb.html) plugin
330 uses the `smbclient` binary to check SMB shares.
331
332 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
333
334 Name                    | Description
335 ------------------------|------------------------
336 disk_smb_hostname       | **Required.** NetBIOS name of the server.
337 disk_smb_share          | **Required.** Share name being queried.
338 disk_smb_workgroup      | **Optional.** Workgroup or Domain used (defaults to 'WORKGROUP' if omitted).
339 disk_smb_address        | **Optional.** IP address of the host (only necessary if host belongs to another network).
340 disk_smb_username       | **Optional.** Username for server log-in (defaults to 'guest' if omitted).
341 disk_smb_password       | **Optional.** Password for server log-in (defaults to an empty password if omitted).
342 disk_smb_wused          | **Optional.** The used space warning threshold. Defaults to "85%". If the percent sign is omitted, use optional disk units.
343 disk_smb_cused          | **Optional.** The used space critical threshold. Defaults to "95%". If the percent sign is omitted, use optional disk units.
344 disk_smb_port           | **Optional.** Connection port, e.g. `139` or `445`. Defaults to `smbclient` default if omitted.
345
346 ### dns <a id="plugin-check-command-dns"></a>
347
348 The [check_dns](https://www.monitoring-plugins.org/doc/man/check_dns.html) plugin
349 uses the nslookup program to obtain the IP address for the given host/domain query.
350 An optional DNS server to use may be specified. If no DNS server is specified, the
351 default server(s) specified in `/etc/resolv.conf` will be used.
352
353 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
354
355 Name                 | Description
356 ---------------------|--------------
357 dns_lookup           | **Optional.** The hostname or IP to query the DNS for. Defaults to "$host_name$".
358 dns_server           | **Optional.** The DNS server to query. Defaults to the server configured in the OS.
359 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)
360 dns_expected_answers | **Optional.** The answer(s) to look for. A hostname must end with a dot. Multiple answers must be defined as array.
361 dns_authoritative    | **Optional.** Expect the server to send an authoritative answer.
362 dns_accept_cname     | **Optional.** Accept cname responses as a valid result to a query.
363 dns_wtime            | **Optional.** Return warning if elapsed time exceeds value.
364 dns_ctime            | **Optional.** Return critical if elapsed time exceeds value.
365 dns_timeout          | **Optional.** Seconds before connection times out. Defaults to 10.
366
367
368
369 ### file_age <a id="plugin-check-command-file-age"></a>
370
371 The [check_file_age](https://www.monitoring-plugins.org/doc/man/check_file_age.html) plugin
372 checks a file's size and modification time to make sure it's not empty and that it's sufficiently recent.
373
374 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
375
376 Name                   | Description
377 -----------------------|--------------------------------------------------------------------------------------------------------
378 file_age_file          | **Required.** File to monitor.
379 file_age_warning_time  | **Optional.** File must be no more than this many seconds old as warning threshold. Defaults to "240s".
380 file_age_critical_time | **Optional.** File must be no more than this many seconds old as critical threshold. Defaults to "600s".
381 file_age_warning_size  | **Optional.** File must be at least this many bytes long as warning threshold. No default given.
382 file_age_critical_size | **Optional.** File must be at least this many bytes long as critical threshold. Defaults to "0B".
383 file_age_ignoremissing | **Optional.** Return OK if the file does not exist. Defaults to false.
384
385
386 ### flexlm <a id="plugin-check-command-flexlm"></a>
387
388 The [check_flexlm](https://www.monitoring-plugins.org/doc/man/check_flexlm.html) plugin
389 checks available flexlm license managers. Requires the `lmstat` command.
390
391 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
392
393 Name               | Description
394 -------------------|----------------------------------------------------------
395 flexlm_licensefile | **Required.** Name of license file (usually license.dat).
396 flexlm_timeout     | **Optional.** Plugin time out in seconds. Defaults to 15.
397
398
399 ### fping4 <a id="plugin-check-command-fping4"></a>
400
401 The [check_fping](https://www.monitoring-plugins.org/doc/man/check_fping.html) plugin
402 uses the `fping` command to ping the specified host for a fast check. Note that it is
403 necessary to set the `suid` flag on `fping`.
404
405 This CheckCommand expects an IPv4 address.
406
407 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
408
409 Name            | Description
410 ----------------|--------------
411 fping_address   | **Optional.** The host's IPv4 address. Defaults to "$address$".
412 fping_wrta      | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
413 fping_wpl       | **Optional.** The packet loss warning threshold in %. Defaults to 5.
414 fping_crta      | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
415 fping_cpl       | **Optional.** The packet loss critical threshold in %. Defaults to 15.
416 fping_number    | **Optional.** The number of packets to send. Defaults to 5.
417 fping_interval  | **Optional.** The interval between packets in milli-seconds. Defaults to 500.
418 fping_bytes     | **Optional.** The size of ICMP packet.
419 fping_target_timeout | **Optional.** The target timeout in milli-seconds.
420 fping_source_ip | **Optional.** The name or ip address of the source ip.
421 fping_source_interface | **Optional.** The source interface name.
422
423
424 ### fping6 <a id="plugin-check-command-fping6"></a>
425
426 The [check_fping](https://www.monitoring-plugins.org/doc/man/check_fping.html) plugin
427 will use 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 IPv6 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 IPv6 address. Defaults to "$address6$".
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 ### ftp <a id="plugin-check-command-ftp"></a>
450
451 The [check_ftp](https://www.monitoring-plugins.org/doc/man/check_ftp.html) plugin
452 tests FTP connections with the specified host (or unix socket).
453
454 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
455
456 Name               | Description
457 -------------------|--------------
458 ftp_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
459 ftp_port           | **Optional.** The FTP port number.
460 ftp_expect         | **Optional.** String to expect in server response. Multiple strings must be defined as array.
461 ftp_all            | **Optional.** All expect strings need to occur in server response. Defaults to false.
462 ftp_escape_send    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
463 ftp_send           | **Optional.** String to send to the server.
464 ftp_escape_quit    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
465 ftp_quit           | **Optional.** String to send server to initiate a clean close of the connection.
466 ftp_refuse         | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
467 ftp_mismatch       | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
468 ftp_jail           | **Optional.** Hide output from TCP socket.
469 ftp_maxbytes       | **Optional.** Close connection once more than this number of bytes are received.
470 ftp_delay          | **Optional.** Seconds to wait between sending string and polling for response.
471 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.
472 ftp_ssl            | **Optional.** Use SSL for the connection. Defaults to false.
473 ftp_wtime          | **Optional.** Response time to result in warning status (seconds).
474 ftp_ctime          | **Optional.** Response time to result in critical status (seconds).
475 ftp_timeout        | **Optional.** Seconds before connection times out. Defaults to 10.
476 ftp_ipv4           | **Optional.** Use IPv4 connection. Defaults to false.
477 ftp_ipv6           | **Optional.** Use IPv6 connection. Defaults to false.
478
479
480 ### game <a id="plugin-check-command-game"></a>
481
482 The [check_game](https://www.monitoring-plugins.org/doc/man/check_game.html) plugin
483 tests game server connections with the specified host.
484 This plugin uses the 'qstat' command, the popular game server status query tool.
485 If you don't have the package installed, you will need to [download](http://www.activesw.com/people/steve/qstat.html)
486 or install the package `quakestat` before you can use this plugin.
487
488 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
489
490 Name               | Description
491 -------------------|-------------------
492 game_game          | **Required.** Name of the game.
493 game_ipaddress     | **Required.** Ipaddress of the game server to query.
494 game_timeout       | **Optional.** Seconds before connection times out. Defaults to 10.
495 game_port          | **Optional.** Port to connect to.
496 game_gamefield     | **Optional.** Field number in raw qstat output that contains game name.
497 game_mapfield      | **Optional.** Field number in raw qstat output that contains map name.
498 game_pingfield     | **Optional.** Field number in raw qstat output that contains ping time.
499 game_gametime      | **Optional.** Field number in raw qstat output that contains game time.
500 game_hostname      | **Optional.** Name of the host running the game.
501
502
503 ### hostalive <a id="plugin-check-command-hostalive"></a>
504
505 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
506 plugin with host check default values. This variant uses the host's `address` attribute
507 if available and falls back to using the `address6` attribute if the `address` attribute is not set.
508
509 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
510
511 Name            | Description
512 ----------------|--------------
513 ping_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
514 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
515 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
516 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
517 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
518 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
519 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
520
521
522 ### hostalive4 <a id="plugin-check-command-hostalive4"></a>
523
524 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
525 plugin with host check default values. This variant uses the host's `address` attribute.
526
527 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
528
529 Name            | Description
530 ----------------|--------------
531 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
532 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
533 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
534 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
535 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
536 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
537 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
538
539
540 ### hostalive6 <a id="plugin-check-command-hostalive6"></a>
541
542 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
543 plugin with host check default values. This variant uses the host's `address6` attribute.
544
545 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
546
547 Name            | Description
548 ----------------|--------------
549 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
550 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
551 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
552 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
553 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
554 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
555 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
556
557
558 ### hpjd <a id="plugin-check-command-hpjd"></a>
559
560 The [check_hpjd](https://www.monitoring-plugins.org/doc/man/check_hpjd.html) plugin
561 tests the state of an HP printer with a JetDirect card. Net-snmp must be installed
562 on the computer running the plugin.
563
564 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
565
566 Name            | Description
567 ----------------|--------------
568 hpjd_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
569 hpjd_port       | **Optional.** The host's SNMP port. Defaults to 161.
570 hpjd_community  | **Optional.** The SNMP community. Defaults  to "public".
571
572
573 ### http <a id="plugin-check-command-http"></a>
574
575 The [check_http](https://www.monitoring-plugins.org/doc/man/check_http.html) plugin
576 tests the HTTP service on the specified host. It can test normal (http) and secure
577 (https) servers, follow redirects, search for strings and regular expressions,
578 check connection times, and report on certificate expiration times.
579
580 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
581
582 Name                             | Description
583 ---------------------------------|---------------------------------
584 http_address                     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
585 http_vhost                       | **Optional.** The virtual host that should be sent in the "Host" header.
586 http_uri                         | **Optional.** The request URI for GET or POST. Defaults to `/`.
587 http_port                        | **Optional.** The TCP port. Defaults to 80 when not using SSL, 443 otherwise.
588 http_ssl                         | **Optional.** Whether to use SSL. Defaults to false.
589 http_ssl_force_tlsv1             | **Optional.** Whether to force TLSv1.
590 http_ssl_force_tlsv1_1           | **Optional.** Whether to force TLSv1.1.
591 http_ssl_force_tlsv1_2           | **Optional.** Whether to force TLSv1.2.
592 http_ssl_force_sslv2             | **Optional.** Whether to force SSLv2.
593 http_ssl_force_sslv3             | **Optional.** Whether to force SSLv3.
594 http_ssl_force_tlsv1_or_higher   | **Optional.** Whether to force TLSv1 or higher.
595 http_ssl_force_tlsv1_1_or_higher | **Optional.** Whether to force TLSv1.1 or higher.
596 http_ssl_force_tlsv1_2_or_higher | **Optional.** Whether to force TLSv1.2 or higher.
597 http_ssl_force_sslv2_or_higher   | **Optional.** Whether to force SSLv2 or higher.
598 http_ssl_force_sslv3_or_higher   | **Optional.** Whether to force SSLv3 or higher.
599 http_sni                         | **Optional.** Whether to use SNI. Defaults to false.
600 http_auth_pair                   | **Optional.** Add 'username:password' authorization pair.
601 http_proxy_auth_pair             | **Optional.** Add 'username:password' authorization pair for proxy.
602 http_ignore_body                 | **Optional.** Don't download the body, just the headers.
603 http_linespan                    | **Optional.** Allow regex to span newline.
604 http_expect_body_regex           | **Optional.** A regular expression which the body must match against. Incompatible with http_ignore_body.
605 http_expect_body_eregi           | **Optional.** A case-insensitive expression which the body must match against. Incompatible with http_ignore_body.
606 http_invertregex                 | **Optional.** Changes behavior of http_expect_body_regex and http_expect_body_eregi to return CRITICAL if found, OK if not.
607 http_warn_time                   | **Optional.** The warning threshold.
608 http_critical_time               | **Optional.** The critical threshold.
609 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.
610 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"`).
611 http_clientcert                  | **Optional.** Name of file contains the client certificate (PEM format).
612 http_privatekey                  | **Optional.** Name of file contains the private key (PEM format).
613 http_headerstring                | **Optional.** String to expect in the response headers.
614 http_string                      | **Optional.** String to expect in the content.
615 http_post                        | **Optional.** URL encoded http POST data.
616 http_method                      | **Optional.** Set http method (for example: HEAD, OPTIONS, TRACE, PUT, DELETE).
617 http_maxage                      | **Optional.** Warn if document is more than seconds old.
618 http_contenttype                 | **Optional.** Specify Content-Type header when POSTing.
619 http_useragent                   | **Optional.** String to be sent in http header as User Agent.
620 http_header                      | **Optional.** Any other tags to be sent in http header.
621 http_extendedperfdata            | **Optional.** Print additional perfdata. Defaults to false.
622 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)
623 http_pagesize                    | **Optional.** Minimum page size required:Maximum page size required.
624 http_timeout                     | **Optional.** Seconds before connection times out.
625 http_ipv4                        | **Optional.** Use IPv4 connection. Defaults to false.
626 http_ipv6                        | **Optional.** Use IPv6 connection. Defaults to false.
627 http_link                        | **Optional.** Wrap output in HTML link. Defaults to false.
628 http_verbose                     | **Optional.** Show details for command-line debugging. Defaults to false.
629
630
631 ### icmp <a id="plugin-check-command-icmp"></a>
632
633 The [check_icmp](https://www.monitoring-plugins.org/doc/man/check_icmp.html) plugin
634 check_icmp allows for checking multiple hosts at once compared to `check_ping`.
635 The main difference is that check_ping executes the system's ping(1) command and
636 parses its output while `check_icmp` talks ICMP itself. `check_icmp` must be installed with
637 `setuid` root.
638
639 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
640
641 Name            | Description
642 ----------------|--------------
643 icmp_address    | **Optional.** The host's address. This can either be a single address or an array of addresses. Defaults to "$address$".
644 icmp_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
645 icmp_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
646 icmp_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
647 icmp_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
648 icmp_source     | **Optional.** The source IP address to send packets from.
649 icmp_packets    | **Optional.** The number of packets to send. Defaults to 5.
650 icmp_packet_interval | **Optional** The maximum packet interval. Defaults to 80 (milliseconds).
651 icmp_target_interval | **Optional.** The maximum target interval.
652 icmp_hosts_alive | **Optional.** The number of hosts which have to be alive for the check to succeed.
653 icmp_data_bytes | **Optional.** Payload size for each ICMP request. Defaults to 8.
654 icmp_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 10 (seconds).
655 icmp_ttl        | **Optional.** The TTL on outgoing packets.
656
657
658 ### imap <a id="plugin-check-command-imap"></a>
659
660 The [check_imap](https://www.monitoring-plugins.org/doc/man/check_imap.html) plugin
661 tests IMAP connections with the specified host (or unix socket).
662
663 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
664
665 Name                  | Description
666 ----------------------|--------------
667 imap_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
668 imap_port             | **Optional.** The port that should be checked. Defaults to 143.
669 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.
670 imap_send             | **Optional.** String to send to the server.
671 imap_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
672 imap_all              | **Optional.** All expect strings need to occur in server response. Default is any.
673 imap_quit             | **Optional.** String to send server to initiate a clean close of the connection.
674 imap_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
675 imap_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
676 imap_jail             | **Optional.** Hide output from TCP socket.
677 imap_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
678 imap_delay            | **Optional.** Seconds to wait between sending string and polling for response.
679 imap_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
680 imap_ssl              | **Optional.** Use SSL for the connection.
681 imap_warning          | **Optional.** Response time to result in warning status (seconds).
682 imap_critical         | **Optional.** Response time to result in critical status (seconds).
683 imap_timeout          | **Optional.** Seconds before connection times out (default: 10).
684 imap_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
685 imap_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
686
687
688 ### ldap <a id="plugin-check-command-ldap"></a>
689
690 The [check_ldap](https://www.monitoring-plugins.org/doc/man/check_ldap.html) plugin
691 can be used to check LDAP servers.
692
693 The plugin can also be used for monitoring ldaps connections instead of the deprecated `check_ldaps`.
694 This can be ensured by enabling `ldap_starttls` or `ldap_ssl`.
695
696 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
697
698 Name                    | Description
699 ------------------------|--------------
700 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.
701 ldap_port               | **Optional.** Port number. Defaults to 389.
702 ldap_attr               | **Optional.** LDAP attribute to search for (default: "(objectclass=*)")
703 ldap_base               | **Required.** LDAP base (eg. ou=myunit,o=myorg,c=at).
704 ldap_bind               | **Optional.** LDAP bind DN (if required).
705 ldap_pass               | **Optional.** LDAP password (if required).
706 ldap_starttls           | **Optional.** Use STARTSSL mechanism introduced in protocol version 3.
707 ldap_ssl                | **Optional.** Use LDAPS (LDAP v2 SSL method). This also sets the default port to 636.
708 ldap_v2                 | **Optional.** Use LDAP protocol version 2 (enabled by default).
709 ldap_v3                 | **Optional.** Use LDAP protocol version 3 (disabled by default)
710 ldap_warning            | **Optional.** Response time to result in warning status (seconds).
711 ldap_critical           | **Optional.** Response time to result in critical status (seconds).
712 ldap_warning_entries    | **Optional.** Number of found entries to result in warning status.
713 ldap_critical_entries   | **Optional.** Number of found entries to result in critical status.
714 ldap_timeout            | **Optional.** Seconds before connection times out (default: 10).
715 ldap_verbose            | **Optional.** Show details for command-line debugging (disabled by default)
716
717 ### load <a id="plugin-check-command-load"></a>
718
719 The [check_load](https://www.monitoring-plugins.org/doc/man/check_load.html) plugin
720 tests the current system load average.
721
722 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
723
724 Name            | Description
725 ----------------|--------------
726 load_wload1     | **Optional.** The 1-minute warning threshold. Defaults to 5.
727 load_wload5     | **Optional.** The 5-minute warning threshold. Defaults to 4.
728 load_wload15    | **Optional.** The 15-minute warning threshold. Defaults to 3.
729 load_cload1     | **Optional.** The 1-minute critical threshold. Defaults to 10.
730 load_cload5     | **Optional.** The 5-minute critical threshold. Defaults to 6.
731 load_cload15    | **Optional.** The 15-minute critical threshold. Defaults to 4.
732 load_percpu     | **Optional.** Divide the load averages by the number of CPUs (when possible). Defaults to false.
733
734 ### mailq <a id="plugin-check-command-mailq"></a>
735
736 The [check_mailq](https://www.monitoring-plugins.org/doc/man/check_mailq.html) plugin
737 checks the number of messages in the mail queue (supports multiple sendmail queues, qmail).
738
739 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
740
741 Name                    | Description
742 ------------------------|--------------
743 mailq_warning           | **Required.** Min. number of messages in queue to generate warning.
744 mailq_critical          | **Required.** Min. number of messages in queue to generate critical alert ( w < c ).
745 mailq_domain_warning    | **Optional.** Min. number of messages for same domain in queue to generate warning
746 mailq_domain_critical   | **Optional.** Min. number of messages for same domain in queue to generate critical alert ( W < C ).
747 mailq_timeout           | **Optional.** Plugin timeout in seconds (default = 15).
748 mailq_servertype        | **Optional.** [ sendmail \| qmail \| postfix \| exim \| nullmailer ] (default = autodetect).
749 mailq_sudo              | **Optional.** Use sudo to execute the mailq command.
750
751 ### mysql <a id="plugin-check-command-mysql"></a>
752
753 The [check_mysql](https://www.monitoring-plugins.org/doc/man/check_mysql.html) plugin
754 tests connections to a MySQL server.
755
756 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
757
758 Name                    | Description
759 ------------------------|---------------------------------------------------------------
760 mysql_hostname          | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
761 mysql_port              | **Optional.** Port number (default: 3306).
762 mysql_socket            | **Optional.** Use the specified socket (has no effect if `mysql_hostname` is used).
763 mysql_ignore_auth       | **Optional.** Ignore authentication failure and check for mysql connectivity only.
764 mysql_database          | **Optional.** Check database with indicated name.
765 mysql_file              | **Optional.** Read from the specified client options file.
766 mysql_group             | **Optional.** Use a client options group.
767 mysql_username          | **Optional.** Connect using the indicated username.
768 mysql_password          | **Optional.** Use the indicated password to authenticate the connection.
769 mysql_check_slave       | **Optional.** Check if the slave thread is running properly.
770 mysql_warning           | **Optional.** Exit with WARNING status if slave server is more than INTEGER seconds behind master.
771 mysql_critical          | **Optional.** Exit with CRITICAL status if slave server is more then INTEGER seconds behind master.
772 mysql_ssl               | **Optional.** Use ssl encryption.
773 mysql_cacert            | **Optional.** Path to CA signing the cert.
774 mysql_cert              | **Optional.** Path to SSL certificate.
775 mysql_key               | **Optional.** Path to private SSL key.
776 mysql_cadir             | **Optional.** Path to CA directory.
777 mysql_ciphers           | **Optional.** List of valid SSL ciphers.
778
779
780 ### mysql_query <a id="plugin-check-command-mysql-query"></a>
781
782 The [check_mysql_query](https://www.monitoring-plugins.org/doc/man/check_mysql_query.html) plugin
783 checks a query result against threshold levels.
784 The result from the query should be numeric. For extra security, create a user with minimal access.
785
786 **Note**: You must specify `mysql_query_password` with an empty string to force an empty password,
787 overriding any my.cnf settings.
788
789 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
790
791 Name                    | Description
792 ------------------------|---------------------------------------------------------------
793 mysql_query_hostname    | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
794 mysql_query_port        | **Optional.** Port number (default: 3306).
795 mysql_query_database    | **Optional.** Check database with indicated name.
796 mysql_query_file        | **Optional.** Read from the specified client options file.
797 mysql_query_group       | **Optional.** Use a client options group.
798 mysql_query_username    | **Optional.** Connect using the indicated username.
799 mysql_query_password    | **Optional.** Use the indicated password to authenticate the connection.
800 mysql_query_execute     | **Required.** SQL Query to run on the MySQL Server.
801 mysql_query_warning     | **Optional.** Exit with WARNING status if query is outside of the range (format: start:end).
802 mysql_query_critical    | **Optional.** Exit with CRITICAL status if query is outside of the range.
803
804
805 ### negate <a id="plugin-check-command-negate"></a>
806
807 The [negate](https://www.monitoring-plugins.org/doc/man/negate.html) plugin
808 negates the status of a plugin (returns OK for CRITICAL and vice-versa).
809 Additional switches can be used to control which state becomes what.
810
811 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
812
813 Name                  | Description
814 ----------------------|---------------------------------------------------------------
815 negate_timeout        | **Optional.** Seconds before plugin times out (default: 11).
816 negate_timeout_result | **Optional.** Custom result on Negate timeouts, default to UNKNOWN.
817 negate_ok             | **Optional.** OK, WARNING, CRITICAL or UNKNOWN.
818 negate_warning        |               Numeric values are accepted.
819 negate_critical       |               If nothing is specified,
820 negate_unknown        |               permutes OK and CRITICAL.
821 negate_substitute     | **Optional.** Substitute output text as well. Will only substitute text in CAPITALS.
822 negate_command        | **Required.** Command to be negated.
823 negate_arguments      | **Optional.** Arguments for the negated command.
824
825 ### nrpe <a id="plugin-check-command-nrpe"></a>
826
827 The `check_nrpe` plugin can be used to query an [NRPE](https://docs.icinga.com/latest/en/nrpe.html)
828 server or [NSClient++](https://www.nsclient.org). **Note**: This plugin
829 is considered insecure/deprecated.
830
831 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
832
833 Name            | Description
834 ----------------|--------------
835 nrpe_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
836 nrpe_port       | **Optional.** The NRPE port. Defaults to 5666.
837 nrpe_command    | **Optional.** The command that should be executed.
838 nrpe_no_ssl     | **Optional.** Whether to disable SSL or not. Defaults to `false`.
839 nrpe_timeout_unknown | **Optional.** Whether to set timeouts to unknown instead of critical state. Defaults to `false`.
840 nrpe_timeout    | **Optional.** The timeout in seconds.
841 nrpe_arguments  | **Optional.** Arguments that should be passed to the command. Multiple arguments must be defined as array.
842 nrpe_ipv4       | **Optional.** Use IPv4 connection. Defaults to false.
843 nrpe_ipv6       | **Optional.** Use IPv6 connection. Defaults to false.
844 nrpe_version_2  | **Optional.** Use this if you want to connect using NRPE v2 protocol. Defaults to false.
845
846
847 ### nscp <a id="plugin-check-command-nscp"></a>
848
849 The [check_nt](https://www.monitoring-plugins.org/doc/man/check_nt.html) plugin
850 collects data from the [NSClient++](https://www.nsclient.org) service.
851
852 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
853
854 Name            | Description
855 ----------------|--------------
856 nscp_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
857 nscp_port       | **Optional.** The NSClient++ port. Defaults to 12489.
858 nscp_password   | **Optional.** The NSClient++ password.
859 nscp_variable   | **Required.** The variable that should be checked.
860 nscp_params     | **Optional.** Parameters for the query. Multiple parameters must be defined as array.
861 nscp_warn       | **Optional.** The warning threshold.
862 nscp_crit       | **Optional.** The critical threshold.
863 nscp_timeout    | **Optional.** The query timeout in seconds.
864 nscp_showall    | **Optional.** Use with SERVICESTATE to see working services or PROCSTATE for running processes. Defaults to false.
865
866
867 ### ntp_time <a id="plugin-check-command-ntp-time"></a>
868
869 The [check_ntp_time](https://www.monitoring-plugins.org/doc/man/check_ntp_time.html) plugin
870 checks the clock offset between the local host and a remote NTP server.
871
872 **Note**: If you want to monitor an NTP server, please use `ntp_peer`.
873
874 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
875
876 Name            | Description
877 ----------------|--------------
878 ntp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
879 ntp_port        | **Optional.** Port number (default: 123).
880 ntp_quiet       | **Optional.** Returns UNKNOWN instead of CRITICAL if offset cannot be found.
881 ntp_warning     | **Optional.** Offset to result in warning status (seconds).
882 ntp_critical    | **Optional.** Offset to result in critical status (seconds).
883 ntp_timeoffset  | **Optional.** Expected offset of the ntp server relative to local server (seconds).
884 ntp_timeout     | **Optional.** Seconds before connection times out (default: 10).
885 ntp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
886 ntp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
887
888
889 ### ntp_peer <a id="plugin-check-command-ntp-peer"></a>
890
891 The [check_ntp_peer](https://www.monitoring-plugins.org/doc/man/check_ntp_peer.html) plugin
892 checks the health of an NTP server. It supports checking the offset with the sync peer, the
893 jitter and stratum. This plugin will not check the clock offset between the local host and NTP
894  server; please use `ntp_time` for that purpose.
895
896 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
897
898 Name            | Description
899 ----------------|--------------
900 ntp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
901 ntp_port        | **Optional.** The port to use. Default to 123.
902 ntp_quiet       | **Optional.** Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized.
903 ntp_warning     | **Optional.** Offset to result in warning status (seconds).
904 ntp_critical    | **Optional.** Offset to result in critical status (seconds).
905 ntp_wstratum    | **Optional.** Warning threshold for stratum of server's synchronization peer.
906 ntp_cstratum    | **Optional.** Critical threshold for stratum of server's synchronization peer.
907 ntp_wjitter     | **Optional.** Warning threshold for jitter.
908 ntp_cjitter     | **Optional.** Critical threshold for jitter.
909 ntp_wsource     | **Optional.** Warning threshold for number of usable time sources.
910 ntp_csource     | **Optional.** Critical threshold for number of usable time sources.
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 ### passive <a id="plugin-check-command-passive"></a>
917
918 Specialised check command object for passive checks executing the `check_dummy` plugin with appropriate default values.
919
920 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
921
922 Name            | Description
923 ----------------|--------------
924 dummy_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 3.
925 dummy_text      | **Optional.** Plugin output. Defaults to "No Passive Check Result Received.".
926
927 ### pgsql <a id="plugin-check-command-pgsql"></a>
928
929 The [check_pgsql](https://www.monitoring-plugins.org/doc/man/check_pgsql.html) plugin
930 tests a PostgreSQL DBMS to determine whether it is active and accepting queries.
931 If a query is specified using the `pgsql_query` attribute, it will be executed after
932 connecting to the server. The result from the query has to be numeric in order
933 to compare it against the query thresholds if set.
934
935 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
936
937 Name                    | Description
938 ------------------------|---------------------------------------------------------------
939 pgsql_hostname          | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
940 pgsql_port              | **Optional.** Port number (default: 5432).
941 pgsql_database          | **Optional.** Database to check (default: template1).
942 pgsql_username          | **Optional.** Login name of user.
943 pgsql_password          | **Optional.** Password (BIG SECURITY ISSUE).
944 pgsql_options           | **Optional.** Connection parameters (keyword = value), see below.
945 pgsql_warning           | **Optional.** Response time to result in warning status (seconds).
946 pgsql_critical          | **Optional.** Response time to result in critical status (seconds).
947 pgsql_timeout           | **Optional.** Seconds before connection times out (default: 10).
948 pgsql_query             | **Optional.** SQL query to run. Only first column in first row will be read.
949 pgsql_query_warning     | **Optional.** SQL query value to result in warning status (double).
950 pgsql_query_critical    | **Optional.** SQL query value to result in critical status (double).
951
952 ### ping <a id="plugin-check-command-ping"></a>
953
954 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
955 uses the ping command to probe the specified host for packet loss (percentage) and
956 round trip average (milliseconds).
957
958 This command uses the host's `address` attribute if available and falls back to using
959 the `address6` attribute if the `address` attribute is not set.
960
961 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
962
963 Name            | Description
964 ----------------|--------------
965 ping_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
966 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
967 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
968 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
969 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
970 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
971 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
972
973
974 ### ping4 <a id="plugin-check-command-ping4"></a>
975
976 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
977 uses the ping command to probe the specified host for packet loss (percentage) and
978 round trip average (milliseconds).
979
980 This command uses the host's `address` attribute if not explicitly specified using
981 the `ping_address` attribute.
982
983 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
984
985 Name            | Description
986 ----------------|--------------
987 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
988 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
989 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
990 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
991 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
992 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
993 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
994
995 ### ping6 <a id="plugin-check-command-ping6"></a>
996
997 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
998 uses the ping command to probe the specified host for packet loss (percentage) and
999 round trip average (milliseconds).
1000
1001 This command uses the host's `address6` attribute if not explicitly specified using
1002 the `ping_address` attribute.
1003
1004 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1005
1006 Name            | Description
1007 ----------------|--------------
1008 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
1009 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
1010 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
1011 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
1012 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
1013 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
1014 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
1015
1016
1017 ### pop <a id="plugin-check-command-pop"></a>
1018
1019 The [check_pop](https://www.monitoring-plugins.org/doc/man/check_pop.html) plugin
1020 tests POP connections with the specified host (or unix socket).
1021
1022 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1023
1024 Name                 | Description
1025 ---------------------|--------------
1026 pop_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1027 pop_port             | **Optional.** The port that should be checked. Defaults to 110.
1028 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.
1029 pop_send             | **Optional.** String to send to the server.
1030 pop_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1031 pop_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1032 pop_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1033 pop_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1034 pop_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1035 pop_jail             | **Optional.** Hide output from TCP socket.
1036 pop_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1037 pop_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1038 pop_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1039 pop_ssl              | **Optional.** Use SSL for the connection.
1040 pop_warning          | **Optional.** Response time to result in warning status (seconds).
1041 pop_critical         | **Optional.** Response time to result in critical status (seconds).
1042 pop_timeout          | **Optional.** Seconds before connection times out (default: 10).
1043 pop_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1044 pop_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1045
1046
1047 ### procs <a id="plugin-check-command-processes"></a>
1048
1049 The [check_procs](https://www.monitoring-plugins.org/doc/man/check_procs.html) plugin
1050 checks all processes and generates WARNING or CRITICAL states if the specified
1051 metric is outside the required threshold ranges. The metric defaults to number
1052 of processes. Search filters can be applied to limit the processes to check.
1053
1054 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1055
1056 Name                 | Description
1057 ---------------------|--------------
1058 procs_warning        | **Optional.** The process count warning threshold. Defaults to 250.
1059 procs_critical       | **Optional.** The process count critical threshold. Defaults to 400.
1060 procs_metric         | **Optional.** Check thresholds against metric.
1061 procs_timeout        | **Optional.** Seconds before plugin times out.
1062 procs_traditional    | **Optional.** Filter own process the traditional way by PID instead of /proc/pid/exe. Defaults to false.
1063 procs_state          | **Optional.** Only scan for processes that have one or more of the status flags you specify.
1064 procs_ppid           | **Optional.** Only scan for children of the parent process ID indicated.
1065 procs_vsz            | **Optional.** Only scan for processes with VSZ higher than indicated.
1066 procs_rss            | **Optional.** Only scan for processes with RSS higher than indicated.
1067 procs_pcpu           | **Optional.** Only scan for processes with PCPU higher than indicated.
1068 procs_user           | **Optional.** Only scan for processes with user name or ID indicated.
1069 procs_argument       | **Optional.** Only scan for processes with args that contain STRING.
1070 procs_argument_regex | **Optional.** Only scan for processes with args that contain the regex STRING.
1071 procs_command        | **Optional.** Only scan for exact matches of COMMAND (without path).
1072 procs_nokthreads     | **Optional.** Only scan for non kernel threads. Defaults to false.
1073
1074
1075 ### radius <a id="plugin-check-command-radius"></a>
1076
1077 The [check_radius](https://www.monitoring-plugins.org/doc/man/check_radius.html) plugin
1078 checks a RADIUS server to see if it is accepting connections.  The server to test
1079 must be specified in the invocation, as well as a user name and password. A configuration
1080 file may also be present. The format of the configuration file is described in the
1081 radiusclient library sources.  The password option presents a substantial security
1082 issue because the password can possibly be determined by careful watching of the
1083 command line in a process listing. This risk is exacerbated because the plugin will
1084 typically be executed at regular predictable intervals. Please be sure that the
1085 password used does not allow access to sensitive system resources.
1086
1087
1088 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1089
1090 Name               | Description
1091 -------------------|--------------
1092 radius_address     | **Optional.** The radius server's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1093 radius_config_file | **Required.** The radius configuration file.
1094 radius_username    | **Required.** The radius username to test.
1095 radius_password    | **Required.** The radius password to test.
1096 radius_port        | **Optional.** The radius port number (default 1645).
1097 radius_nas_id      | **Optional.** The NAS identifier.
1098 radius_nas_address | **Optional.** The NAS IP address.
1099 radius_expect      | **Optional.** The response string to expect from the server.
1100 radius_retries     | **Optional.** The number of times to retry a failed connection.
1101 radius_timeout     | **Optional.** The number of seconds before connection times out (default: 10).
1102
1103 ### rpc <a id="plugin-check-command-rpc"></a>
1104
1105 The [check_rpc](https://www.monitoring-plugins.org/doc/man/check_rpc.html)
1106 plugin tests if a service is registered and running using `rpcinfo -H host -C rpc_command`.
1107
1108 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1109
1110 Name        | Description
1111 ---         | ---
1112 rpc_address | **Optional.** The rpc host address. Defaults to "$address$ if the host `address` attribute is set, "$address6$" otherwise.
1113 rpc_command | **Required.** The programm name (or number).
1114 rpc_port    | **Optional.** The port that should be checked.
1115 rpc_version | **Optional.** The version you want to check for (one or more).
1116 rpc_udp     | **Optional.** Use UDP test. Defaults to false.
1117 rpc_tcp     | **Optional.** Use TCP test. Defaults to false.
1118 rpc_verbose | **Optional.** Show verbose output. Defaults to false.
1119
1120 ### simap <a id="plugin-check-command-simap"></a>
1121
1122 The [check_simap](https://www.monitoring-plugins.org/doc/man/check_simap.html) plugin
1123 tests SIMAP connections with the specified host (or unix socket).
1124
1125 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1126
1127 Name                   | Description
1128 -----------------------|--------------
1129 simap_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1130 simap_port             | **Optional.** The port that should be checked. Defaults to 993.
1131 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.
1132 simap_send             | **Optional.** String to send to the server.
1133 simap_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1134 simap_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1135 simap_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1136 simap_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1137 simap_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1138 simap_jail             | **Optional.** Hide output from TCP socket.
1139 simap_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1140 simap_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1141 simap_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1142 simap_ssl              | **Optional.** Use SSL for the connection.
1143 simap_warning          | **Optional.** Response time to result in warning status (seconds).
1144 simap_critical         | **Optional.** Response time to result in critical status (seconds).
1145 simap_timeout          | **Optional.** Seconds before connection times out (default: 10).
1146 simap_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1147 simap_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1148
1149 ### smart <a id="plugin-check-command-smart"></a>
1150
1151 The [check_ide_smart](https://www.monitoring-plugins.org/doc/man/check_ide_smart.html) plugin
1152 checks a local hard drive with the (Linux specific) SMART interface. Requires installation of `smartctl`.
1153
1154 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1155
1156 Name            | Description
1157 ----------------|--------------
1158 smart_device    | **Required.** The name of a local hard drive to monitor.
1159
1160
1161 ### smtp <a id="plugin-check-command-smtp"></a>
1162
1163 The [check_smtp](https://www.monitoring-plugins.org/doc/man/check_smtp.html) plugin
1164 will attempt to open an SMTP connection with the host.
1165
1166 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1167
1168 Name                  | Description
1169 ----------------------|--------------
1170 smtp_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1171 smtp_port             | **Optional.** The port that should be checked. Defaults to 25.
1172 smtp_mail_from        | **Optional.** Test a MAIL FROM command with the given email address.
1173 smtp_expect           | **Optional.** String to expect in first line of server response (default: '220').
1174 smtp_command          | **Optional.** SMTP command (may be used repeatedly).
1175 smtp_response         | **Optional.** Expected response to command (may be used repeatedly).
1176 smtp_helo_fqdn        | **Optional.** FQDN used for HELO
1177 smtp_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1178 smtp_starttls         | **Optional.** Use STARTTLS for the connection.
1179 smtp_authtype         | **Optional.** SMTP AUTH type to check (default none, only LOGIN supported).
1180 smtp_authuser         | **Optional.** SMTP AUTH username.
1181 smtp_authpass         | **Optional.** SMTP AUTH password.
1182 smtp_ignore_quit      | **Optional.** Ignore failure when sending QUIT command to server.
1183 smtp_warning          | **Optional.** Response time to result in warning status (seconds).
1184 smtp_critical         | **Optional.** Response time to result in critical status (seconds).
1185 smtp_timeout          | **Optional.** Seconds before connection times out (default: 10).
1186 smtp_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1187 smtp_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1188
1189
1190 ### snmp <a id="plugin-check-command-snmp"></a>
1191
1192 The [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html) plugin
1193 checks the status of remote machines and obtains system information via SNMP.
1194
1195 **Note**: This plugin uses the `snmpget` command included with the NET-SNMP package.
1196
1197 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1198
1199 Name                | Description
1200 --------------------|--------------
1201 snmp_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1202 snmp_oid            | **Required.** The SNMP OID.
1203 snmp_community      | **Optional.** The SNMP community. Defaults to "public".
1204 snmp_port           | **Optional.** The SNMP port. Defaults to "161".
1205 snmp_retries        | **Optional.** Number of retries to be used in the SNMP requests.
1206 snmp_warn           | **Optional.** The warning threshold.
1207 snmp_crit           | **Optional.** The critical threshold.
1208 snmp_string         | **Optional.** Return OK state if the string matches exactly with the output value
1209 snmp_ereg           | **Optional.** Return OK state if extended regular expression REGEX matches with the output value
1210 snmp_eregi          | **Optional.** Return OK state if case-insensitive extended REGEX matches with the output value
1211 snmp_label          | **Optional.** Prefix label for output value
1212 snmp_invert_search  | **Optional.** Invert search result and return CRITICAL state if found
1213 snmp_units          | **Optional.** Units label(s) for output value (e.g., 'sec.').
1214 snmp_version        | **Optional.** Version to use. E.g. 1, 2, 2c or 3.
1215 snmp_miblist        | **Optional.** MIB's to use, comma separated. Defaults to "ALL".
1216 snmp_rate_multiplier | **Optional.** Converts rate per second. For example, set to 60 to convert to per minute.
1217 snmp_rate           | **Optional.** Boolean. Enable rate calculation.
1218 snmp_getnext        | **Optional.** Boolean. Use SNMP GETNEXT. Defaults to false.
1219 snmp_timeout        | **Optional.** The command timeout in seconds. Defaults to 10 seconds.
1220 snmp_offset         | **Optional.** Add/subtract the specified OFFSET to numeric sensor data.
1221 snmp_output_delimiter | **Optional.** Separates output on multiple OID requests.
1222 snmp_perf_oids      | **Optional.** Label performance data with OIDs instead of --label's.
1223
1224 ### snmpv3 <a id="plugin-check-command-snmpv3"></a>
1225
1226 Check command object for the [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html)
1227 plugin, using SNMPv3 authentication and encryption options.
1228
1229 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1230
1231 Name                 | Description
1232 ---------------------|--------------
1233 snmpv3_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1234 snmpv3_getnext       | **Optional.** Use SNMP GETNEXT instead of SNMP GET.
1235 snmpv3_seclevel      | **Optional.** The security level. Defaults to authPriv.
1236 snmpv3_auth_alg      | **Optional.** The authentication algorithm. Defaults to SHA.
1237 snmpv3_user          | **Required.** The username to log in with.
1238 snmpv3_auth_key      | **Required,** The authentication key. Required if `snmpv3_seclevel` is set to `authPriv` otherwise optional.
1239 snmpv3_priv_key      | **Required.** The encryption key.
1240 snmpv3_oid           | **Required.** The SNMP OID.
1241 snmpv3_priv_alg      | **Optional.** The encryption algorithm. Defaults to AES.
1242 snmpv3_warn          | **Optional.** The warning threshold.
1243 snmpv3_crit          | **Optional.** The critical threshold.
1244 snmpv3_string        | **Optional.** Return OK state (for that OID) if STRING is an exact match.
1245 snmpv3_ereg          | **Optional.** Return OK state (for that OID) if extended regular expression REGEX matches.
1246 snmpv3_eregi         | **Optional.** Return OK state (for that OID) if case-insensitive extended REGEX matches.
1247 snmpv3_invert_search | **Optional.** Invert search result and return CRITICAL if found
1248 snmpv3_label         | **Optional.** Prefix label for output value.
1249 snmpv3_units         | **Optional.** Units label(s) for output value (e.g., 'sec.').
1250 snmpv3_rate_multiplier | **Optional.** Converts rate per second. For example, set to 60 to convert to per minute.
1251 snmpv3_rate          | **Optional.** Boolean. Enable rate calculation.
1252 snmpv3_timeout       | **Optional.** The command timeout in seconds. Defaults to 10 seconds.
1253
1254 ### snmp-uptime <a id="plugin-check-command-snmp-uptime"></a>
1255
1256 Check command object for the [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html)
1257 plugin, using the uptime OID by default.
1258
1259 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1260
1261 Name            | Description
1262 ----------------|--------------
1263 snmp_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1264 snmp_oid        | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
1265 snmp_community  | **Optional.** The SNMP community. Defaults to "public".
1266
1267
1268 ### spop <a id="plugin-check-command-spop"></a>
1269
1270 The [check_spop](https://www.monitoring-plugins.org/doc/man/check_spop.html) plugin
1271 tests SPOP connections with the specified host (or unix socket).
1272
1273 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1274
1275 Name                  | Description
1276 ----------------------|--------------
1277 spop_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1278 spop_port             | **Optional.** The port that should be checked. Defaults to 995.
1279 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.
1280 spop_send             | **Optional.** String to send to the server.
1281 spop_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1282 spop_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1283 spop_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1284 spop_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1285 spop_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1286 spop_jail             | **Optional.** Hide output from TCP socket.
1287 spop_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1288 spop_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1289 spop_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1290 spop_ssl              | **Optional.** Use SSL for the connection.
1291 spop_warning          | **Optional.** Response time to result in warning status (seconds).
1292 spop_critical         | **Optional.** Response time to result in critical status (seconds).
1293 spop_timeout          | **Optional.** Seconds before connection times out (default: 10).
1294 spop_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1295 spop_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1296
1297
1298 ### ssh <a id="plugin-check-command-ssh"></a>
1299
1300 The [check_ssh](https://www.monitoring-plugins.org/doc/man/check_ssh.html) plugin
1301 connects to an SSH server at a specified host and port.
1302
1303 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1304
1305 Name            | Description
1306 ----------------|--------------
1307 ssh_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1308 ssh_port        | **Optional.** The port that should be checked. Defaults to 22.
1309 ssh_timeout     | **Optional.** Seconds before connection times out. Defaults to 10.
1310 ssh_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1311 ssh_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1312
1313
1314 ### ssl <a id="plugin-check-command-ssl"></a>
1315
1316 Check command object for the [check_tcp](https://www.monitoring-plugins.org/doc/man/check_tcp.html) plugin,
1317 using ssl-related options.
1318
1319 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1320
1321 Name                          | Description
1322 ------------------------------|--------------
1323 ssl_address                   | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1324 ssl_port                      | **Optional.** The port that should be checked. Defaults to 443.
1325 ssl_timeout                   | **Optional.** Timeout in seconds for the connect and handshake. The plugin default is 10 seconds.
1326 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.
1327 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.
1328 ssl_sni                       | **Optional.** The `server_name` that is send to select the SSL certificate to check. Important if SNI is used.
1329
1330
1331 ### ssmtp <a id="plugin-check-command-ssmtp"></a>
1332
1333 The [check_ssmtp](https://www.monitoring-plugins.org/doc/man/check_ssmtp.html) plugin
1334 tests SSMTP connections with the specified host (or unix socket).
1335
1336 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1337
1338 Name                   | Description
1339 -----------------------|--------------
1340 ssmtp_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1341 ssmtp_port             | **Optional.** The port that should be checked. Defaults to 465.
1342 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.
1343 ssmtp_send             | **Optional.** String to send to the server.
1344 ssmtp_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1345 ssmtp_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1346 ssmtp_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1347 ssmtp_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1348 ssmtp_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1349 ssmtp_jail             | **Optional.** Hide output from TCP socket.
1350 ssmtp_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1351 ssmtp_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1352 ssmtp_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1353 ssmtp_ssl              | **Optional.** Use SSL for the connection.
1354 ssmtp_warning          | **Optional.** Response time to result in warning status (seconds).
1355 ssmtp_critical         | **Optional.** Response time to result in critical status (seconds).
1356 ssmtp_timeout          | **Optional.** Seconds before connection times out (default: 10).
1357 ssmtp_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1358 ssmtp_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1359
1360
1361 ### swap <a id="plugin-check-command-swap"></a>
1362
1363 The [check_swap](https://www.monitoring-plugins.org/doc/man/check_swap.html) plugin
1364 checks the swap space on a local machine.
1365
1366 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1367
1368 Name            | Description
1369 ----------------|--------------
1370 swap_wfree      | **Optional.** The free swap space warning threshold in % (enable `swap_integer` for number values). Defaults to `50%`.
1371 swap_cfree      | **Optional.** The free swap space critical threshold in % (enable `swap_integer` for number values). Defaults to `25%`.
1372 swap_integer    | **Optional.** Specifies whether the thresholds are passed as number or percent value. Defaults to false (percent values).
1373 swap_allswaps   | **Optional.** Conduct comparisons for all swap partitions, one by one. Defaults to false.
1374 swap_noswap     | **Optional.** Resulting state when there is no swap regardless of thresholds. Possible values are "ok", "warning", "critical", "unknown". Defaults to "critical".
1375
1376
1377 ### tcp <a id="plugin-check-command-tcp"></a>
1378
1379 The [check_tcp](https://www.monitoring-plugins.org/doc/man/check_tcp.html) plugin
1380 tests TCP connections with the specified host (or unix socket).
1381
1382 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1383
1384 Name            | Description
1385 ----------------|--------------
1386 tcp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1387 tcp_port        | **Required.** The port that should be checked.
1388 tcp_expect      | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1389 tcp_all         | **Optional.** All expect strings need to occur in server response. Defaults to false.
1390 tcp_escape_send | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
1391 tcp_send        | **Optional.** String to send to the server.
1392 tcp_escape_quit | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
1393 tcp_quit        | **Optional.** String to send server to initiate a clean close of the connection.
1394 tcp_refuse      | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
1395 tcp_mismatch    | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
1396 tcp_jail        | **Optional.** Hide output from TCP socket.
1397 tcp_maxbytes    | **Optional.** Close connection once more than this number of bytes are received.
1398 tcp_delay       | **Optional.** Seconds to wait between sending string and polling for response.
1399 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.
1400 tcp_ssl         | **Optional.** Use SSL for the connection. Defaults to false.
1401 tcp_wtime       | **Optional.** Response time to result in warning status (seconds).
1402 tcp_ctime       | **Optional.** Response time to result in critical status (seconds).
1403 tcp_timeout     | **Optional.** Seconds before connection times out. Defaults to 10.
1404 tcp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1405 tcp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1406
1407
1408 ### udp <a id="plugin-check-command-udp"></a>
1409
1410 The [check_udp](https://www.monitoring-plugins.org/doc/man/check_udp.html) plugin
1411 tests UDP connections with the specified host (or unix socket).
1412
1413 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1414
1415 Name            | Description
1416 ----------------|--------------
1417 udp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1418 udp_port        | **Required.** The port that should be checked.
1419 udp_send        | **Required.** The payload to send in the UDP datagram.
1420 udp_expect      | **Required.** The payload to expect in the response datagram.
1421 udp_quit        | **Optional.** The payload to send to 'close' the session.
1422 udp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1423 udp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1424
1425
1426 ### ups <a id="plugin-check-command-ups"></a>
1427
1428 The [check_ups](https://www.monitoring-plugins.org/doc/man/check_ups.html) plugin
1429 tests the UPS service on the specified host. [Network UPS Tools](http://www.networkupstools.org)
1430  must be running for this plugin to work.
1431
1432 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1433
1434 Name            | Description
1435 ----------------|--------------
1436 ups_address     | **Required.** The address of the host running upsd. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1437 ups_name        | **Required.** The UPS name. Defaults to `ups`.
1438 ups_port        | **Optional.** The port to which to connect. Defaults to 3493.
1439 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`.
1440 ups_warning     | **Optional.** The warning threshold for the selected variable.
1441 ups_critical    | **Optional.** The critical threshold for the selected variable.
1442 ups_celsius     | **Optional.** Display the temperature in degrees Celsius instead of Fahrenheit. Defaults to `false`.
1443 ups_timeout     | **Optional.** The number of seconds before the connection times out. Defaults to 10.
1444
1445
1446 ### users <a id="plugin-check-command-users"></a>
1447
1448 The [check_users](https://www.monitoring-plugins.org/doc/man/check_users.html) plugin
1449 checks the number of users currently logged in on the local system and generates an
1450 error if the number exceeds the thresholds specified.
1451
1452 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1453
1454 Name            | Description
1455 ----------------|--------------
1456 users_wgreater  | **Optional.** The user count warning threshold. Defaults to 20.
1457 users_cgreater  | **Optional.** The user count critical threshold. Defaults to 50.
1458
1459
1460
1461 ## Windows Plugins for Icinga 2 <a id="windows-plugins"></a>
1462
1463 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.
1464
1465 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:
1466
1467         include <windows-plugins>
1468
1469 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.
1470
1471
1472 ### Threshold syntax <a id="windows-plugins-thresholds"></a>
1473
1474 So not specified differently the thresholds for the plugins all follow the same pattern
1475
1476 Threshold    | Meaning
1477 :------------|:----------
1478 "29"         | The threshold is 29.
1479 "!29"        | The threshold is 29, but the negative of the result is returned.
1480 "[10-40]"    | The threshold is a range from (including) 10 to 40, a value inside means the threshold has been exceeded.
1481 "![10-40]"   | Same as above, but the result is inverted.
1482
1483
1484 ### disk-windows <a id="windows-plugins-disk-windows"></a>
1485
1486 Check command object for the `check_disk.exe` plugin.
1487 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.).
1488 The data collection is instant and free disk space (default, see `disk_win_show_used`) is used for threshold computation.
1489
1490 > **Note**
1491 >
1492 > Percentage based thresholds can be used by adding a '%' to the threshold
1493 > value.
1494
1495 Custom attributes:
1496
1497 Name                  | Description
1498 :---------------------|:------------
1499 disk\_win\_warn       | **Optional**. The warning threshold.
1500 disk\_win\_crit       | **Optional**. The critical threshold.
1501 disk\_win\_path       | **Optional**. Check only these paths, default checks all.
1502 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.
1503 disk\_win\_exclude    | **Optional**. Exclude these drives from check.
1504 disk\_win\_show\_used | **Optional**. Use used instead of free space.
1505
1506 ### load-windows <a id="windows-plugins-load-windows"></a>
1507
1508 Check command object for the `check_load.exe` plugin.
1509 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).
1510
1511 Custom attributes:
1512
1513 Name            | Description
1514 :---------------|:------------
1515 load\_win\_warn | **Optional**. The warning threshold.
1516 load\_win\_crit | **Optional**. The critical threshold.
1517
1518
1519 ### memory-windows <a id="windows-plugins-memory-windows"></a>
1520
1521 Check command object for the `check_memory.exe` plugin.
1522 The memory collection is instant and free memory is used for threshold computation.
1523
1524 > **Note**
1525 >
1526 > Percentage based thresholds can be used by adding a '%' to the threshold
1527 > value. Keep in mind that memory\_win\_unit is applied before the
1528 > value is calculated.
1529
1530 Custom attributes:
1531
1532 Name              | Description
1533 :-----------------|:------------
1534 memory\_win\_warn | **Optional**. The warning threshold.
1535 memory\_win\_crit | **Optional**. The critical threshold.
1536 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.
1537
1538
1539 ### network-windows <a id="windows-plugins-network-windows"></a>
1540
1541 Check command object for the `check_network.exe` plugin.
1542 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).
1543
1544 Custom attributes:
1545
1546 Name                | Description
1547 :-------------------|:------------
1548 network\_win\_warn  | **Optional**. The warning threshold.
1549 network\_win\_crit  | **Optional**. The critical threshold.
1550 network\_no\_isatap | **Optional**. Do not print ISATAP interfaces.
1551
1552
1553 ### perfmon-windows <a id="windows-plugins-perfmon-windows"></a>
1554
1555 Check command object for the `check_perfmon.exe` plugin.
1556 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`.
1557
1558 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"`
1559
1560 Custom attributes:
1561
1562 Name                  | Description
1563 :---------------------|:------------
1564 perfmon\_win\_warn    | **Optional**. The warning threshold.
1565 perfmon\_win\_crit    | **Optional**. The critical threshold.
1566 perfmon\_win\_counter | **Required**. The Performance Counter to use. Ex. `\Processor(_Total)\% Idle Time`.
1567 perfmon\_win\_wait    | **Optional**. Time in milliseconds to wait between data collection (default: 1000).
1568 perfmon\_win\_type    | **Optional**. Format in which to expect performance values. Possible are: long, int64 and double (default).
1569 perfmon\_win\_syntax  | **Optional**. Use this in the performance output instead of `perfmon\_win\_counter`. Exists for graphics compatibility reasons.
1570
1571
1572 ### ping-windows <a id="windows-plugins-ping-windows"></a>
1573
1574 Check command object for the `check_ping.exe` plugin.
1575 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.
1576
1577 Custom attributes:
1578
1579 Name               | Description
1580 :------------------|:------------
1581 ping\_win\_warn    | **Optional**. The warning threshold. RTA and package loss separated by comma.
1582 ping\_win\_crit    | **Optional**. The critical threshold. RTA and package loss separated by comma.
1583 ping\_win\_address | **Required**. An IPv4 or IPv6 address.
1584 ping\_win\_packets | **Optional**. Number of packages to send. Default: 5.
1585 ping\_win\_timeout | **Optional**. The timeout in milliseconds. Default: 1000
1586
1587
1588 ### procs-windows <a id="windows-plugins-procs-windows"></a>
1589
1590 Check command object for `check_procs.exe` plugin.
1591 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.
1592
1593 Custom attributes:
1594
1595 Name             | Description
1596 :----------------|:------------
1597 procs\_win\_warn | **Optional**. The warning threshold.
1598 procs\_win\_crit | **Optional**. The critical threshold.
1599 procs\_win\_user | **Optional**. Count this users processes.
1600
1601
1602 ### service-windows <a id="windows-plugins-service-windows"></a>
1603
1604 Check command object for `check_service.exe` plugin.
1605 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.
1606
1607 Custom attributes:
1608
1609 Name                      | Description
1610 :-------------------------|:------------
1611 service\_win\_warn        | **Optional**. Warn when service is not running.
1612 service\_win\_description | **Optional**. If this is set, `service\_win\_service` looks at the service description.
1613 service\_win\_service     | **Required**. Name of the service to check.
1614
1615
1616 ### swap-windows <a id="windows-plugins-swap-windows"></a>
1617
1618 Check command object for `check_swap.exe` plugin.
1619 The data collection is instant.
1620
1621 Custom attributes:
1622
1623 Name            | Description
1624 :---------------|:------------
1625 swap\_win\_warn | **Optional**. The warning threshold.
1626 swap\_win\_crit | **Optional**. The critical threshold.
1627 swap\_win\_unit | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "mb" (megabyte).
1628
1629
1630 ### update-windows <a id="windows-plugins-update-windows"></a>
1631
1632 Check command object for `check_update.exe` plugin.
1633 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.
1634
1635 > **Note**
1636 >
1637 > The Network Services Account which runs Icinga 2 by default does not have the required
1638 > permissions to run this check.
1639
1640 Custom attributes:
1641
1642 Name                | Description
1643 :-------------------|:------------
1644 update\_win\_warn   | **Optional**. If set, returns warning when important updates are available.
1645 update\_win\_crit   | **Optional**. If set, return critical when important updates that require a reboot are available.
1646 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.
1647
1648
1649 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.  
1650 It can be enabled/disabled for example by setting them to "true" or "false", "1" or "0" would also work.  
1651 Thresholds will always be "1".
1652
1653 > **Note**
1654 >
1655 > If they are enabled, performance data will be shown in the web interface.  
1656 > If run without the optional parameters, the plugin will output critical if any important updates are available.  
1657
1658
1659 ### uptime-windows <a id="windows-plugins-uptime-windows"></a>
1660
1661 Check command object for `check_uptime.exe` plugin.
1662 Uses GetTickCount64 to get the uptime, so boot time is not included.
1663
1664 Custom attributes:
1665
1666 Name              | Description
1667 :-----------------|:------------
1668 uptime\_win\_warn | **Optional**. The warning threshold.
1669 uptime\_win\_crit | **Optional**. The critical threshold.
1670 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).
1671
1672
1673 ### users-windows <a id="windows-plugins-users-windows"></a>
1674
1675 Check command object for `check_users.exe` plugin.
1676
1677 Custom attributes:
1678
1679 Name             | Description
1680 :----------------|:------------
1681 users\_win\_warn | **Optional**. The warning threshold.
1682 users\_win\_crit | **Optional**. The critical threshold.
1683
1684
1685 ## Plugin Check Commands for NSClient++ <a id="nscp-plugin-check-commands"></a>
1686
1687 There are two methods available for querying NSClient++:
1688
1689 * Query the [HTTP API](10-icinga-template-library.md#nscp-check-api) locally or remotely (requires a running NSClient++ service)
1690 * Run a [local CLI check](10-icinga-template-library.md#nscp-check-local) (does not require NSClient++ as a service)
1691
1692 Both methods have their advantages and disadvantages. One thing to
1693 note: If you rely on performance counter delta calculations such as
1694 CPU utilization, please use the HTTP API instead of the CLI sample call.
1695
1696 ### nscp_api <a id="nscp-check-api"></a>
1697
1698 `check_nscp_api` is part of the Icinga 2 plugins. This plugin is available for
1699 both, Windows and Linux/Unix.
1700
1701 Verify that the ITL CheckCommand is included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1702
1703     vim /etc/icinga2/icinga2.conf
1704
1705     include <plugins>
1706
1707 `check_nscp_api` runs queries against the NSClient++ API. Therefore NSClient++ needs to have
1708 the `webserver` module enabled, configured and loaded.
1709
1710 You can install the webserver using the following CLI commands:
1711
1712     ./nscp.exe web install
1713     ./nscp.exe web password — –set icinga
1714
1715 Now you can define specific [queries](https://docs.nsclient.org/reference/check/CheckHelpers.html#queries)
1716 and integrate them into Icinga 2.
1717
1718 The check plugin `check_nscp_api` can be integrated with the `nscp_api` CheckCommand object:
1719
1720 Custom attributes:
1721
1722 Name                   | Description
1723 :----------------------|:----------------------
1724 nscp\_api\_host       | **Required**. NSCP API host address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1725 nscp\_api\_port       | **Optional**. NSCP API port. Defaults to `8443`.
1726 nscp\_api\_password   | **Required**. NSCP API password. Please check the NSCP documentation for setup details.
1727 nscp\_api\_query      | **Required**. NSCP API query endpoint. Refer to the NSCP documentation for possible values.
1728 nscp\_api\_arguments  | **Optional**. NSCP API arguments dictionary either as single strings or key-value pairs using `=`. Refer to the NSCP documentation.
1729
1730 `nscp_api_arguments` can be used to pass required thresholds to the executed check. The example below
1731 checks the CPU utilization and specifies warning and critical thresholds.
1732
1733 ```
1734 check_nscp_api --host 10.0.10.148 --password icinga --query check_cpu --arguments show-all warning='load>40' critical='load>30'
1735 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
1736 ```
1737
1738
1739 ### nscp-local <a id="nscp-check-local"></a>
1740
1741 Icinga 2 can use the `nscp client` command to run arbitrary NSClient++ checks locally on the client.
1742
1743 You can enable these check commands by adding the following the include directive in your
1744 [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1745
1746     include <nscp>
1747
1748 You can also optionally specify an alternative installation directory for NSClient++ by adding
1749 the NscpPath constant in your [constants.conf](04-configuring-icinga-2.md#constants-conf) configuration
1750 file:
1751
1752     const NscpPath = "C:\\Program Files (x86)\\NSClient++"
1753
1754 By default Icinga 2 uses the Microsoft Installer API to determine where NSClient++ is installed. It should
1755 not be necessary to manually set this constant.
1756
1757 Note that it is not necessary to run NSClient++ as a Windows service for these commands to work.
1758
1759 The check command object for NSClient++ is available as `nscp-local`.
1760
1761 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1762
1763 Name            | Description
1764 ----------------|--------------
1765 nscp_log_level  | **Optional.** The log level. Defaults to "critical".
1766 nscp_load_all   | **Optional.** Whether to load all modules. Defaults to false.
1767 nscp_modules    | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckSystem" ]`.
1768 nscp_boot       | **Optional.** Whether to use the --boot option. Defaults to true.
1769 nscp_query      | **Required.** The NSClient++ query. Try `nscp client -q x` for a list.
1770 nscp_arguments  | **Optional.** An array of query arguments.
1771 nscp_showall    | **Optional.** Shows more details in plugin output, default to false.
1772
1773 ### nscp-local-cpu <a id="nscp-check-local-cpu"></a>
1774
1775 Check command object for the `check_cpu` NSClient++ plugin.
1776
1777 Name                | Description
1778 --------------------|------------------
1779 nscp_cpu_time       | **Optional.** Calculate average usage for the given time intervals. Value has to be an array, default to [ "1m", "5m", "15m" ].
1780 nscp_cpu_warning    | **Optional.** Threshold for WARNING state in percent, default to 80.
1781 nscp_cpu_critical   | **Optional.** Threshold for CRITICAL state in percent, default to 90.
1782 nscp_cpu_arguments  | **Optional.** Additional arguments.
1783 nscp_cpu_showall    | **Optional.** Shows more details in plugin output, default to false.
1784
1785 ### nscp-local-memory <a id="nscp-check-local-memory"></a>
1786
1787 Check command object for the `check_memory` NSClient++ plugin.
1788
1789 Name                  | Description
1790 ----------------------|------------------
1791 nscp_memory_committed | **Optional.** Check for committed memory, default to false.
1792 nscp_memory_physical  | **Optional.** Check for physical memory, default to true.
1793 nscp_memory_free      | **Optional.** Switch between checking free (true) or used memory (false), default to false.
1794 nscp_memory_warning   | **Optional.** Threshold for WARNING state in percent or absolute (use MB, GB, ...), default to 80 (free=false) or 20 (free=true).
1795 nscp_memory_critical  | **Optional.** Threshold for CRITICAL state in percent or absolute (use MB, GB, ...), default to 90 (free=false) or 10 (free=true).
1796 nscp_memory_arguments | **Optional.** Additional arguments.
1797 nscp_memory_showall   | **Optional.** Shows more details in plugin output, default to false.
1798
1799 ### nscp-local-os-version <a id="nscp-check-local-os-version"></a>
1800
1801 Check command object for the `check_os_version` NSClient++ plugin.
1802
1803 This command has the same custom attributes like the `nscp-local` check command.
1804
1805 ### nscp-local-pagefile <a id="nscp-check-local-pagefile"></a>
1806
1807 Check command object for the `check_pagefile` NSClient++ plugin.
1808
1809 This command has the same custom attributes like the `nscp-local` check command.
1810
1811 ### nscp-local-process <a id="nscp-check-local-process"></a>
1812
1813 Check command object for the `check_process` NSClient++ plugin.
1814
1815 This command has the same custom attributes like the `nscp-local` check command.
1816
1817 ### nscp-local-service <a id="nscp-check-local-service"></a>
1818
1819 Check command object for the `check_service` NSClient++ plugin.
1820
1821 Name                   | Description
1822 -----------------------|------------------
1823 nscp_service_name      | **Required.** Name of service to check.
1824 nscp_service_type      | **Optional.** Type to check, default to state.
1825 nscp_service_ok        | **Optional.** State for return an OK, i.e. for type=state running, stopped, ...
1826 nscp_service_otype     | **Optional.** Dedicate type for nscp_service_ok, default to nscp_service_state.
1827 nscp_service_warning   | **Optional.** State for return an WARNING.
1828 nscp_service_wtype     | **Optional.** Dedicate type for nscp_service_warning, default to nscp_service_state.
1829 nscp_service_critical  | **Optional.** State for return an CRITICAL.
1830 nscp_service_ctype     | **Optional.** Dedicate type for nscp_service_critical, default to nscp_service_state.
1831 nscp_service_arguments | **Optional.** Additional arguments.
1832 nscp_service_showall   | **Optional.** Shows more details in plugin output, default to true.
1833
1834 ### nscp-local-uptime <a id="nscp-check-local-uptime"></a>
1835
1836 Check command object for the `check_uptime` NSClient++ plugin.
1837
1838 This command has the same custom attributes like the `nscp-local` check command.
1839
1840 ### nscp-local-version <a id="nscp-check-local-version"></a>
1841
1842 Check command object for the `check_version` NSClient++ plugin.
1843
1844 This command has the same custom attributes like the `nscp-local` check command.
1845 In addition to that the default value for `nscp_modules` is set to `[ "CheckHelpers" ]`.
1846
1847 ### nscp-local-disk <a id="nscp-check-local-disk"></a>
1848
1849 Check command object for the `check_drivesize` NSClient++ plugin.
1850
1851 Name                   | Description
1852 -----------------------|------------------
1853 nscp_disk_drive        | **Optional.** Drive character, default to all drives.
1854 nscp_disk_free         | **Optional.** Switch between checking free space (free=true) or used space (free=false), default to false.
1855 nscp_disk_warning      | **Optional.** Threshold for WARNING in percent or absolute (use MB, GB, ...), default to 80 (used) or 20 percent (free).
1856 nscp_disk_critical     | **Optional.** Threshold for CRITICAL in percent or absolute (use MB, GB, ...), default to 90 (used) or 10 percent (free).
1857 nscp_disk_arguments    | **Optional.** Additional arguments.
1858 nscp_disk_showall      | **Optional.** Shows more details in plugin output, default to true.
1859 nscp_modules           | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckDisk" ]`.
1860
1861 ### nscp-local-counter <a id="nscp-check-local-counter"></a>
1862
1863 Check command object for the `check_pdh` NSClient++ plugin.
1864
1865 Name                   | Description
1866 -----------------------|------------------
1867 nscp_counter_name      | **Required.** Performance counter name.
1868 nscp_counter_warning   | **Optional.** WARNING Threshold.
1869 nscp_counter_critical  | **Optional.** CRITICAL Threshold.
1870 nscp_counter_arguments | **Optional.** Additional arguments.
1871 nscp_counter_showall   | **Optional.** Shows more details in plugin output, default to false.
1872 nscp_counter_perfsyntax | **Optional.** Apply performance data label, e.g. `Total Processor Time` to avoid special character problems. Defaults to `nscp_counter_name`.
1873
1874
1875
1876 ## Plugin Check Commands for Manubulon SNMP <a id="snmp-manubulon-plugin-check-commands"></a>
1877
1878 The `SNMP Manubulon Plugin Check Commands` provide configuration for plugin check
1879 commands provided by the [SNMP Manubulon project](http://nagios.manubulon.com/index_snmp.html).
1880
1881 **Note:** Some plugin parameters are only available in Debian packages or in a
1882 [forked repository](https://github.com/dnsmichi/manubulon-snmp) with patches applied.
1883
1884 The SNMP manubulon plugin check commands assume that the global constant named `ManubulonPluginDir`
1885 is set to the path where the Manubublon SNMP plugins are installed.
1886
1887 You can enable these plugin check commands by adding the following the include directive in your
1888 [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1889
1890     include <manubulon>
1891
1892 ### Checks by Host Type
1893
1894 **N/A**      : Not available for this type.
1895
1896 **SNMP**     : Available for simple SNMP query.
1897
1898 **??**       : Untested.
1899
1900 **Specific** : Script name for platform specific checks.
1901
1902
1903   Host type               | Interface  | storage  | load/cpu  | mem | process  | env | specific
1904   ------------------------|------------|----------|-----------|-----|----------|-----|-------------------------
1905   Linux                   |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  |
1906   Windows                 |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  | check_snmp_win.pl
1907   Cisco router/switch     |   Yes      |   N/A    |   Yes     | Yes |   N/A    | Yes |
1908   HP router/switch        |   Yes      |   N/A    |   Yes     | Yes |   N/A    | No  |
1909   Bluecoat proxy          |   Yes      |   SNMP   |   Yes     | SNMP|   No     | Yes |
1910   CheckPoint on SPLAT     |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  | check_snmp_cpfw.pl
1911   CheckPoint on Nokia IP  |   Yes      |   Yes    |   Yes     | No  |   ??     | No  | check_snmp_vrrp.pl
1912   Boostedge               |   Yes      |   Yes    |   Yes     | Yes |   ??     | No  | check_snmp_boostedge.pl
1913   AS400                   |   Yes      |   Yes    |   Yes     | Yes |   No     | No  |
1914   NetsecureOne Netbox     |   Yes      |   Yes    |   Yes     | ??  |   Yes    | No  |
1915   Radware Linkproof       |   Yes      |   N/A    |   SNMP    | SNMP|   No     | No  | check_snmp_linkproof_nhr <br> check_snmp_vrrp.pl
1916   IronPort                |   Yes      |   SNMP   |   SNMP    | SNMP|   No     | Yes |
1917   Cisco CSS               |   Yes      |   ??     |   Yes     | Yes |   No     | ??  | check_snmp_css.pl
1918
1919
1920 ### snmp-env <a id="plugin-check-command-snmp-env"></a>
1921
1922 Check command object for the [check_snmp_env.pl](http://nagios.manubulon.com/snmp_env.html) plugin.
1923
1924 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1925
1926
1927 Name                    | Description
1928 ------------------------|--------------
1929 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1930 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
1931 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
1932 snmp_port               | **Optional.** The SNMP port connection.
1933 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
1934 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
1935 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
1936 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
1937 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
1938 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
1939 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
1940 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
1941 snmp_env_type           | **Optional.** Environment Type [cisco|nokia|bc|iron|foundry|linux]. Defaults to "cisco".
1942 snmp_env_fan            | **Optional.** Minimum fan rpm value (only needed for 'iron' & 'linux')
1943 snmp_env_celsius        | **Optional.** Maximum temp in degrees celsius (only needed for 'iron' & 'linux')
1944 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
1945 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
1946
1947 ### snmp-load <a id="plugin-check-command-snmp-load"></a>
1948
1949 Check command object for the [check_snmp_load.pl](http://nagios.manubulon.com/snmp_load.html) plugin.
1950
1951 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1952
1953
1954 Name                    | Description
1955 ------------------------|--------------
1956 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1957 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
1958 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
1959 snmp_port               | **Optional.** The SNMP port connection.
1960 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
1961 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
1962 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
1963 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
1964 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
1965 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
1966 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
1967 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
1968 snmp_warn               | **Optional.** The warning threshold. Change the `snmp_load_type` var to "netsl" for using 3 values.
1969 snmp_crit               | **Optional.** The critical threshold. Change the `snmp_load_type` var to "netsl" for using 3 values.
1970 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.
1971 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
1972 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
1973
1974 ### snmp-memory <a id="plugin-check-command-snmp-memory"></a>
1975
1976 Check command object for the [check_snmp_mem.pl](http://nagios.manubulon.com/snmp_mem.html) plugin.
1977
1978 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1979
1980 Name                    | Description
1981 ------------------------|--------------
1982 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1983 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
1984 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
1985 snmp_port               | **Optional.** The SNMP port connection.
1986 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
1987 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
1988 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
1989 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
1990 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
1991 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
1992 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
1993 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
1994 snmp_warn               | **Optional.** The warning threshold.
1995 snmp_crit               | **Optional.** The critical threshold.
1996 snmp_is_cisco           | **Optional.** Change OIDs for Cisco switches. Defaults to false.
1997 snmp_is_hp              | **Optional.** Change OIDs for HP/Procurve switches. Defaults to false.
1998 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
1999 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2000
2001 ### snmp-storage <a id="plugin-check-command-snmp-storage"></a>
2002
2003 Check command object for the [check_snmp_storage.pl](http://nagios.manubulon.com/snmp_storage.html) plugin.
2004
2005 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2006
2007 Name                    | Description
2008 ------------------------|--------------
2009 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2010 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2011 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2012 snmp_port               | **Optional.** The SNMP port connection.
2013 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2014 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2015 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2016 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2017 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2018 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2019 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2020 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2021 snmp_warn               | **Optional.** The warning threshold.
2022 snmp_crit               | **Optional.** The critical threshold.
2023 snmp_storage_name       | **Optional.** Storage name. Default to regex "^/$$". More options available in the [snmp storage](http://nagios.manubulon.com/snmp_storage.html) documentation.
2024 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2025 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2026 snmp_storage_olength    | **Optional.** Max-size of the SNMP message, usefull in case of Too Long responses.
2027
2028 ### snmp-interface <a id="plugin-check-command-snmp-interface"></a>
2029
2030 Check command object for the [check_snmp_int.pl](http://nagios.manubulon.com/snmp_int.html) plugin.
2031
2032 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2033
2034 Name                        | Description
2035 ----------------------------|--------------
2036 snmp_address                | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2037 snmp_nocrypt                | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2038 snmp_community              | **Optional.** The SNMP community. Defaults to "public".
2039 snmp_port                   | **Optional.** The SNMP port connection.
2040 snmp_v2                     | **Optional.** SNMP version to 2c. Defaults to false.
2041 snmp_v3                     | **Optional.** SNMP version to 3. Defaults to false.
2042 snmp_login                  | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2043 snmp_password               | **Required.** SNMP version 3 password. No value defined as default.
2044 snmp_v3_use_privpass        | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2045 snmp_v3_use_authprotocol    | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2046 snmp_authprotocol           | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2047 snmp_privpass               | **Required.** SNMP version 3 priv password. No value defined as default.
2048 snmp_warn                   | **Optional.** The warning threshold.
2049 snmp_crit                   | **Optional.** The critical threshold.
2050 snmp_interface              | **Optional.** Network interface name. Default to regex "eth0".
2051 snmp_interface_inverse      | **Optional.** Inverse Interface check, down is ok. Defaults to false as it is missing.
2052 snmp_interface_perf         | **Optional.** Check the input/output bandwidth of the interface. Defaults to true.
2053 snmp_interface_label        | **Optional.** Add label before speed in output: in=, out=, errors-out=, etc.
2054 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.
2055 snmp_interface_percent      | **Optional.** Output performance data in % of max speed. Defaults to false.
2056 snmp_interface_kbits        | **Optional.** Make the warning and critical levels in KBits/s. Defaults to true.
2057 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.
2058 snmp_interface_64bit        | **Optional.** Use 64 bits counters instead of the standard counters when checking bandwidth & performance data for interface >= 1Gbps. Defaults to false.
2059 snmp_interface_errors       | **Optional.** Add error & discard to Perfparse output. Defaults to true.
2060 snmp_interface_noregexp     | **Optional.** Do not use regexp to match interface name in description OID. Defaults to false.
2061 snmp_interface_delta        | **Optional.** Delta time of perfcheck. Defaults to "300" (5 min).
2062 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.
2063 snmp_interface_ifname       | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifName when looking up the interface's name.
2064 snmp_interface_ifalias      | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifAlias when looking up the interface's name.
2065 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`.
2066 snmp_perf                   | **Optional.** Enable perfdata values. Defaults to true.
2067 snmp_timeout                | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2068
2069 ### snmp-process <a id="plugin-check-command-snmp-process"></a>
2070
2071 Check command object for the [check_snmp_process.pl](http://nagios.manubulon.com/snmp_process.html) plugin.
2072
2073 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2074
2075 Name                       | Description
2076 ---------------------------|--------------
2077 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2078 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2079 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2080 snmp_port                  | **Optional.** The SNMP port connection.
2081 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2082 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2083 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2084 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2085 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2086 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2087 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2088 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default..
2089 snmp_warn                  | **Optional.** The warning threshold.
2090 snmp_crit                  | **Optional.** The critical threshold.
2091 snmp_process_name          | **Optional.** Name of the process (regexp). No trailing slash!. Defaults to ".*".
2092 snmp_perf                  | **Optional.** Enable perfdata values. Defaults to true.
2093 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2094 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.
2095 snmp_process_mem_usage     | **Optional.** Define to check memory usage for the process. Defaults to false.
2096 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".
2097 snmp_process_cpu_usage     | **Optional.** Define to check CPU usage for the process. Defaults to false.
2098 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".
2099
2100 ### snmp-service <a id="plugin-check-command-snmp-service"></a>
2101
2102 Check command object for the [check_snmp_win.pl](http://nagios.manubulon.com/snmp_windows.html) plugin.
2103
2104 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2105
2106 Name                       | Description
2107 ---------------------------|--------------
2108 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2109 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2110 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2111 snmp_port                  | **Optional.** The SNMP port connection.
2112 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2113 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2114 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2115 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2116 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2117 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2118 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2119 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default.
2120 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2121 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 ".*".
2122 snmp_service_count         | **Optional.** Compare matching services with a specified number instead of the number of names provided.
2123 snmp_service_showall       | **Optional.** Show all services in the output, instead of only the non-active ones. Defaults to false.
2124 snmp_service_noregexp      | **Optional.** Do not use regexp to match NAME in service description. Defaults to false.
2125
2126
2127 ## Contributed Plugin Check Commands <a id="plugin-contrib"></a>
2128
2129 The contributed Plugin Check Commands provides various additional command definitions
2130 contributed by community members.
2131
2132 These check commands assume that the global constant named `PluginContribDir`
2133 is set to the path where the user installs custom plugins and can be enabled by
2134 uncommenting the corresponding line in [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf):
2135
2136 ```
2137 vim /etc/icinga2/icinga2.conf
2138
2139 include <plugin-contrib>
2140 ```
2141
2142 This is enabled by default since Icinga 2 2.5.0.
2143
2144 ### Databases <a id="plugin-contrib-databases"></a>
2145
2146 This category contains plugins for various database servers.
2147
2148 #### db2_health <a id="plugin-contrib-command-db2_health"></a>
2149
2150 The [check_db2_health](https://labs.consol.de/nagios/check_db2_health/) plugin
2151 uses the `DBD::DB2` Perl library to monitor a [DB2](https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/)
2152 database.
2153
2154 The Git repository is located on [GitHub](https://github.com/lausser/check_db2_health).
2155
2156 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2157
2158 Name                             | Description
2159 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2160 db2_health_database           | **Required.** The name of the database. (If it was catalogued locally, this parameter is the only you need. Otherwise you must specify database, hostname and port)
2161 db2_health_username           | **Optional.** The username for the database connection.
2162 db2_health_password           | **Optional.** The password for the database connection.
2163 db2_health_port               | **Optional.** The port where DB2 is listening.
2164 db2_health_warning            | **Optional.** The warning threshold depending on the mode.
2165 db2_health_critical           | **Optional.** The critical threshold depending on the mode.
2166 db2_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-usage" or "sql".
2167 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).
2168 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.
2169 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.
2170 db2_health_regexp             | **Optional.** If set to true, "db2_health_name" will be interpreted as a regular expression. Defaults to false.
2171 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".
2172 db2_health_maxinactivity      | **Optional.** Used for the maximum amount of time a certain event has not happened.
2173 db2_health_mitigation         | **Optional.** Classifies the severity of an offline tablespace.
2174 db2_health_lookback           | **Optional.** How many days in the past db2_health check should look back to calculate exitcode.
2175 db2_health_report             | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2176 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".
2177 db2_health_env_db2_version    | **Optional.** Specifies the DB2 version as environment variable `DB2_VERSION`.
2178
2179 #### mssql_health <a id="plugin-contrib-command-mssql_health"></a>
2180
2181 The [check_mssql_health](https://labs.consol.de/nagios/check_mssql_health/index.html) plugin
2182 uses the `DBD::Sybase` Perl library based on [FreeTDS](http://www.freetds.org/) to monitor a
2183 [MS SQL](https://www.microsoft.com/en-us/sql-server/) server.
2184
2185 The Git repository is located on [GitHub](https://github.com/lausser/check_mssql_health).
2186
2187 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2188
2189 Name                             | Description
2190 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2191 mssql_health_hostname            | **Optional.** Specifies the database hostname or address. No default because you typically use "mssql_health_server".
2192 mssql_health_username            | **Optional.** The username for the database connection.
2193 mssql_health_password            | **Optional.** The password for the database connection.
2194 mssql_health_port                | **Optional.** Specifies the database port. No default because you typically use "mssql_health_server".
2195 mssql_health_server              | **Optional.** The name of a predefined connection (in freetds.conf).
2196 mssql_health_currentdb           | **Optional.** The name of a database which is used as the current database for the connection.
2197 mssql_health_offlineok           | **Optional.** Set this to true if offline databases are perfectly ok for you. Defaults to false.
2198 mssql_health_nooffline           | **Optional.** Set this to true to ignore offline databases. Defaults to false.
2199 mssql_health_dbthresholds        | **Optional.** With this parameter thresholds are read from the database table check_mssql_health_thresholds.
2200 mssql_health_notemp              | **Optional.** Set this to true to ignore temporary databases/tablespaces. Defaults to false.
2201 mssql_health_commit              | **Optional.** Set this to true to turn on autocommit for the dbd::sybase module. Defaults to false.
2202 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).
2203 mssql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-free" or "sql".
2204 mssql_health_regexp              | **Optional.** If set to true, "mssql_health_name" will be interpreted as a regular expression. Defaults to false.
2205 mssql_health_warning             | **Optional.** The warning threshold depending on the mode.
2206 mssql_health_critical            | **Optional.** The critical threshold depending on the mode.
2207 mssql_health_warningx            | **Optional.** A possible override for the warning threshold.
2208 mssql_health_criticalx           | **Optional.** A possible override for the critical threshold.
2209 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".
2210 mssql_health_name                | **Optional.** Depending on the mode this could be the database name or a SQL statement.
2211 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.
2212 mssql_health_name3               | **Optional.** Additional argument used for 'database-file-free' mode for example.
2213 mssql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2214 mssql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2215 mssql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2216 mssql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2217 mssql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2218 mssql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2219 mssql_health_morphmessage        | **Optional.** Modify the final output message.
2220 mssql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2221 mssql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2222 mssql_health_report              | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2223 mssql_health_multiline           | **Optional.** Multiline output.
2224 mssql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2225 mssql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2226 mssql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2227 mssql_health_timeout             | **Optional.** Plugin timeout. Defaults to 15s.
2228
2229 #### mysql_health <a id="plugin-contrib-command-mysql_health"></a>
2230
2231 The [check_mysql_health](https://labs.consol.de/nagios/check_mysql_health/index.html) plugin
2232 uses the `DBD::MySQL` Perl library to monitor a
2233 [MySQL](https://dev.mysql.com/downloads/mysql/) or [MariaDB](https://mariadb.org/about/) database.
2234
2235 The Git repository is located on [GitHub](https://github.com/lausser/check_mysql_health).
2236
2237 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2238
2239 Name                             | Description
2240 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2241 mysql_health_hostname            | **Required.** Specifies the database hostname or address. Defaults to "$address$" or "$address6$" if the `address` attribute is not set.
2242 mysql_health_port                | **Optional.** Specifies the database port. Defaults to 3306 (or 1186 for "mysql_health_mode" cluster).
2243 mysql_health_socket              | **Optional.** Specifies the database unix socket. No default.
2244 mysql_health_username            | **Optional.** The username for the database connection.
2245 mysql_health_password            | **Optional.** The password for the database connection.
2246 mysql_health_database            | **Optional.** The database to connect to. Defaults to information_schema.
2247 mysql_health_warning             | **Optional.** The warning threshold depending on the mode.
2248 mysql_health_critical            | **Optional.** The critical threshold depending on the mode.
2249 mysql_health_warningx            | **Optional.** The extended warning thresholds depending on the mode.
2250 mysql_health_criticalx           | **Optional.** The extended critical thresholds depending on the mode.
2251 mysql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "slave-lag" or "sql".
2252 mysql_health_method              | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Mysql (default), `mysql` for using the mysql-Tool).
2253 mysql_health_commit              | **Optional.** Turns on autocommit for the dbd::\* module.
2254 mysql_health_notemp              | **Optional.** Ignore temporary databases/tablespaces.
2255 mysql_health_nooffline           | **Optional.** Skip the offline databases.
2256 mysql_health_regexp              | **Optional.** Parameter name/name2/name3 will be interpreted as (perl) regular expression.
2257 mysql_health_name                | **Optional.** The name of a specific component to check.
2258 mysql_health_name2               | **Optional.** The secondary name of a component.
2259 mysql_health_name3               | **Optional.** The tertiary name of a component.
2260 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".
2261 mysql_health_labelformat         | **Optional.** One of those formats pnp4nagios or groundwork. Defaults to pnp4nagios.
2262 mysql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2263 mysql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2264 mysql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2265 mysql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2266 mysql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2267 mysql_health_morphmessage        | **Optional.** Modify the final output message.
2268 mysql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2269 mysql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2270 mysql_health_report              | **Optional.** Can be used to shorten the output.
2271 mysql_health_multiline           | **Optional.** Multiline output.
2272 mysql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2273 mysql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2274 mysql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2275 mysql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2276 mysql_health_timeout             | **Optional.** Plugin timeout. Defaults to 60s.
2277
2278 #### oracle_health <a id="plugin-contrib-command-oracle_health"></a>
2279
2280 The [check_oracle_health](https://labs.consol.de/nagios/check_oracle_health/index.html) plugin
2281 uses the `DBD::Oracle` Perl library to monitor an [Oracle](https://www.oracle.com/database/) database.
2282
2283 The Git repository is located on [GitHub](https://github.com/lausser/check_oracle_health).
2284
2285 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2286
2287 Name                             | Description
2288 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2289 oracle_health_connect            | **Required.** Specifies the database connection string (from tnsnames.ora).
2290 oracle_health_username           | **Optional.** The username for the database connection.
2291 oracle_health_password           | **Optional.** The password for the database connection.
2292 oracle_health_warning            | **Optional.** The warning threshold depending on the mode.
2293 oracle_health_critical           | **Optional.** The critical threshold depending on the mode.
2294 oracle_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "flash-recovery-area-usage" or "sql".
2295 oracle_health_method             | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Oracle (default), `sqlplus` for using the sqlplus-Tool).
2296 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.
2297 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.
2298 oracle_health_regexp             | **Optional.** If set to true, "oracle_health_name" will be interpreted as a regular expression. Defaults to false.
2299 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".
2300 oracle_health_ident              | **Optional.** If set to true, outputs instance and database names. Defaults to false.
2301 oracle_health_commit             | **Optional.** Set this to true to turn on autocommit for the dbd::oracle module. Defaults to false.
2302 oracle_health_noperfdata         | **Optional.** Set this to true if you want to disable perfdata. Defaults to false.
2303 oracle_health_timeout            | **Optional.** Plugin timeout. Defaults to 60s.
2304 oracle_health_report             | **Optional.** Select the plugin output format. Can be short or long. Default to long.
2305
2306 Environment Macros:
2307
2308 Name                | Description
2309 --------------------|------------------------------------------------------------------------------------------------------------------------------------------
2310 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`.
2311 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`.
2312 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`.
2313
2314 #### postgres <a id="plugin-contrib-command-postgres"></a>
2315
2316 The [check_postgres](https://bucardo.org/wiki/Check_postgres) plugin
2317 uses the `psql` binary to monitor a [PostgreSQL](https://www.postgresql.org/about/) database.
2318
2319 The Git repository is located on [GitHub](https://github.com/bucardo/check_postgres).
2320
2321 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2322
2323 Name                             | Description
2324 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2325 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.
2326 postgres_port        | **Optional.** Specifies the database port. Defaults to 5432.
2327 postgres_dbname      | **Optional.** Specifies the database name to connect to. Defaults to "postgres" or "template1".
2328 postgres_dbuser      | **Optional.** The username for the database connection. Defaults to "postgres".
2329 postgres_dbpass      | **Optional.** The password for the database connection. You can use a .pgpass file instead.
2330 postgres_dbservice   | **Optional.** Specifies the service name to use inside of pg_service.conf.
2331 postgres_warning     | **Optional.** Specifies the warning threshold, range depends on the action.
2332 postgres_critical    | **Optional.** Specifies the critical threshold, range depends on the action.
2333 postgres_include     | **Optional.** Specifies name(s) items to specifically include (e.g. tables), depends on the action.
2334 postgres_exclude     | **Optional.** Specifies name(s) items to specifically exclude (e.g. tables), depends on the action.
2335 postgres_includeuser | **Optional.** Include objects owned by certain users.
2336 postgres_excludeuser | **Optional.** Exclude objects owned by certain users.
2337 postgres_standby     | **Optional.** Assume that the server is in continuous WAL recovery mode if set to true. Defaults to false.
2338 postgres_production  | **Optional.** Assume that the server is in production mode if set to true. Defaults to false.
2339 postgres_action      | **Required.** Determines the test executed.
2340 postgres_unixsocket  | **Optional.** If "postgres_unixsocket" is set to true, the unix socket is used instead of an address. Defaults to false.
2341 postgres_query       | **Optional.** Query for "custom_query" action.
2342 postgres_valtype     | **Optional.** Value type of query result for "custom_query".
2343 postgres_reverse     | **Optional.** If "postgres_reverse" is set, warning and critical values are reversed for "custom_query" action.
2344 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).
2345
2346 #### mongodb <a id="plugin-contrib-command-mongodb"></a>
2347
2348 The [check_mongodb.py](https://github.com/mzupan/nagios-plugin-mongodb) plugin
2349 uses the `pymongo` Python library to monitor a [MongoDB](https://docs.mongodb.com/manual/) instance.
2350
2351 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2352
2353 Name                             | Description
2354 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2355 mongodb_host                     | **Required.** Specifies the hostname or address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2356 mongodb_port                     | **Required.** The port mongodb is running on.
2357 mongodb_user                     | **Optional.** The username you want to login as.
2358 mongodb_passwd                   | **Optional.** The password you want to use for that user.
2359 mongodb_warning                  | **Optional.** The warning threshold we want to set.
2360 mongodb_critical                 | **Optional.** The critical threshold we want to set.
2361 mongodb_action                   | **Required.** The action you want to take.
2362 mongodb_maxlag                   | **Optional.** Get max replication lag (for replication_lag action only).
2363 mongodb_mappedmemory             | **Optional.** Get mapped memory instead of resident (if resident memory can not be read).
2364 mongodb_perfdata                 | **Optional.** Enable output of Nagios performance data.
2365 mongodb_database                 | **Optional.** Specify the database to check.
2366 mongodb_alldatabases             | **Optional.** Check all databases (action database_size).
2367 mongodb_ssl                      | **Optional.** Connect using SSL.
2368 mongodb_replicaset               | **Optional.** Connect to replicaset.
2369 mongodb_replcheck                | **Optional.** If set to true, will enable the mongodb_replicaset value needed for "replica_primary" check.
2370 mongodb_querytype                | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second.
2371 mongodb_collection               | **Optional.** Specify the collection to check.
2372 mongodb_sampletime               | **Optional.** Time used to sample number of pages faults.
2373
2374 #### elasticsearch <a id="plugin-contrib-command-elasticsearch"></a>
2375
2376 The [check_elasticsearch](https://github.com/anchor/nagios-plugin-elasticsearch) plugin
2377 uses the HTTP API to monitor an [Elasticsearch](https://www.elastic.co/products/elasticsearch) node.
2378
2379 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2380
2381 Name                         | Description
2382 -----------------------------|-------------------------------------------------------------------------------------------------------
2383 elasticsearch_host           | **Optional.** Hostname or network address to probe. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2384 elasticsearch_failuredomain  | **Optional.** A comma-separated list of ElasticSearch attributes that make up your cluster's failure domain.
2385 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.
2386 elasticsearch_port           | **Optional.** TCP port to probe.  The ElasticSearch API should be listening here. Defaults to 9200.
2387 elasticsearch_prefix         | **Optional.** Optional prefix (e.g. 'es') for the ElasticSearch API. Defaults to ''.
2388 elasticsearch_yellowcritical | **Optional.** Instead of issuing a 'warning' for a yellow cluster state, issue a 'critical' alert. Defaults to false.
2389
2390 #### redis <a id="plugin-contrib-command-redis"></a>
2391
2392 The [check_redis.pl](https://github.com/willixix/naglio-plugins/blob/master/check_redis.pl) plugin
2393 uses the `Redis` Perl library to monitor a [Redis](https://redis.io/) instance. The plugin can
2394 measure response time, hitrate, memory utilization, check replication synchronization, etc. It is
2395 also possible to test data in a specified key and calculate averages or summaries on ranges.
2396
2397 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2398
2399 Name                     | Description
2400 -------------------------|--------------------------------------------------------------------------------------------------------------
2401 redis_hostname           | **Required.** Hostname or IP Address to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2402 redis_port               | **Optional.** Port number to query. Default to "6379".
2403 redis_database           | **Optional.** Database name (usually a number) to query, needed for **redis_query**.
2404 redis_password           | **Optional.** Password for Redis authentication. Safer alternative is to put them in a file and use **redis_credentials**.
2405 redis_credentials        | **Optional.** Credentials file to read for Redis authentication.
2406 redis_timeout            | **Optional.** Allows to set timeout for execution of this plugin.
2407 redis_variables          | **Optional.** List of variables from info data to do threshold checks on.
2408 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.
2409 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.
2410 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.
2411 redis_perfvars           | **Optional.** This allows to list variables which values will go only into perfparse output (and not for threshold checking).
2412 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.
2413 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".
2414 redis_query              | **Optional.** Option specifies key to query and optional variable name to assign the results to after.
2415 redis_option             | **Optional.** Specifiers are separated by "," and must include NAME or PATTERN.
2416 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.
2417 redis_hitrate            | **Optional.** Calculates Hitrate and specify values are interpreted as WARNING and CRITICAL thresholds.
2418 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.
2419 redis_total_memory       | **Optional.** Amount of memory on a system for memory utilization calculation. Use system memory or max_memory setting of redis.
2420 redis_replication_delay  | **Optional.** Allows to set threshold on replication delay info.
2421
2422
2423 ### Hardware <a id="plugin-contrib-hardware"></a>
2424
2425 This category includes all plugin check commands for various hardware checks.
2426
2427 #### hpasm <a id="plugin-contrib-command-hpasm"></a>
2428
2429 The [check_hpasm](https://labs.consol.de/de/nagios/check_hpasm/index.html) plugin
2430 monitors the hardware health of HP Proliant Servers, provided that the `hpasm`
2431 (HP Advanced Server Management) software is installed. It is also able to monitor
2432 the system health of HP Bladesystems and storage systems.
2433
2434 The plugin can run in two different ways:
2435
2436 1. Local execution using the `hpasmcli` command line tool.
2437 2. Remote SNMP query which invokes the HP Insight Tools on the remote node.
2438
2439 You can either set or omit `hpasm_hostname` custom attribute and select the corresponding node.
2440
2441 The `hpasm_remote` attribute enables the plugin to execute remote SNMP queries if set to `true`.
2442 For compatibility reasons this attribute uses `true` as default value, and ensures that
2443 specifying the `hpasm_hostname` always enables remote checks.
2444
2445 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2446
2447 Name                            | Description
2448 --------------------------------|-----------------------------------------------------------------------
2449 hpasm_hostname                  | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2450 hpasm_community                 | **Optional.** SNMP community of the server (SNMP v1/2 only).
2451 hpasm_protocol                  | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2452 hpasm_port                      | **Optional.** The SNMP port to use (default: 161).
2453 hpasm_blacklist                 | **Optional.** Blacklist some (missing/failed) components.
2454 hpasm_ignore-dimms              | **Optional.** Ignore "N/A"-DIMM status on misc. servers (e.g. older DL320).
2455 hpasm_ignore-fan-redundancy     | **Optional.** Ignore missing redundancy partners.
2456 hpasm_customthresholds          | **Optional.** Use custom thresholds for certain temperatures.
2457 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.
2458 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.
2459 hpasm_username                  | **Optional.** The securityName for the USM security model (SNMPv3 only).
2460 hpasm_authpassword              | **Optional.** The authentication password for SNMPv3.
2461 hpasm_authprotocol              | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2462 hpasm_privpassword              | **Optional.** The password for authPriv security level.
2463 hpasm_privprotocol              | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2464 hpasm_servertype                | **Optional.** The type of the server: proliant (default) or bladesystem.
2465 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.
2466 hpasm_remote                    | **Optional.** Run remote SNMP checks if enabled. Otherwise checks are executed locally using the `hpasmcli` binary. Defaults to `true`.
2467
2468 #### adaptec-raid <a id="plugin-contrib-command-adaptec-raid"></a>
2469
2470 The [check_adaptec_raid](https://github.com/thomas-krenn/check_adaptec_raid) plugin
2471 uses the `arcconf` binary to monitor Adaptec RAID controllers.
2472
2473 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2474
2475 Name                            | Description
2476 --------------------------------|-----------------------------------------------------------------------
2477 adaptec_controller_number       | **Required.** Controller number to monitor.
2478 arcconf_path                    | **Required.** Path to the `arcconf` binary, e.g. "/sbin/arcconf".
2479
2480 #### lsi-raid <a id="plugin-contrib-command-lsi-raid"></a>
2481
2482 The [check_lsi_raid](https://github.com/thomas-krenn/check_lsi_raid) plugin
2483 uses the `storcli` binary to monitor MegaRAID RAID controllers.
2484
2485 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2486
2487 Name                            | Description
2488 --------------------------------|-----------------------------------------------------------------------
2489 lsi_controller_number           | **Required.** Controller number to monitor.
2490 storcli_path                    | **Required.** Path to the `storcli` binary, e.g. "/usr/sbin/storcli".
2491
2492 #### smart-attributes <a id="plugin-contrib-command-smart-attributes"></a>
2493
2494 The [check_smart_attributes](https://github.com/thomas-krenn/check_smart_attributes) plugin
2495 uses the `smartctl` binary to monitor SMART values of SSDs and HDDs.
2496
2497 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2498
2499 Name                            | Description
2500 --------------------------------|-----------------------------------------------------------------------
2501 smart_attributes_config_path    | **Required.** Path to the smart attributes config file (e.g. check_smartdb.json).
2502 smart_attributes_device         | **Required.** Device name (e.g. /dev/sda) to monitor.
2503
2504
2505 ### IcingaCLI <a id="plugin-contrib-icingacli"></a>
2506
2507 This category includes all plugins using the icingacli provided by Icinga Web 2.
2508
2509 #### Business Process <a id="plugin-contrib-icingacli-businessprocess"></a>
2510
2511 This subcommand is provided by the [business process module](https://exchange.icinga.com/icinga/Business+Process)
2512 and executed as `icingacli businessprocess` CLI command.
2513
2514 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2515
2516 Name                                      | Description
2517 ------------------------------------------|-----------------------------------------------------------------------------------------
2518 icingacli_businessprocess_process         | **Required.** Business process to monitor.
2519 icingacli_businessprocess_config          | **Optional.** Configuration file containing your business process without file extension.
2520 icingacli_businessprocess_details         | **Optional.** Get details for root cause analysis. Defaults to false.
2521 icingacli_businessprocess_statetype       | **Optional.** Define which state type to look at, `soft` or `hard`. Overrides the default value inside the businessprocess module, if configured.
2522
2523
2524 ### IPMI Devices <a id="plugin-contrib-ipmi"></a>
2525
2526 This category includes all plugins for IPMI devices.
2527
2528 #### ipmi-sensor <a id="plugin-contrib-command-ipmi-sensor"></a>
2529
2530 The [check_ipmi_sensor](https://github.com/thomas-krenn/check_ipmi_sensor_v3) plugin
2531 uses the `ipmimonitoring` binary to monitor sensor data for IPMI devices. Please
2532 read the [documentation](https://www.thomas-krenn.com/en/wiki/IPMI_Sensor_Monitoring_Plugin)
2533 for installation and configuration details.
2534
2535 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2536
2537 Name                             | Description
2538 ---------------------------------|-----------------------------------------------------------------------------------------------------
2539 ipmi_address                     | **Required.** Specifies the remote host (IPMI device) to check. Defaults to "$address$".
2540 ipmi_config_file                 | **Optional.** Path to the FreeIPMI configuration file. It should contain IPMI username, IPMI password, and IPMI privilege-level.
2541 ipmi_username                    | **Optional.** The IPMI username.
2542 ipmi_password                    | **Optional.** The IPMI password.
2543 ipmi_privilege_level             | **Optional.** The IPMI privilege level of the IPMI user.
2544 ipmi_backward_compatibility_mode | **Optional.** Enable backward compatibility mode, useful for FreeIPMI 0.5.\* (this omits FreeIPMI options "--quiet-cache" and "--sdr-cache-recreate").
2545 ipmi_sensor_type                 | **Optional.** Limit sensors to query based on IPMI sensor type. Examples for IPMI sensor types are 'Fan', 'Temperature' and 'Voltage'.
2546 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.
2547 ipmi_exclude_sensor_id           | **Optional.** Exclude sensor matching ipmi_sensor_id.
2548 ipmi_exclude_sensor              | **Optional.** Exclude sensor based on IPMI sensor type. (Comma-separated)
2549 ipmi_exclude_sel                 | **Optional.** Exclude SEL entries of specific sensor types. (comma-separated list).
2550 ipmi_sensor_id                   | **Optional.** Include sensor matching ipmi_sensor_id.
2551 ipmi_protocol_lan_version        | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
2552 ipmi_number_of_active_fans       | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned.
2553 ipmi_show_fru                    | **Optional.** Print the product serial number if it is available in the IPMI FRU data.
2554 ipmi_no_sel_checking             | **Optional.** Turn off system event log checking via ipmi-sel.
2555 ipmi_no_thresholds               | **Optional.** Turn off performance data thresholds from output-sensor-thresholds.
2556 ipmi_verbose                     | **Optional.** Be Verbose multi line output, also with additional details for warnings.
2557 ipmi_debug                       | **Optional.** Be Verbose debugging output, followed by normal multi line output.
2558
2559 #### ipmi-alive <a id="plugin-contrib-command-ipmi-alive"></a>
2560
2561 The `ipmi-alive` check commands allows you to create a ping check for the IPMI Interface.
2562
2563 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2564
2565 Name                             | Description
2566 ---------------------------------|-----------------------------------------------------------------------------------------------------
2567 ping_address                     | **Optional.** The address of the IPMI interface. Defaults to "$address$" if the IPMI interface's `address` attribute is set, "$address6$" otherwise.
2568 ping_wrta                        | **Optional.** The RTA warning threshold in milliseconds. Defaults to 5000.
2569 ping_wpl                         | **Optional.** The packet loss warning threshold in %. Defaults to 100.
2570 ping_crta                        | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
2571 ping_cpl                         | **Optional.** The packet loss critical threshold in %. Defaults to 100.
2572 ping_packets                     | **Optional.** The number of packets to send. Defaults to 1.
2573 ping_timeout                     | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
2574
2575
2576 ### Log Management <a id="plugins-contrib-log-management"></a>
2577
2578 This category includes all plugins for log management, for example [Logstash](https://www.elastic.co/products/logstash).
2579
2580 #### logstash <a id="plugins-contrib-command-logstash"></a>
2581
2582 The [logstash](https://github.com/widhalmt/check_logstash) plugin connects to
2583 the Node API of Logstash. This plugin requires at least Logstash version 5.0.x.
2584
2585 The Node API is not activated by default. You have to configure your Logstash
2586 installation in order to allow plugin connections.
2587
2588 Name                       | Description
2589 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2590 logstash_hostname          | **Optional.** Hostname where Logstash is running. Defaults to `check_address`
2591 logstash_port              | **Optional.** Port where Logstash is listening for API requests. Defaults to 9600
2592 logstash_filedesc_warn     | **Optional.** Warning threshold of file descriptor usage in percent. Defaults to 85 (percent).
2593 logstash_filedesc_crit     | **Optional.** Critical threshold of file descriptor usage in percent. Defaults to 95 (percent).
2594 logstash_heap_warn         | **Optional.** Warning threshold of heap usage in percent. Defaults to 70 (percent).
2595 logstash_heap_crit         | **Optional.** Critical threshold of heap usage in percent Defaults to 80 (percent).
2596 logstash_inflight_warn     | **Optional.** Warning threshold of inflight events.
2597 logstash_inflight_crit     | **Optional.** Critical threshold of inflight events.
2598 logstash_cpu_warn          | **Optional.** Warning threshold for cpu usage in percent.
2599 logstash_cpu_crit          | **Optional.** Critical threshold for cpu usage in percent.
2600
2601
2602 ### Metrics <a id="plugin-contrib-metrics"></a>
2603
2604 This category includes all plugins for metric-based checks.
2605
2606 #### graphite <a id="plugin-contrib-command-graphite"></a>
2607
2608 The [check_graphite](https://github.com/obfuscurity/nagios-scripts) plugin
2609 uses the `rest-client` Ruby library to monitor a [Graphite](https://graphiteapp.org) instance.
2610
2611 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2612
2613 Name                                | Description
2614 ------------------------------------|-----------------------------------------------------------------------------------------------------
2615 graphite_url                        | **Required.** Target url.
2616 graphite_metric                     | **Required.** Metric path string.
2617 graphite_shortname                  | **Optional.** Metric short name (used for performance data).
2618 graphite_duration                   | **Optional.** Length, in minute of data to parse (default: 5).
2619 graphite_function                   | **Optional.** Function applied to metrics for thresholds (default: average).
2620 graphite_warning                    | **Required.** Warning threshold.
2621 graphite_critical                   | **Required.** Critical threshold.
2622 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.
2623 graphite_message                    | **Optional.** Text message to output (default: "metric count:").
2624 graphite_zero_on_error              | **Optional.** Return 0 on a graphite 500 error.
2625 graphite_link_graph                 | **Optional.** Add a link in the plugin output, showing a 24h graph for this metric in graphite.
2626
2627 ### Network Components <a id="plugin-contrib-network-components"></a>
2628
2629 This category includes all plugins for various network components like routers, switches and firewalls.
2630
2631 #### interfacetable <a id="plugin-contrib-command-interfacetable"></a>
2632
2633 The [check_interfacetable_v3t](http://www.tontonitch.com/tiki/tiki-index.php?page=Nagios+plugins+-+interfacetable_v3t) plugin
2634 generates a html page containing information about the monitored node and all of its interfaces.
2635
2636 The Git repository is located on [GitHub](https://github.com/Tontonitch/interfacetable_v3t).
2637
2638 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2639
2640 Name                                | Description
2641 ------------------------------------|-----------------------------------------------------------------------------------------------------
2642 interfacetable_hostquery            | **Required.** Specifies the remote host to poll. Defaults to "$address$".
2643 interfacetable_hostdisplay          | **Optional.** Specifies the hostname to display in the HTML link. Defaults to "$host.display_name$".
2644 interfacetable_regex                | **Optional.** Interface names and property names for some other options will be interpreted as regular expressions. Defaults to false.
2645 interfacetable_outputshort          | **Optional.** Reduce the verbosity of the plugin output. Defaults to false.
2646 interfacetable_exclude              | **Optional.** Comma separated list of interfaces globally excluded from the monitoring.
2647 interfacetable_include              | **Optional.** Comma separated list of interfaces globally included in the monitoring.
2648 interfacetable_aliasmatching        | **Optional.** Allow you to specify alias in addition to interface names. Defaults to false.
2649 interfacetable_excludetraffic       | **Optional.** Comma separated list of interfaces excluded from traffic checks.
2650 interfacetable_includetraffic       | **Optional.** Comma separated list of interfaces included for traffic checks.
2651 interfacetable_warningtraffic       | **Optional.** Interface traffic load percentage leading to a warning alert.
2652 interfacetable_criticaltraffic      | **Optional.** Interface traffic load percentage leading to a critical alert.
2653 interfacetable_pkt                  | **Optional.** Add unicast/non-unicast pkt stats for each interface.
2654 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.
2655 interfacetable_trackproperty        | **Optional.** List of tracked properties.
2656 interfacetable_excludeproperty      | **Optional.** Comma separated list of interfaces excluded from the property tracking.
2657 interfacetable_includeproperty      | **Optional.** Comma separated list of interfaces included in the property tracking.
2658 interfacetable_community            | **Optional.** Specifies the snmp v1/v2c community string. Defaults to "public" if using snmp v1/v2c, ignored using v3.
2659 interfacetable_snmpv2               | **Optional.** Use snmp v2c. Defaults to false.
2660 interfacetable_login                | **Optional.** Login for snmpv3 authentication.
2661 interfacetable_passwd               | **Optional.** Auth password for snmpv3 authentication.
2662 interfacetable_privpass             | **Optional.** Priv password for snmpv3 authentication.
2663 interfacetable_protocols            | **Optional.** Authentication protocol,Priv protocol for snmpv3 authentication.
2664 interfacetable_domain               | **Optional.** SNMP transport domain.
2665 interfacetable_contextname          | **Optional.** Context name for the snmp requests.
2666 interfacetable_port                 | **Optional.** SNMP port. Defaults to standard port.
2667 interfacetable_64bits               | **Optional.** Use SNMP 64-bits counters. Defaults to false.
2668 interfacetable_maxrepetitions       | **Optional.** Increasing this value may enhance snmp query performances by gathering more results at one time.
2669 interfacetable_snmptimeout          | **Optional.** Define the Transport Layer timeout for the snmp queries.
2670 interfacetable_snmpretries          | **Optional.** Define the number of times to retry sending a SNMP message.
2671 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.
2672 interfacetable_unixsnmp             | **Optional.** Use unix snmp utilities for snmp requests. Defaults to false, which means use the perl bindings.
2673 interfacetable_enableperfdata       | **Optional.** Enable port performance data. Defaults to false.
2674 interfacetable_perfdataformat       | **Optional.** Define which performance data will be generated. Possible values are "full" (default), "loadonly", "globalonly".
2675 interfacetable_perfdatathreshold    | **Optional.** Define which thresholds are printed in the generated performance data. Possible values are "full" (default), "loadonly", "globalonly".
2676 interfacetable_perfdatadir          | **Optional.** When specified, the performance data are also written directly to a file, in the specified location.
2677 interfacetable_perfdataservicedesc  | **Optional.** Specify additional parameters for output performance data to PNP. Defaults to "$service.name$", only affects **interfacetable_perfdatadir**.
2678 interfacetable_grapher              | **Optional.** Specify the used graphing solution. Possible values are "pnp4nagios" (default), "nagiosgrapher", "netwaysgrapherv2" and "ingraph".
2679 interfacetable_grapherurl           | **Optional.** Graphing system url. Default depends on **interfacetable_grapher**.
2680 interfacetable_portperfunit         | **Optional.** Traffic could be reported in bits (counters) or in bps (calculated value).
2681 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".
2682 interfacetable_duplex               | **Optional.** Add the duplex mode property for each interface in the interface table. Defaults to false.
2683 interfacetable_stp                  | **Optional.** Add the stp state property for each interface in the interface table. Defaults to false.
2684 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"
2685 interfacetable_noipinfo             | **Optional.** Remove the ip information for each interface from the interface table. Defaults to false.
2686 interfacetable_alias                | **Optional.** Add the alias information for each interface in the interface table. Defaults to false.
2687 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.
2688 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.
2689 interfacetable_delta                | **Optional.** Set the delta used for interface throughput calculation in seconds.
2690 interfacetable_ifs                  | **Optional.** Input field separator. Defaults to ",".
2691 interfacetable_cache                | **Optional.** Define the retention time of the cached data in seconds.
2692 interfacetable_noifloadgradient     | **Optional.** Disable color gradient from green over yellow to red for the load percentage. Defaults to false.
2693 interfacetable_nohuman              | **Optional.** Do not translate bandwidth usage in human readable format. Defaults to false.
2694 interfacetable_snapshot             | **Optional.** Force the plugin to run like if it was the first launch. Defaults to false.
2695 interfacetable_timeout              | **Optional.** Define the global timeout limit of the plugin in seconds. Defaults to "15s".
2696 interfacetable_css                  | **Optional.** Define the css stylesheet used by the generated html files. Possible values are "classic", "icinga" or "icinga-alternate1".
2697 interfacetable_config               | **Optional.** Specify a config file to load.
2698 interfacetable_noconfigtable        | **Optional.** Disable configuration table on the generated HTML page. Defaults to false.
2699 interfacetable_notips               | **Optional.** Disable the tips in the generated html tables. Defaults to false.
2700 interfacetable_defaulttablesorting  | **Optional.** Default table sorting can be "index" (default) or "name".
2701 interfacetable_tablesplit           | **Optional.** Generate multiple interface tables, one per interface type. Defaults to false.
2702 interfacetable_notype               | **Optional.** Remove the interface type for each interface. Defaults to false.
2703
2704 #### iftraffic <a id="plugin-contrib-command-iftraffic"></a>
2705
2706 The [check_iftraffic](https://exchange.icinga.com/exchange/iftraffic) plugin
2707 checks the utilization of a given interface name using the SNMP protocol.
2708
2709 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2710
2711 Name                    | Description
2712 ------------------------|---------------------------------------------------------
2713 iftraffic_address       | **Required.** Specifies the remote host. Defaults to "$address$".
2714 iftraffic_community     | **Optional.** SNMP community. Defaults to "public'" if omitted.
2715 iftraffic_interface     | **Required.** Queried interface name.
2716 iftraffic_bandwidth     | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2717 iftraffic_units         | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2718 iftraffic_warn          | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2719 iftraffic_crit          | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2720 iftraffic_max_counter   | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2721
2722 #### iftraffic64 <a id="plugin-contrib-command-iftraffic64"></a>
2723
2724 The [check_iftraffic64](https://exchange.icinga.com/exchange/iftraffic64) plugin
2725 checks the utilization of a given interface name using the SNMP protocol.
2726
2727 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2728
2729 Name                    | Description
2730 ------------------------|---------------------------------------------------------
2731 iftraffic64_address     | **Required.** Specifies the remote host. Defaults to "$address$".
2732 iftraffic64_community   | **Optional.** SNMP community. Defaults to "public'" if omitted.
2733 iftraffic64_interface   | **Required.** Queried interface name.
2734 iftraffic64_bandwidth   | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2735 iftraffic64_units       | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2736 iftraffic64_warn        | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2737 iftraffic64_crit        | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2738 iftraffic64_max_counter | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2739
2740 #### interfaces <a id="plugin-contrib-command-interfaces"></a>
2741
2742 The [check_interfaces](https://git.netways.org/plugins/check_interfaces) plugin
2743 uses SNMP to monitor network interfaces and their utilization.
2744
2745 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2746
2747 Name                      | Description
2748 --------------------------|---------------------------------------------------------
2749 interfaces_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2750 interfaces_regex          | **Optional.** Interface list regexp.
2751 interfaces_exclude_regex  | **Optional.** Interface list negative regexp.
2752 interfaces_errors         | **Optional.** Number of in errors (CRC errors for cisco) to consider a warning (default 50).
2753 interface_out_errors      | **Optional.** Number of out errors (collisions for cisco) to consider a warning (default same as in errors).
2754 interfaces_perfdata       | **Optional.** perfdata from last check result.
2755 interfaces_prefix         | **Optional.** Prefix interface names with this label.
2756 interfaces_lastcheck      | **Optional.** Last checktime (unixtime).
2757 interfaces_bandwidth      | **Optional.** Bandwidth warn level in percent.
2758 interfaces_speed          | **Optional.** Override speed detection with this value (bits per sec).
2759 interfaces_trim           | **Optional.** Cut this number of characters from the start of interface descriptions.
2760 interfaces_mode           | **Optional.** Special operating mode (default,cisco,nonbulk,bintec).
2761 interfaces_auth_proto     | **Optional.** SNMPv3 Auth Protocol (SHA\|MD5)
2762 interfaces_auth_phrase    | **Optional.** SNMPv3 Auth Phrase
2763 interfaces_priv_proto     | **Optional.** SNMPv3 Privacy Protocol (AES\|DES)
2764 interfaces_priv_phrase    | **Optional.** SNMPv3 Privacy Phrase
2765 interfaces_user           | **Optional.** SNMPv3 User
2766 interfaces_down_is_ok     | **Optional.** Disables critical alerts for down interfaces.
2767 interfaces_aliases        | **Optional.** Retrieves the interface description.
2768 interfaces_match_aliases  | **Optional.** Also match against aliases (Option --aliases automatically enabled).
2769 interfaces_timeout        | **Optional.** Sets the SNMP timeout (in ms).
2770 interfaces_sleep          | **Optional.** Sleep between every SNMP query (in ms).
2771 interfaces_names          | **Optional.** If set to true, use ifName instead of ifDescr.
2772
2773 #### nwc_health <a id="plugin-contrib-command-nwc_health"></a>
2774
2775 The [check_nwc_health](https://labs.consol.de/de/nagios/check_nwc_health/index.html) plugin
2776 uses SNMP to monitor network components. The plugin is able to generate interface statistics,
2777 check hardware (CPU, memory, fan, power, etc.), monitor firewall policies, HRSP, load-balancer
2778 pools, processor and memory usage.
2779
2780 Currently the following network components are supported: Cisco IOS, Cisco Nexus, Cisco ASA,
2781 Cisco PIX, F5 BIG-IP, CheckPoint Firewall1, Juniper NetScreen, HP Procurve, Nortel, Brocade 4100/4900,
2782 EMC DS 4700, EMC DS 24, Allied Telesyn. Blue Coat SG600, Cisco Wireless Lan Controller 5500,
2783 Brocade ICX6610-24-HPOE, Cisco UC Telefonzeugs, FOUNDRY-SN-AGENT-MIB, FRITZ!BOX 7390, FRITZ!DECT 200,
2784 Juniper IVE, Pulse-Gateway MAG4610, Cisco IronPort AsyncOS, Foundry, etc. A complete list can be
2785 found in the plugin [documentation](https://labs.consol.de/nagios/check_nwc_health/index.html).
2786
2787 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2788
2789 Name                            | Description
2790 --------------------------------|---------------------------------------------------------
2791 nwc_health_hostname             | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2792 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).
2793 nwc_health_timeout              | **Optional.** Seconds before plugin times out (default: 15)
2794 nwc_health_blacklist            | **Optional.** Blacklist some (missing/failed) components.
2795 nwc_health_port                 | **Optional.** The SNMP port to use (default: 161).
2796 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).
2797 nwc_health_protocol             | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2798 nwc_health_community            | **Optional.** SNMP community of the server (SNMP v1/2 only).
2799 nwc_health_username             | **Optional.** The securityName for the USM security model (SNMPv3 only).
2800 nwc_health_authpassword         | **Optional.** The authentication password for SNMPv3.
2801 nwc_health_authprotocol         | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2802 nwc_health_privpassword         | **Optional.** The password for authPriv security level.
2803 nwc_health_privprotocol         | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2804 nwc_health_contextengineid      | **Optional.** The context engine id for SNMPv3 (10 to 64 hex characters).
2805 nwc_health_contextname          | **Optional.** The context name for SNMPv3 (empty represents the default context).
2806 nwc_health_name                 | **Optional.** The name of an interface (ifDescr).
2807 nwc_health_drecksptkdb          | **Optional.** This parameter must be used instead of --name, because Devel::ptkdb is stealing the latter from the command line.
2808 nwc_health_alias                | **Optional.** The alias name of a 64bit-interface (ifAlias)
2809 nwc_health_regexp               | **Optional.** A flag indicating that --name is a regular expression
2810 nwc_health_ifspeedin            | **Optional.** Override the ifspeed oid of an interface (only inbound)
2811 nwc_health_ifspeedout           | **Optional.** Override the ifspeed oid of an interface (only outbound)
2812 nwc_health_ifspeed              | **Optional.** Override the ifspeed oid of an interface
2813 nwc_health_units                | **Optional.** One of %, B, KB, MB, GB, Bit, KBi, MBi, GBi. (used for e.g. mode interface-usage)
2814 nwc_health_name2                | **Optional.** The secondary name of a component.
2815 nwc_health_role                 | **Optional.** The role of this device in a hsrp group (active/standby/listen).
2816 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)
2817 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.
2818 nwc_health_warning              | **Optional.** The warning threshold
2819 nwc_health_critical             | **Optional.** The critical threshold
2820 nwc_health_warningx             | **Optional.** The extended warning thresholds
2821 nwc_health_criticalx            | **Optional.** The extended critical thresholds
2822 nwc_health_mitigation           | **Optional.** The parameter allows you to change a critical error to a warning (1) or ok (0).
2823 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.
2824 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'
2825 nwc_health_negate               | **Optional.** The parameter allows you to map exit levels, such as warning=critical.
2826 nwc_health_mymodules-dyn-dir    | **Optional.** A directory where own extensions can be found.
2827 nwc_health_servertype           | **Optional.** The type of the network device: cisco (default). Use it if auto-detection is not possible.
2828 nwc_health_statefilesdir        | **Optional.** An alternate directory where the plugin can save files.
2829 nwc_health_oids                 | **Optional.** A list of oids which are downloaded and written to a cache file. Use it together with --mode oidcache.
2830 nwc_health_offline              | **Optional.** The maximum number of seconds since the last update of cache file before it is considered too old.
2831 nwc_health_multiline            | **Optional.** Multiline output
2832
2833
2834 ### Operating System <a id="plugin-contrib-operating-system"></a>
2835
2836 This category contains plugins which receive details about your operating system
2837 or the guest system.
2838
2839 #### mem <a id="plugin-contrib-command-mem"></a>
2840
2841 The [check_mem.pl](https://github.com/justintime/nagios-plugins) plugin checks the
2842 memory usage on linux and unix hosts. It is able to count cache memory as free when
2843 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).
2844
2845 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2846
2847 Name         | Description
2848 -------------|-----------------------------------------------------------------------------------------------------------------------
2849 mem_used     | **Optional.** Tell the plugin to check for used memory in opposite of **mem_free**. Must specify one of these as true.
2850 mem_free     | **Optional.** Tell the plugin to check for free memory in opposite of **mem_used**. Must specify one of these as true.
2851 mem_cache    | **Optional.** If set to true, plugin will count cache as free memory. Defaults to false.
2852 mem_warning  | **Required.** Specify the warning threshold as number interpreted as percent.
2853 mem_critical | **Required.** Specify the critical threshold as number interpreted as percent.
2854
2855 #### running_kernel <a id="plugin-contrib-command-running_kernel"></a>
2856
2857 The [check_running_kernel](https://packages.debian.org/stretch/nagios-plugins-contrib) plugin
2858 is provided by the `nagios-plugin-contrib` package on Debian/Ubuntu.
2859
2860 Custom attributes:
2861
2862 Name                       | Description
2863 ---------------------------|-------------
2864 running\_kernel\_use\_sudo | Whether to run the plugin with `sudo`. Defaults to false except on Ubuntu where it defaults to true.
2865
2866 #### iostats <a id="plugin-contrib-command-iostats"></a>
2867
2868 The [check_iostats](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats) plugin
2869 uses the `iostat` binary to monitor I/O on a Linux host. The default thresholds are rather high
2870 so you can use a grapher for baselining before setting your own.
2871
2872 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2873
2874 Name           | Description
2875 ---------------|-----------------------------------------------------------------------------------------------------------------------
2876 iostats\_disk            | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
2877 iostats\_warning\_tps    | **Required.** Warning threshold for tps (default: 3000).
2878 iostats\_warning\_read   | **Required.** Warning threshold for KB/s reads (default: 50000).
2879 iostats\_warning\_write  | **Required.** Warning threshold for KB/s writes (default: 10000).
2880 iostats\_warning\_wait   | **Required.** Warning threshold for % iowait (default: 50).
2881 iostats\_critical\_tps   | **Required.** Critical threshold for tps (default: 5000).
2882 iostats\_critical\_read  | **Required.** Critical threshold for KB/s reads (default: 80000).
2883 iostats\_critical\_write | **Required.** Critical threshold for KB/s writes (default: 25000).
2884 iostats\_critical\_wait  | **Required.** Critical threshold for % iowait (default: 80).
2885
2886 #### iostat <a id="plugin-contrib-command-iostat"></a>
2887
2888 The [check_iostat](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostat) plugin
2889 uses the `iostat` binary to monitor disk I/O on a Linux host. The default thresholds are rather high
2890 so you can use a grapher for baselining before setting your own.
2891
2892 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2893
2894 Name           | Description
2895 ---------------|-----------------------------------------------------------------------------------------------------------------------
2896 iostat\_disk   | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
2897 iostat\_wtps   | **Required.** Warning threshold for tps (default: 100).
2898 iostat\_wread  | **Required.** Warning threshold for KB/s reads (default: 100).
2899 iostat\_wwrite | **Required.** Warning threshold for KB/s writes (default: 100).
2900 iostat\_ctps   | **Required.** Critical threshold for tps (default: 200).
2901 iostat\_cread  | **Required.** Critical threshold for KB/s reads (default: 200).
2902 iostat\_cwrite | **Required.** Critical threshold for KB/s writes (default: 200).
2903
2904 #### yum <a id="plugin-contrib-command-yum"></a>
2905
2906 The [check_yum](https://github.com/calestyo/check_yum) plugin checks the YUM package
2907 management system for package updates.
2908 The plugin requires the `yum-plugin-security` package to differentiate between security and normal updates.
2909
2910 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2911
2912 Name                    | Description
2913 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2914 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.
2915 yum_warn_on_any_update  | **Optional.** Set to true to warn if there are any (non-security) package updates available. Defaults to false.
2916 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.
2917 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.
2918 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.
2919 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.
2920 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.
2921 yum_installroot         | **Optional.** Specifies another installation root directory (for example a chroot).
2922 yum_timeout             | **Optional.** Set a timeout in seconds after which the plugin will exit (defaults to 55 seconds).
2923
2924 ### Storage <a id="plugins-contrib-storage"></a>
2925
2926 This category includes all plugins for various storage and object storage technologies.
2927
2928 #### glusterfs <a id="plugins-contrib-command-glusterfs"></a>
2929
2930 The [glusterfs](https://www.unixadm.org/software/nagios-stuff/checks/check_glusterfs) plugin
2931 is used to check the GlusterFS storage health on the server.
2932 The plugin requires `sudo` permissions.
2933
2934 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2935
2936 Name                       | Description
2937 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2938 glusterfs_perfdata         | **Optional.** Print perfdata of all or the specified volume.
2939 glusterfs_warnonfailedheal | **Optional.** Warn if the *heal-failed* log contains entries. The log can be cleared by restarting glusterd.
2940 glusterfs_volume           | **Optional.** Only check the specified *VOLUME*. If --volume is not set, all volumes are checked.
2941 glusterfs_disk_warning     | **Optional.** Warn if disk usage is above *DISKWARN*. Defaults to 90 (percent).
2942 glusterfs_disk_critical    | **Optional.** Return a critical error if disk usage is above *DISKCRIT*. Defaults to 95 (percent).
2943 glusterfs_inode_warning    | **Optional.** Warn if inode usage is above *DISKWARN*. Defaults to 90 (percent).
2944 glusterfs_inode_critical   | **Optional.** Return a critical error if inode usage is above *DISKCRIT*. Defaults to 95 (percent).
2945
2946
2947 ### Virtualization <a id="plugin-contrib-virtualization"></a>
2948
2949 This category includes all plugins for various virtualization technologies.
2950
2951 #### esxi_hardware <a id="plugin-contrib-command-esxi-hardware"></a>
2952
2953 The [check_esxi_hardware.py](https://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php) plugin
2954 uses the [pywbem](https://pywbem.github.io/pywbem/) Python library to monitor the hardware of ESXi servers
2955 through the [VMWare API](https://www.vmware.com/support/pubs/sdk_pubs.html) and CIM service.
2956
2957 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2958
2959 Name                    | Description
2960 ------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2961 esxi_hardware_host      | **Required.** Specifies the host to monitor. Defaults to "$address$".
2962 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.
2963 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.
2964 esxi_hardware_port      | **Optional.** Specifies the CIM port to connect to. Defaults to 5989.
2965 esxi_hardware_vendor    | **Optional.** Defines the vendor of the server: "auto", "dell", "hp", "ibm", "intel", "unknown" (default).
2966 esxi_hardware_html      | **Optional.** Add web-links to hardware manuals for Dell servers (use your country extension). Only useful with **esxi_hardware_vendor** = dell.
2967 esxi_hardware_ignore    | **Optional.** Comma separated list of elements to ignore.
2968 esxi_hardware_perfdata  | **Optional.** Add performcedata for graphers like PNP4Nagios to the output. Defaults to false.
2969 esxi_hardware_nopower   | **Optional.** Do not collect power performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2970 esxi_hardware_novolts   | **Optional.** Do not collect voltage performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2971 esxi_hardware_nocurrent | **Optional.** Do not collect current performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2972 esxi_hardware_notemp    | **Optional.** Do not collect temperature performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2973 esxi_hardware_nofan     | **Optional.** Do not collect fan performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2974 esxi_hardware_nolcd     | **Optional.** Do not collect lcd/display status data. Defaults to false.
2975
2976 #### VMware <a id="plugin-contrib-vmware"></a>
2977
2978 Check commands for the [check_vmware_esx](https://github.com/BaldMansMojo/check_vmware_esx) plugin.
2979
2980 **vmware-esx-dc-volumes**
2981
2982 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
2983
2984 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2985
2986 Name                    | Description
2987 ------------------------|--------------
2988 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
2989 vmware_cluster          | **Optional.** ESX or ESXi clustername.
2990 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
2991 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".
2992 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".
2993 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
2994 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
2995 vmware_sessionfile      | **Optional.** Session file name enhancement.
2996 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
2997 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
2998 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
2999 vmware_password         | **Optional.** The username's password. No value defined as default.
3000 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
3001 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3002 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3003 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3004 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3005 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3006 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3007 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3008 vmware_dc_volume_used   | **Optional.** Output used space instead of free. Defaults to "true".
3009 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3010 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3011
3012
3013 **vmware-esx-dc-runtime-info**
3014
3015 Check command object for the `check_vmware_esx` plugin. Shows all runtime info for the datacenter/Vcenter.
3016
3017 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3018
3019 Name                    | Description
3020 ------------------------|--------------
3021 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3022 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3023 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3024 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".
3025 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".
3026 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3027 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3028 vmware_sessionfile      | **Optional.** Session file name enhancement.
3029 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3030 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3031 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3032 vmware_password         | **Optional.** The username's password. No value defined as default.
3033 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
3034
3035
3036 **vmware-esx-dc-runtime-listvms**
3037
3038 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.
3039
3040 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3041
3042 Name                    | Description
3043 ------------------------|--------------
3044 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3045 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3046 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3047 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".
3048 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".
3049 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3050 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3051 vmware_sessionfile      | **Optional.** Session file name enhancement.
3052 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3053 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3054 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3055 vmware_password         | **Optional.** The username's password. No value defined as default.
3056 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
3057 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3058 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
3059 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
3060 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3061 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.
3062
3063
3064 **vmware-esx-dc-runtime-listhost**
3065
3066 Check command object for the `check_vmware_esx` plugin. List of VMware ESX hosts and their power state.
3067
3068 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3069
3070 Name                    | Description
3071 ------------------------|--------------
3072 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3073 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3074 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3075 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".
3076 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".
3077 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3078 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3079 vmware_sessionfile      | **Optional.** Session file name enhancement.
3080 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3081 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3082 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3083 vmware_password         | **Optional.** The username's password. No value defined as default.
3084 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
3085 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3086 vmware_exclude          | **Optional.** Blacklist VMware ESX hosts. No value defined as default.
3087 vmware_include          | **Optional.** Whitelist VMware ESX hosts. No value defined as default.
3088 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3089 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.
3090
3091
3092 **vmware-esx-dc-runtime-listcluster**
3093
3094 Check command object for the `check_vmware_esx` plugin. List of VMware clusters and their states.
3095
3096 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3097
3098 Name                    | Description
3099 ------------------------|--------------
3100 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3101 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3102 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3103 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".
3104 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".
3105 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3106 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3107 vmware_sessionfile      | **Optional.** Session file name enhancement.
3108 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3109 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3110 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3111 vmware_password         | **Optional.** The username's password. No value defined as default.
3112 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
3113 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3114 vmware_exclude          | **Optional.** Blacklist VMware cluster. No value defined as default.
3115 vmware_include          | **Optional.** Whitelist VMware cluster. No value defined as default.
3116 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3117 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.
3118
3119
3120 **vmware-esx-dc-runtime-issues**
3121
3122 Check command object for the `check_vmware_esx` plugin. All issues for the host.
3123
3124 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3125
3126 Name                    | Description
3127 ------------------------|--------------
3128 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3129 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3130 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3131 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".
3132 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".
3133 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3134 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3135 vmware_sessionfile      | **Optional.** Session file name enhancement.
3136 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3137 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3138 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3139 vmware_password         | **Optional.** The username's password. No value defined as default.
3140 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
3141 vmware_exclude          | **Optional.** Blacklist issues. No value defined as default.
3142 vmware_include          | **Optional.** Whitelist issues. No value defined as default.
3143 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3144 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.
3145
3146
3147 **vmware-esx-dc-runtime-status**
3148
3149 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
3150
3151 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3152
3153 Name                    | Description
3154 ------------------------|--------------
3155 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3156 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3157 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3158 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".
3159 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".
3160 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3161 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3162 vmware_sessionfile      | **Optional.** Session file name enhancement.
3163 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3164 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3165 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3166 vmware_password         | **Optional.** The username's password. No value defined as default.
3167 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
3168
3169
3170 **vmware-esx-dc-runtime-tools**
3171
3172 Check command object for the `check_vmware_esx` plugin. Vmware Tools status.
3173
3174 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3175
3176 Name                    | Description
3177 ------------------------|--------------
3178 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3179 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3180 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3181 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".
3182 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".
3183 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3184 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3185 vmware_sessionfile      | **Optional.** Session file name enhancement.
3186 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3187 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3188 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3189 vmware_password         | **Optional.** The username's password. No value defined as default.
3190 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
3191 vmware_poweredonly      | **Optional.** List only VMs which are powered on. No value defined as default.
3192 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3193 vmware_exclude          | **Optional.** Blacklist VMs. No value defined as default.
3194 vmware_include          | **Optional.** Whitelist VMs. No value defined as default.
3195 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3196 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.
3197 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
3198
3199
3200 **vmware-esx-soap-host-check**
3201
3202 Check command object for the `check_vmware_esx` plugin. Simple check to verify a successful connection to VMware SOAP API.
3203
3204 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3205
3206 Name                    | Description
3207 ------------------------|--------------
3208 vmware_host             | **Required.** ESX or ESXi hostname.
3209 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
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
3222
3223 **vmware-esx-soap-host-uptime**
3224
3225 Check command object for the `check_vmware_esx` plugin. Displays uptime of the VMware host.
3226
3227 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3228
3229 Name                    | Description
3230 ------------------------|--------------
3231 vmware_host             | **Required.** ESX or ESXi hostname.
3232 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3233 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3234 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".
3235 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".
3236 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3237 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3238 vmware_sessionfile      | **Optional.** Session file name enhancement.
3239 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3240 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3241 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3242 vmware_password         | **Optional.** The username's password. No value defined as default.
3243 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
3244
3245
3246 **vmware-esx-soap-host-cpu**
3247
3248 Check command object for the `check_vmware_esx` plugin. CPU usage in percentage.
3249
3250 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3251
3252 Name                    | Description
3253 ------------------------|--------------
3254 vmware_host             | **Required.** ESX or ESXi hostname.
3255 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3256 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3257 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".
3258 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".
3259 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3260 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3261 vmware_sessionfile      | **Optional.** Session file name enhancement.
3262 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3263 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3264 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3265 vmware_password         | **Optional.** The username's password. No value defined as default.
3266 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
3267 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3268 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3269
3270
3271 **vmware-esx-soap-host-cpu-ready**
3272
3273 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.
3274
3275 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3276
3277 Name                    | Description
3278 ------------------------|--------------
3279 vmware_host             | **Required.** ESX or ESXi hostname.
3280 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3281 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3282 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".
3283 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".
3284 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3285 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3286 vmware_sessionfile      | **Optional.** Session file name enhancement.
3287 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3288 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3289 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3290 vmware_password         | **Optional.** The username's password. No value defined as default.
3291 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
3292
3293
3294 **vmware-esx-soap-host-cpu-wait**
3295
3296 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.
3297
3298 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3299
3300 Name                    | Description
3301 ------------------------|--------------
3302 vmware_host             | **Required.** ESX or ESXi hostname.
3303 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3304 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3305 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".
3306 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".
3307 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3308 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3309 vmware_sessionfile      | **Optional.** Session file name enhancement.
3310 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3311 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3312 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3313 vmware_password         | **Optional.** The username's password. No value defined as default.
3314 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
3315
3316
3317 **vmware-esx-soap-host-cpu-usage**
3318
3319 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.
3320
3321 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3322
3323 Name                    | Description
3324 ------------------------|--------------
3325 vmware_host             | **Required.** ESX or ESXi hostname.
3326 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3327 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3328 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".
3329 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".
3330 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3331 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3332 vmware_sessionfile      | **Optional.** Session file name enhancement.
3333 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3334 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3335 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3336 vmware_password         | **Optional.** The username's password. No value defined as default.
3337 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
3338 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3339 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3340
3341
3342 **vmware-esx-soap-host-mem**
3343
3344 Check command object for the `check_vmware_esx` plugin. All mem info(except overall and no thresholds).
3345
3346 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3347
3348 Name                    | Description
3349 ------------------------|--------------
3350 vmware_host             | **Required.** ESX or ESXi hostname.
3351 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3352 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3353 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".
3354 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".
3355 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3356 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3357 vmware_sessionfile      | **Optional.** Session file name enhancement.
3358 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3359 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3360 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3361 vmware_password         | **Optional.** The username's password. No value defined as default.
3362 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
3363
3364
3365 **vmware-esx-soap-host-mem-usage**
3366
3367 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage.
3368
3369 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3370
3371 Name                    | Description
3372 ------------------------|--------------
3373 vmware_host             | **Required.** ESX or ESXi hostname.
3374 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3375 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3376 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".
3377 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".
3378 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3379 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3380 vmware_sessionfile      | **Optional.** Session file name enhancement.
3381 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3382 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3383 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3384 vmware_password         | **Optional.** The username's password. No value defined as default.
3385 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
3386 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3387 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3388
3389
3390 **vmware-esx-soap-host-mem-consumed**
3391
3392 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.
3393
3394 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3395
3396 Name                    | Description
3397 ------------------------|--------------
3398 vmware_host             | **Required.** ESX or ESXi hostname.
3399 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3400 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3401 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".
3402 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".
3403 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3404 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3405 vmware_sessionfile      | **Optional.** Session file name enhancement.
3406 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3407 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3408 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3409 vmware_password         | **Optional.** The username's password. No value defined as default.
3410 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
3411 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3412 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3413
3414
3415 **vmware-esx-soap-host-mem-swapused**
3416
3417 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.
3418
3419 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3420
3421 Name                    | Description
3422 ------------------------|--------------
3423 vmware_host             | **Required.** ESX or ESXi hostname.
3424 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3425 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3426 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".
3427 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".
3428 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3429 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3430 vmware_sessionfile      | **Optional.** Session file name enhancement.
3431 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3432 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3433 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3434 vmware_password         | **Optional.** The username's password. No value defined as default.
3435 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
3436 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3437 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3438 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.
3439
3440
3441 **vmware-esx-soap-host-mem-overhead**
3442
3443 Check command object for the `check_vmware_esx` plugin. Additional mem used by VM Server in MB.
3444
3445 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3446
3447 Name                    | Description
3448 ------------------------|--------------
3449 vmware_host             | **Required.** ESX or ESXi hostname.
3450 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3451 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3452 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".
3453 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".
3454 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3455 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3456 vmware_sessionfile      | **Optional.** Session file name enhancement.
3457 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3458 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3459 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3460 vmware_password         | **Optional.** The username's password. No value defined as default.
3461 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
3462 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3463 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3464
3465
3466 **vmware-esx-soap-host-mem-memctl**
3467
3468 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.
3469
3470 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3471
3472 Name                    | Description
3473 ------------------------|--------------
3474 vmware_host             | **Required.** ESX or ESXi hostname.
3475 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3476 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3477 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".
3478 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".
3479 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3480 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3481 vmware_sessionfile      | **Optional.** Session file name enhancement.
3482 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3483 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3484 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3485 vmware_password         | **Optional.** The username's password. No value defined as default.
3486 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
3487 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3488 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3489 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.
3490
3491
3492 **vmware-esx-soap-host-net**
3493
3494 Check command object for the `check_vmware_esx` plugin. Shows net info.
3495
3496 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3497
3498 Name                    | Description
3499 ------------------------|--------------
3500 vmware_host             | **Required.** ESX or ESXi hostname.
3501 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3502 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3503 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".
3504 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".
3505 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3506 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3507 vmware_sessionfile      | **Optional.** Session file name enhancement.
3508 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3509 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3510 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3511 vmware_password         | **Optional.** The username's password. No value defined as default.
3512 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
3513 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3514 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3515
3516
3517 **vmware-esx-soap-host-net-usage**
3518
3519 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
3520
3521 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3522
3523 Name                    | Description
3524 ------------------------|--------------
3525 vmware_host             | **Required.** ESX or ESXi hostname.
3526 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3527 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3528 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".
3529 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".
3530 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3531 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3532 vmware_sessionfile      | **Optional.** Session file name enhancement.
3533 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3534 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3535 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3536 vmware_password         | **Optional.** The username's password. No value defined as default.
3537 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
3538 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3539 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3540
3541
3542 **vmware-esx-soap-host-net-receive**
3543
3544 Check command object for the `check_vmware_esx` plugin. Data receive in KBps(Kilobytes per Second).
3545
3546 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3547
3548 Name                    | Description
3549 ------------------------|--------------
3550 vmware_host             | **Required.** ESX or ESXi hostname.
3551 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3552 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3553 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".
3554 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".
3555 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3556 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3557 vmware_sessionfile      | **Optional.** Session file name enhancement.
3558 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3559 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3560 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3561 vmware_password         | **Optional.** The username's password. No value defined as default.
3562 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
3563 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3564 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3565
3566
3567 **vmware-esx-soap-host-net-send**
3568
3569 Check command object for the `check_vmware_esx` plugin. Data send in KBps(Kilobytes per Second).
3570
3571 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3572
3573 Name                    | Description
3574 ------------------------|--------------
3575 vmware_host             | **Required.** ESX or ESXi hostname.
3576 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3577 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3578 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".
3579 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".
3580 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3581 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3582 vmware_sessionfile      | **Optional.** Session file name enhancement.
3583 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3584 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3585 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3586 vmware_password         | **Optional.** The username's password. No value defined as default.
3587 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
3588 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3589 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3590
3591
3592 **vmware-esx-soap-host-net-nic**
3593
3594 Check command object for the `check_vmware_esx` plugin. Check all active NICs.
3595
3596 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3597
3598 Name                    | Description
3599 ------------------------|--------------
3600 vmware_host             | **Required.** ESX or ESXi hostname.
3601 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3602 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3603 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".
3604 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".
3605 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3606 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3607 vmware_sessionfile      | **Optional.** Session file name enhancement.
3608 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3609 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3610 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3611 vmware_password         | **Optional.** The username's password. No value defined as default.
3612 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
3613 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3614 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3615
3616
3617 **vmware-esx-soap-host-volumes**
3618
3619 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
3620
3621 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3622
3623 Name                    | Description
3624 ------------------------|--------------
3625 vmware_host             | **Required.** ESX or ESXi hostname.
3626 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3627 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3628 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".
3629 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".
3630 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3631 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3632 vmware_sessionfile      | **Optional.** Session file name enhancement.
3633 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3634 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3635 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3636 vmware_password         | **Optional.** The username's password. No value defined as default.
3637 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
3638 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3639 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3640 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3641 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3642 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3643 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3644 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3645 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3646 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3647 vmware_spaceleft        | **Optional.** This has to be used in conjunction with thresholds as mentioned above.
3648
3649
3650 **vmware-esx-soap-host-io**
3651
3652 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.
3653
3654 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3655
3656 Name                    | Description
3657 ------------------------|--------------
3658 vmware_host             | **Required.** ESX or ESXi hostname.
3659 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3660 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3661 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".
3662 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".
3663 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3664 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3665 vmware_sessionfile      | **Optional.** Session file name enhancement.
3666 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3667 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3668 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3669 vmware_password         | **Optional.** The username's password. No value defined as default.
3670 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
3671
3672
3673 **vmware-esx-soap-host-io-aborted**
3674
3675 Check command object for the `check_vmware_esx` plugin. Number of aborted SCSI commands.
3676
3677 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3678
3679 Name                    | Description
3680 ------------------------|--------------
3681 vmware_host             | **Required.** ESX or ESXi hostname.
3682 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3683 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3684 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".
3685 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".
3686 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3687 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3688 vmware_sessionfile      | **Optional.** Session file name enhancement.
3689 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3690 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3691 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3692 vmware_password         | **Optional.** The username's password. No value defined as default.
3693 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
3694 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3695 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3696
3697
3698 **vmware-esx-soap-host-io-resets**
3699
3700 Check command object for the `check_vmware_esx` plugin. Number of SCSI bus resets.
3701
3702 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3703
3704 Name                    | Description
3705 ------------------------|--------------
3706 vmware_host             | **Required.** ESX or ESXi hostname.
3707 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3708 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3709 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".
3710 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".
3711 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3712 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3713 vmware_sessionfile      | **Optional.** Session file name enhancement.
3714 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3715 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3716 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3717 vmware_password         | **Optional.** The username's password. No value defined as default.
3718 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
3719 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3720 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3721
3722
3723 **vmware-esx-soap-host-io-read**
3724
3725 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
3726
3727 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3728
3729 Name                    | Description
3730 ------------------------|--------------
3731 vmware_host             | **Required.** ESX or ESXi hostname.
3732 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3733 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3734 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".
3735 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".
3736 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3737 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3738 vmware_sessionfile      | **Optional.** Session file name enhancement.
3739 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3740 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3741 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3742 vmware_password         | **Optional.** The username's password. No value defined as default.
3743 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
3744 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3745 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3746
3747
3748 **vmware-esx-soap-host-io-read-latency**
3749
3750 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.
3751
3752 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3753
3754 Name                    | Description
3755 ------------------------|--------------
3756 vmware_host             | **Required.** ESX or ESXi hostname.
3757 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3758 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3759 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".
3760 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".
3761 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3762 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3763 vmware_sessionfile      | **Optional.** Session file name enhancement.
3764 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3765 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3766 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3767 vmware_password         | **Optional.** The username's password. No value defined as default.
3768 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
3769 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3770 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3771
3772
3773 **vmware-esx-soap-host-io-write**
3774
3775 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
3776
3777 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3778
3779 Name                    | Description
3780 ------------------------|--------------
3781 vmware_host             | **Required.** ESX or ESXi hostname.
3782 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3783 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3784 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".
3785 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".
3786 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3787 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3788 vmware_sessionfile      | **Optional.** Session file name enhancement.
3789 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3790 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3791 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3792 vmware_password         | **Optional.** The username's password. No value defined as default.
3793 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
3794 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3795 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3796
3797
3798 **vmware-esx-soap-host-io-write-latency**
3799
3800 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.
3801
3802 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3803
3804 Name                    | Description
3805 ------------------------|--------------
3806 vmware_host             | **Required.** ESX or ESXi hostname.
3807 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3808 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3809 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".
3810 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".
3811 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3812 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3813 vmware_sessionfile      | **Optional.** Session file name enhancement.
3814 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3815 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3816 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3817 vmware_password         | **Optional.** The username's password. No value defined as default.
3818 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
3819 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3820 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3821
3822
3823 **vmware-esx-soap-host-io-usage**
3824
3825 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.
3826
3827 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3828
3829 Name                    | Description
3830 ------------------------|--------------
3831 vmware_host             | **Required.** ESX or ESXi hostname.
3832 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3833 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3834 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".
3835 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".
3836 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3837 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3838 vmware_sessionfile      | **Optional.** Session file name enhancement.
3839 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3840 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3841 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3842 vmware_password         | **Optional.** The username's password. No value defined as default.
3843 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
3844 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3845 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3846
3847
3848 **vmware-esx-soap-host-io-kernel-latency**
3849
3850 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent by VMkernel processing each SCSI command.
3851
3852 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3853
3854 Name                    | Description
3855 ------------------------|--------------
3856 vmware_host             | **Required.** ESX or ESXi hostname.
3857 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3858 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3859 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".
3860 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".
3861 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3862 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3863 vmware_sessionfile      | **Optional.** Session file name enhancement.
3864 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3865 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3866 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3867 vmware_password         | **Optional.** The username's password. No value defined as default.
3868 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
3869 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3870 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3871
3872
3873 **vmware-esx-soap-host-io-device-latency**
3874
3875 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) to complete a SCSI command from the physical device.
3876
3877 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3878
3879 Name                    | Description
3880 ------------------------|--------------
3881 vmware_host             | **Required.** ESX or ESXi hostname.
3882 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3883 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3884 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".
3885 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".
3886 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3887 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3888 vmware_sessionfile      | **Optional.** Session file name enhancement.
3889 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3890 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3891 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3892 vmware_password         | **Optional.** The username's password. No value defined as default.
3893 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
3894 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3895 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3896
3897
3898 **vmware-esx-soap-host-io-queue-latency**
3899
3900 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent in the VMkernel queue.
3901
3902 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3903
3904 Name                    | Description
3905 ------------------------|--------------
3906 vmware_host             | **Required.** ESX or ESXi hostname.
3907 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3908 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3909 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".
3910 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".
3911 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3912 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3913 vmware_sessionfile      | **Optional.** Session file name enhancement.
3914 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3915 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3916 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3917 vmware_password         | **Optional.** The username's password. No value defined as default.
3918 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
3919 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3920 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3921
3922
3923 **vmware-esx-soap-host-io-total-latency**
3924
3925 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.
3926
3927 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3928
3929 Name                    | Description
3930 ------------------------|--------------
3931 vmware_host             | **Required.** ESX or ESXi hostname.
3932 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3933 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3934 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".
3935 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".
3936 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3937 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3938 vmware_sessionfile      | **Optional.** Session file name enhancement.
3939 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3940 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3941 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3942 vmware_password         | **Optional.** The username's password. No value defined as default.
3943 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
3944 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3945 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3946
3947
3948 **vmware-esx-soap-host-media**
3949
3950 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.
3951
3952 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3953
3954 Name                    | Description
3955 ------------------------|--------------
3956 vmware_host             | **Required.** ESX or ESXi hostname.
3957 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3958 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3959 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".
3960 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".
3961 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3962 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3963 vmware_sessionfile      | **Optional.** Session file name enhancement.
3964 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3965 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3966 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3967 vmware_password         | **Optional.** The username's password. No value defined as default.
3968 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
3969 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
3970 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
3971 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3972 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.
3973
3974
3975 **vmware-esx-soap-host-service**
3976
3977 Check command object for the `check_vmware_esx` plugin. Shows host service info.
3978
3979 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3980
3981 Name                    | Description
3982 ------------------------|--------------
3983 vmware_host             | **Required.** ESX or ESXi hostname.
3984 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3985 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3986 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".
3987 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".
3988 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3989 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3990 vmware_sessionfile      | **Optional.** Session file name enhancement.
3991 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3992 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3993 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3994 vmware_password         | **Optional.** The username's password. No value defined as default.
3995 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
3996 vmware_exclude          | **Optional.** Blacklist services name. No value defined as default.
3997 vmware_include          | **Optional.** Whitelist services name. No value defined as default.
3998 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3999 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.
4000
4001
4002 **vmware-esx-soap-host-runtime**
4003
4004 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.
4005
4006 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4007
4008 Name                    | Description
4009 ------------------------|--------------
4010 vmware_host             | **Required.** ESX or ESXi hostname.
4011 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4012 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4013 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".
4014 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".
4015 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4016 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4017 vmware_sessionfile      | **Optional.** Session file name enhancement.
4018 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4019 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4020 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4021 vmware_password         | **Optional.** The username's password. No value defined as default.
4022 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
4023
4024
4025 **vmware-esx-soap-host-runtime-con**
4026
4027 Check command object for the `check_vmware_esx` plugin. Shows connection state.
4028
4029 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4030
4031 Name                    | Description
4032 ------------------------|--------------
4033 vmware_host             | **Required.** ESX or ESXi hostname.
4034 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4035 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4036 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".
4037 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".
4038 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4039 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4040 vmware_sessionfile      | **Optional.** Session file name enhancement.
4041 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4042 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4043 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4044 vmware_password         | **Optional.** The username's password. No value defined as default.
4045 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
4046
4047
4048 **vmware-esx-soap-host-runtime-listvms**
4049
4050 Check command object for the `check_vmware_esx` plugin. List of VMware machines and their status.
4051
4052 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4053
4054 Name                    | Description
4055 ------------------------|--------------
4056 vmware_host             | **Required.** ESX or ESXi hostname.
4057 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4058 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4059 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".
4060 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".
4061 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4062 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4063 vmware_sessionfile      | **Optional.** Session file name enhancement.
4064 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4065 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4066 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4067 vmware_password         | **Optional.** The username's password. No value defined as default.
4068 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
4069 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4070 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4071 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4072 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.
4073
4074
4075 **vmware-esx-soap-host-runtime-status**
4076
4077 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
4078
4079 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4080
4081 Name                    | Description
4082 ------------------------|--------------
4083 vmware_host             | **Required.** ESX or ESXi hostname.
4084 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4085 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4086 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".
4087 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".
4088 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4089 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4090 vmware_sessionfile      | **Optional.** Session file name enhancement.
4091 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4092 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4093 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4094 vmware_password         | **Optional.** The username's password. No value defined as default.
4095 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
4096
4097
4098 **vmware-esx-soap-host-runtime-health**
4099
4100 Check command object for the `check_vmware_esx` plugin. Checks cpu/storage/memory/sensor status.
4101
4102 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4103
4104 Name                    | Description
4105 ------------------------|--------------
4106 vmware_host             | **Required.** ESX or ESXi hostname.
4107 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4108 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4109 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".
4110 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".
4111 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4112 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4113 vmware_sessionfile      | **Optional.** Session file name enhancement.
4114 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4115 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4116 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4117 vmware_password         | **Optional.** The username's password. No value defined as default.
4118 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
4119 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4120 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4121 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4122
4123
4124 **vmware-esx-soap-host-runtime-health-listsensors**
4125
4126 Check command object for the `check_vmware_esx` plugin. List all available sensors(use for listing purpose only).
4127
4128 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4129
4130 Name                    | Description
4131 ------------------------|--------------
4132 vmware_host             | **Required.** ESX or ESXi hostname.
4133 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4134 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4135 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".
4136 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".
4137 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4138 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4139 vmware_sessionfile      | **Optional.** Session file name enhancement.
4140 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4141 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4142 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4143 vmware_password         | **Optional.** The username's password. No value defined as default.
4144 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
4145 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4146 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4147 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4148
4149
4150 **vmware-esx-soap-host-runtime-health-nostoragestatus**
4151
4152 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**.
4153
4154 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4155
4156 Name                    | Description
4157 ------------------------|--------------
4158 vmware_host             | **Required.** ESX or ESXi hostname.
4159 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4160 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4161 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".
4162 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".
4163 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4164 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4165 vmware_sessionfile      | **Optional.** Session file name enhancement.
4166 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4167 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4168 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4169 vmware_password         | **Optional.** The username's password. No value defined as default.
4170 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
4171 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4172 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4173 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4174
4175
4176 **vmware-esx-soap-host-runtime-storagehealth**
4177
4178 Check command object for the `check_vmware_esx` plugin. Local storage status check.
4179
4180 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4181
4182 Name                    | Description
4183 ------------------------|--------------
4184 vmware_host             | **Required.** ESX or ESXi hostname.
4185 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4186 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4187 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".
4188 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".
4189 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4190 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4191 vmware_sessionfile      | **Optional.** Session file name enhancement.
4192 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4193 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4194 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4195 vmware_password         | **Optional.** The username's password. No value defined as default.
4196 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
4197 vmware_exclude          | **Optional.** Blacklist storage name. No value defined as default.
4198 vmware_include          | **Optional.** Whitelist storage name. No value defined as default.
4199 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4200 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.
4201
4202
4203 **vmware-esx-soap-host-runtime-temp**
4204
4205 Check command object for the `check_vmware_esx` plugin. Lists all temperature sensors.
4206
4207 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4208
4209 Name                    | Description
4210 ------------------------|--------------
4211 vmware_host             | **Required.** ESX or ESXi hostname.
4212 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4213 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4214 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".
4215 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".
4216 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4217 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4218 vmware_sessionfile      | **Optional.** Session file name enhancement.
4219 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4220 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4221 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4222 vmware_password         | **Optional.** The username's password. No value defined as default.
4223 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
4224 vmware_exclude          | **Optional.** Blacklist sensor name. No value defined as default.
4225 vmware_include          | **Optional.** Whitelist sensor name. No value defined as default.
4226 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4227 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.
4228
4229
4230 **vmware-esx-soap-host-runtime-issues**
4231
4232 Check command object for the `check_vmware_esx` plugin. Lists all configuration issues for the host.
4233
4234 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4235
4236 Name                    | Description
4237 ------------------------|--------------
4238 vmware_host             | **Required.** ESX or ESXi hostname.
4239 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4240 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4241 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".
4242 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".
4243 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4244 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4245 vmware_sessionfile      | **Optional.** Session file name enhancement.
4246 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4247 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4248 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4249 vmware_password         | **Optional.** The username's password. No value defined as default.
4250 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
4251 vmware_exclude          | **Optional.** Blacklist configuration issues. No value defined as default.
4252 vmware_include          | **Optional.** Whitelist configuration issues. No value defined as default.
4253 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4254 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.
4255
4256
4257 **vmware-esx-soap-host-storage**
4258
4259 Check command object for the `check_vmware_esx` plugin. Shows Host storage info.
4260
4261 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4262
4263 Name                    | Description
4264 ------------------------|--------------
4265 vmware_host             | **Required.** ESX or ESXi hostname.
4266 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4267 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4268 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".
4269 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".
4270 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4271 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4272 vmware_sessionfile      | **Optional.** Session file name enhancement.
4273 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4274 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4275 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4276 vmware_password         | **Optional.** The username's password. No value defined as default.
4277 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
4278 vmware_exclude          | **Optional.** Blacklist adapters, luns and paths. No value defined as default.
4279 vmware_include          | **Optional.** Whitelist adapters, luns and paths. No value defined as default.
4280 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4281
4282
4283 **vmware-esx-soap-host-storage-adapter**
4284
4285 Check command object for the `check_vmware_esx` plugin. List host bus adapters.
4286
4287 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4288
4289 Name                    | Description
4290 ------------------------|--------------
4291 vmware_host             | **Required.** ESX or ESXi hostname.
4292 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4293 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4294 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".
4295 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".
4296 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4297 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4298 vmware_sessionfile      | **Optional.** Session file name enhancement.
4299 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4300 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4301 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4302 vmware_password         | **Optional.** The username's password. No value defined as default.
4303 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
4304 vmware_exclude          | **Optional.** Blacklist adapters. No value defined as default.
4305 vmware_include          | **Optional.** Whitelist adapters. No value defined as default.
4306 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4307 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.
4308
4309
4310 **vmware-esx-soap-host-storage-lun**
4311
4312 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.
4313
4314 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4315
4316 Name                    | Description
4317 ------------------------|--------------
4318 vmware_host             | **Required.** ESX or ESXi hostname.
4319 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4320 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4321 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".
4322 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".
4323 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4324 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4325 vmware_sessionfile      | **Optional.** Session file name enhancement.
4326 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4327 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4328 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4329 vmware_password         | **Optional.** The username's password. No value defined as default.
4330 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
4331 vmware_exclude          | **Optional.** Blacklist luns. No value defined as default.
4332 vmware_include          | **Optional.** Whitelist luns. No value defined as default.
4333 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4334 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.
4335
4336
4337 **vmware-esx-soap-host-storage-path**
4338
4339 Check command object for the `check_vmware_esx` plugin. List multipaths and the associated paths.
4340
4341 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4342
4343 Name                    | Description
4344 ------------------------|--------------
4345 vmware_host             | **Required.** ESX or ESXi hostname.
4346 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4347 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4348 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".
4349 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".
4350 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4351 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4352 vmware_sessionfile      | **Optional.** Session file name enhancement.
4353 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4354 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4355 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4356 vmware_password         | **Optional.** The username's password. No value defined as default.
4357 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
4358 vmware_alertonly        | **Optional.** List only alerting units. Important here to avoid masses of data. Defaults to "false".
4359 vmware_exclude          | **Optional.** Blacklist paths. No value defined as default.
4360 vmware_include          | **Optional.** Whitelist paths. No value defined as default.
4361 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4362 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.
4363 vmware_standbyok        | **Optional.** For storage systems where a standby multipath is ok and not a warning. Defaults to false.
4364
4365
4366 **vmware-esx-soap-vm-cpu**
4367
4368 Check command object for the `check_vmware_esx` plugin. Shows all CPU usage info.
4369
4370 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4371
4372 Name                    | Description
4373 ------------------------|--------------
4374 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4375 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4376 vmware_vmname           | **Required.** Virtual machine name.
4377 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4378 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".
4379 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".
4380 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4381 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4382 vmware_sessionfile      | **Optional.** Session file name enhancement.
4383 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4384 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4385 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4386 vmware_password         | **Optional.** The username's password. No value defined as default.
4387 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
4388
4389
4390
4391 **vmware-esx-soap-vm-cpu-ready**
4392
4393 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.
4394
4395 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4396
4397 Name                    | Description
4398 ------------------------|--------------
4399 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4400 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4401 vmware_vmname           | **Required.** Virtual machine name.
4402 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4403 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".
4404 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".
4405 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4406 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4407 vmware_sessionfile      | **Optional.** Session file name enhancement.
4408 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4409 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4410 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4411 vmware_password         | **Optional.** The username's password. No value defined as default.
4412 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
4413 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4414 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4415
4416
4417 **vmware-esx-soap-vm-cpu-wait**
4418
4419 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.
4420
4421 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4422
4423 Name                    | Description
4424 ------------------------|--------------
4425 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4426 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4427 vmware_vmname           | **Required.** Virtual machine name.
4428 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4429 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".
4430 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".
4431 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4432 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4433 vmware_sessionfile      | **Optional.** Session file name enhancement.
4434 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4435 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4436 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4437 vmware_password         | **Optional.** The username's password. No value defined as default.
4438 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
4439 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4440 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4441
4442
4443 **vmware-esx-soap-vm-cpu-usage**
4444
4445 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.
4446
4447 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4448
4449 Name                    | Description
4450 ------------------------|--------------
4451 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4452 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4453 vmware_vmname           | **Required.** Virtual machine name.
4454 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4455 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".
4456 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".
4457 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4458 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4459 vmware_sessionfile      | **Optional.** Session file name enhancement.
4460 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4461 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4462 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4463 vmware_password         | **Optional.** The username's password. No value defined as default.
4464 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
4465 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4466 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4467
4468
4469 **vmware-esx-soap-vm-mem**
4470
4471 Check command object for the `check_vmware_esx` plugin. Shows all memory info, except overall.
4472
4473 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4474
4475 Name                    | Description
4476 ------------------------|--------------
4477 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4478 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4479 vmware_vmname           | **Required.** Virtual machine name.
4480 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4481 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".
4482 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".
4483 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4484 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4485 vmware_sessionfile      | **Optional.** Session file name enhancement.
4486 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4487 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4488 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4489 vmware_password         | **Optional.** The username's password. No value defined as default.
4490 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
4491
4492
4493 **vmware-esx-soap-vm-mem-usage**
4494
4495 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage of configured virtual machine "physical" memory.
4496
4497 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4498
4499 Name                    | Description
4500 ------------------------|--------------
4501 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4502 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4503 vmware_vmname           | **Required.** Virtual machine name.
4504 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4505 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".
4506 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".
4507 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4508 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4509 vmware_sessionfile      | **Optional.** Session file name enhancement.
4510 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4511 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4512 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4513 vmware_password         | **Optional.** The username's password. No value defined as default.
4514 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
4515 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4516 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4517
4518
4519 **vmware-esx-soap-vm-mem-consumed**
4520
4521 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>
4522 **vm consumed memory = memory granted -- memory saved**
4523
4524 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4525
4526 Name                    | Description
4527 ------------------------|--------------
4528 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4529 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4530 vmware_vmname           | **Required.** Virtual machine name.
4531 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4532 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".
4533 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".
4534 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4535 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4536 vmware_sessionfile      | **Optional.** Session file name enhancement.
4537 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4538 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4539 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4540 vmware_password         | **Optional.** The username's password. No value defined as default.
4541 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
4542 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4543 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4544
4545
4546 **vmware-esx-soap-vm-mem-memctl**
4547
4548 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.
4549
4550 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4551
4552 Name                    | Description
4553 ------------------------|--------------
4554 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4555 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4556 vmware_vmname           | **Required.** Virtual machine name.
4557 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4558 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".
4559 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".
4560 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4561 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4562 vmware_sessionfile      | **Optional.** Session file name enhancement.
4563 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4564 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4565 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4566 vmware_password         | **Optional.** The username's password. No value defined as default.
4567 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
4568 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4569 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4570
4571
4572
4573 **vmware-esx-soap-vm-net**
4574
4575 Check command object for the `check_vmware_esx` plugin. Shows net info.
4576
4577 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4578
4579 Name                    | Description
4580 ------------------------|--------------
4581 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4582 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4583 vmware_vmname           | **Required.** Virtual machine name.
4584 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4585 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".
4586 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".
4587 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4588 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4589 vmware_sessionfile      | **Optional.** Session file name enhancement.
4590 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4591 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4592 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4593 vmware_password         | **Optional.** The username's password. No value defined as default.
4594 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
4595
4596
4597 **vmware-esx-soap-vm-net-usage**
4598
4599 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
4600
4601 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4602
4603 Name                    | Description
4604 ------------------------|--------------
4605 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4606 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4607 vmware_vmname           | **Required.** Virtual machine name.
4608 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4609 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".
4610 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".
4611 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4612 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4613 vmware_sessionfile      | **Optional.** Session file name enhancement.
4614 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4615 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4616 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4617 vmware_password         | **Optional.** The username's password. No value defined as default.
4618 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
4619 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4620 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4621
4622
4623 **vmware-esx-soap-vm-net-receive**
4624
4625 Check command object for the `check_vmware_esx` plugin. Receive in KBps(Kilobytes per Second).
4626
4627 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4628
4629 Name                    | Description
4630 ------------------------|--------------
4631 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4632 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4633 vmware_vmname           | **Required.** Virtual machine name.
4634 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4635 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".
4636 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".
4637 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4638 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4639 vmware_sessionfile      | **Optional.** Session file name enhancement.
4640 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4641 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4642 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4643 vmware_password         | **Optional.** The username's password. No value defined as default.
4644 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
4645 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4646 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4647
4648
4649 **vmware-esx-soap-vm-net-send**
4650
4651 Check command object for the `check_vmware_esx` plugin. Send in KBps(Kilobytes per Second).
4652
4653 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4654
4655 Name                    | Description
4656 ------------------------|--------------
4657 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4658 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4659 vmware_vmname           | **Required.** Virtual machine name.
4660 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4661 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".
4662 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".
4663 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4664 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4665 vmware_sessionfile      | **Optional.** Session file name enhancement.
4666 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4667 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4668 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4669 vmware_password         | **Optional.** The username's password. No value defined as default.
4670 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
4671 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4672 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4673
4674
4675 **vmware-esx-soap-vm-io**
4676
4677 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.
4678
4679 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4680
4681 Name                    | Description
4682 ------------------------|--------------
4683 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4684 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4685 vmware_vmname           | **Required.** Virtual machine name.
4686 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4687 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".
4688 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".
4689 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4690 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4691 vmware_sessionfile      | **Optional.** Session file name enhancement.
4692 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4693 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4694 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4695 vmware_password         | **Optional.** The username's password. No value defined as default.
4696 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
4697
4698
4699 **vmware-esx-soap-vm-io-read**
4700
4701 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
4702
4703 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4704
4705 Name                    | Description
4706 ------------------------|--------------
4707 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4708 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4709 vmware_vmname           | **Required.** Virtual machine name.
4710 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4711 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".
4712 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".
4713 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4714 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4715 vmware_sessionfile      | **Optional.** Session file name enhancement.
4716 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4717 vmware_nosession        | **Optional.** No auth session - IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4718 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4719 vmware_password         | **Optional.** The username's password. No value defined as default.
4720 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
4721 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4722 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4723
4724
4725 **vmware-esx-soap-vm-io-write**
4726
4727 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
4728
4729 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4730
4731 Name                    | Description
4732 ------------------------|--------------
4733 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4734 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4735 vmware_vmname           | **Required.** Virtual machine name.
4736 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4737 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".
4738 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".
4739 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4740 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4741 vmware_sessionfile      | **Optional.** Session file name enhancement.
4742 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4743 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4744 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4745 vmware_password         | **Optional.** The username's password. No value defined as default.
4746 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
4747 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4748 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4749
4750
4751 **vmware-esx-soap-vm-io-usage**
4752
4753 Check command object for the `check_vmware_esx` plugin. Aggregated disk I/O rate.
4754
4755 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4756
4757 Name                    | Description
4758 ------------------------|--------------
4759 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4760 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4761 vmware_vmname           | **Required.** Virtual machine name.
4762 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4763 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".
4764 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".
4765 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4766 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4767 vmware_sessionfile      | **Optional.** Session file name enhancement.
4768 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4769 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4770 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4771 vmware_password         | **Optional.** The username's password. No value defined as default.
4772 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
4773 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4774 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4775
4776
4777 **vmware-esx-soap-vm-runtime**
4778
4779 Check command object for the `check_vmware_esx` plugin. Shows virtual machine runtime info.
4780
4781 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4782
4783 Name                    | Description
4784 ------------------------|--------------
4785 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4786 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4787 vmware_vmname           | **Required.** Virtual machine name.
4788 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4789 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".
4790 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".
4791 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4792 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4793 vmware_sessionfile      | **Optional.** Session file name enhancement.
4794 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4795 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4796 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4797 vmware_password         | **Optional.** The username's password. No value defined as default.
4798 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
4799
4800
4801 **vmware-esx-soap-vm-runtime-con**
4802
4803 Check command object for the `check_vmware_esx` plugin. Shows the connection state.
4804
4805 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4806
4807 Name                    | Description
4808 ------------------------|--------------
4809 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4810 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4811 vmware_vmname           | **Required.** Virtual machine name.
4812 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4813 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".
4814 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".
4815 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4816 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4817 vmware_sessionfile      | **Optional.** Session file name enhancement.
4818 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4819 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4820 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4821 vmware_password         | **Optional.** The username's password. No value defined as default.
4822 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
4823
4824
4825 **vmware-esx-soap-vm-runtime-powerstate**
4826
4827 Check command object for the `check_vmware_esx` plugin. Shows virtual machine power state: poweredOn, poweredOff or suspended.
4828
4829 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4830
4831 Name                    | Description
4832 ------------------------|--------------
4833 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4834 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4835 vmware_vmname           | **Required.** Virtual machine name.
4836 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4837 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".
4838 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".
4839 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4840 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4841 vmware_sessionfile      | **Optional.** Session file name enhancement.
4842 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4843 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4844 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4845 vmware_password         | **Optional.** The username's password. No value defined as default.
4846 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
4847
4848
4849 **vmware-esx-soap-vm-runtime-status**
4850
4851 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
4852
4853 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4854
4855 Name                    | Description
4856 ------------------------|--------------
4857 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4858 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4859 vmware_vmname           | **Required.** Virtual machine name.
4860 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4861 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".
4862 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".
4863 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4864 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4865 vmware_sessionfile      | **Optional.** Session file name enhancement.
4866 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4867 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4868 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4869 vmware_password         | **Optional.** The username's password. No value defined as default.
4870 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
4871
4872
4873 **vmware-esx-soap-vm-runtime-consoleconnections**
4874
4875 Check command object for the `check_vmware_esx` plugin. Console connections to virtual machine.
4876
4877 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4878
4879 Name                    | Description
4880 ------------------------|--------------
4881 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4882 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4883 vmware_vmname           | **Required.** Virtual machine name.
4884 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4885 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".
4886 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".
4887 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4888 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4889 vmware_sessionfile      | **Optional.** Session file name enhancement.
4890 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4891 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4892 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4893 vmware_password         | **Optional.** The username's password. No value defined as default.
4894 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
4895 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4896 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4897
4898
4899 **vmware-esx-soap-vm-runtime-gueststate**
4900
4901 Check command object for the `check_vmware_esx` plugin. Guest OS status. Needs VMware Tools installed and running.
4902
4903 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4904
4905 Name                    | Description
4906 ------------------------|--------------
4907 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4908 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4909 vmware_vmname           | **Required.** Virtual machine name.
4910 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4911 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".
4912 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".
4913 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4914 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4915 vmware_sessionfile      | **Optional.** Session file name enhancement.
4916 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4917 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4918 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4919 vmware_password         | **Optional.** The username's password. No value defined as default.
4920 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
4921
4922 **vmware-esx-soap-vm-runtime-tools**
4923
4924 Check command object for the `check_vmware_esx` plugin. Guest OS status. VMware tools  status.
4925
4926 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4927
4928 Name                    | Description
4929 ------------------------|--------------
4930 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4931 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4932 vmware_vmname           | **Required.** Virtual machine name.
4933 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4934 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".
4935 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".
4936 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4937 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4938 vmware_sessionfile      | **Optional.** Session file name enhancement.
4939 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4940 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4941 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4942 vmware_password         | **Optional.** The username's password. No value defined as default.
4943 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
4944 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
4945
4946
4947 **vmware-esx-soap-vm-runtime-issues**
4948
4949 Check command object for the `check_vmware_esx` plugin. All issues for the virtual machine.
4950
4951 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4952
4953 Name                    | Description
4954 ------------------------|--------------
4955 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4956 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4957 vmware_vmname           | **Required.** Virtual machine name.
4958 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4959 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".
4960 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".
4961 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4962 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4963 vmware_sessionfile      | **Optional.** Session file name enhancement.
4964 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4965 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4966 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4967 vmware_password         | **Optional.** The username's password. No value defined as default.
4968 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
4969 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.
4970
4971
4972 ### Web <a id="plugin-contrib-web"></a>
4973
4974 This category includes all plugins for web-based checks.
4975
4976 #### apache_status <a id="plugin-contrib-command-apache_status"></a>
4977
4978 The [check_apache_status.pl](https://github.com/lbetz/check_apache_status) plugin
4979 uses the [/server-status](https://httpd.apache.org/docs/current/mod/mod_status.html)
4980 HTTP endpoint to monitor status metrics for the Apache webserver.
4981
4982 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4983
4984 Name                    | Description
4985 ------------------------|----------------------------------------------------------------------------------
4986 apache_status_address   | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
4987 apache_status_port      | **Optional.** the http port.
4988 apache_status_url       | **Optional.** URL to use, instead of the default (http://`apache_status_address`/server-status).
4989 apache_status_ssl       | **Optional.** set to use ssl connection
4990 apache_status_timeout   | **Optional.** timeout in seconds
4991 apache_status_warning   | **Optional.** Warning threshold (number of open slots, busy workers and idle workers that will cause a WARNING) like ':20,50,:50'.
4992 apache_status_critical  | **Optional.** Critical threshold (number of open slots, busy workers and idle workers that will cause a CRITICAL) like ':10,25,:20'.
4993
4994
4995 ### cert <a id="plugin-check-command-ssl_cert"></a>
4996
4997 The [check_ssl_cert](https://github.com/matteocorti/check_ssl_cert) plugin
4998 uses the openssl binary (and optional curl) to check a X.509 certificate.
4999
5000 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5001
5002 Name                      | Description
5003 --------------------------|--------------
5004 ssl_cert_address              | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5005 ssl_cert_port                 | **Optional.** TCP port number (default: 443).
5006 ssl_cert_file                 | **Optional.** Local file path. Works only if `ssl_cert_address` is set to "localhost".
5007 ssl_cert_warn                 | **Optional.** Minimum number of days a certificate has to be valid.
5008 ssl_cert_critical             | **Optional.** Minimum number of days a certificate has to be valid to issue a critical status.
5009 ssl_cert_cn                   | **Optional.** Pattern to match the CN of the certificate.
5010 ssl_cert_altnames             | **Optional.** Matches the pattern specified in -n with alternate
5011 ssl_cert_issuer               | **Optional.** Pattern to match the issuer of the certificate.
5012 ssl_cert_org                  | **Optional.** Pattern to match the organization of the certificate.
5013 ssl_cert_email                | **Optional.** Pattern to match the email address contained in the certificate.
5014 ssl_cert_serial               | **Optional.** Pattern to match the serial number.
5015 ssl_cert_noauth               | **Optional.** Ignore authority warnings (expiration only)
5016 ssl_cert_match_host           | **Optional.** Match CN with the host name.
5017 ssl_cert_selfsigned           | **Optional.** Allow self-signed certificate.
5018 ssl_cert_sni                  | **Optional.** Sets the TLS SNI (Server Name Indication) extension.
5019 ssl_cert_timeout              | **Optional.** Seconds before connection times out (default: 15)
5020 ssl_cert_protocol             | **Optional.** Use the specific protocol {http,smtp,pop3,imap,ftp,xmpp,irc,ldap} (default: http).
5021 ssl_cert_clientcert           | **Optional.** Use client certificate to authenticate.
5022 ssl_cert_clientpass           | **Optional.** Set passphrase for client certificate.
5023 ssl_cert_ssllabs              | **Optional.** SSL Labs assessment
5024 ssl_cert_ssllabs_nocache      | **Optional.** Forces a new check by SSL Labs
5025 ssl_cert_rootcert             | **Optional.** Root certificate or directory to be used for certificate validation.
5026 ssl_cert_ignore_signature     | **Optional.** Do not check if the certificate was signed with SHA1 od MD5.
5027 ssl_cert_ssl_version          | **Optional.** Force specific SSL version out of {ssl2,ssl3,tls1,tls1_1,tls1_2}.
5028 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.
5029 ssl_cert_cipher               | **Optional.** Cipher selection: force {ecdsa,rsa} authentication.
5030 ssl_cert_ignore_expiration    | **Optional.** Ignore expiration date.
5031 ssl_cert_ignore_ocsp          | **Optional.** Do not check revocation with OCSP.
5032
5033
5034 #### jmx4perl <a id="plugin-contrib-command-jmx4perl"></a>
5035
5036 The [check_jmx4perl](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl) plugin
5037 uses the HTTP API exposed by the [Jolokia](https://jolokia.org)
5038 web application and queries Java message beans on an application server. It is
5039 part of the `JMX::Jmx4Perl` Perl module which includes detailed
5040 [documentation](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl).
5041
5042 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5043
5044 Name                         | Description
5045 -----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------
5046 jmx4perl_url                 | **Required.** URL to agent web application. Defaults to "http://$address$:8080/jolokia".
5047 jmx4perl_product             | **Optional.** Name of app server product (e.g. jboss), by default is uses an auto detection facility.
5048 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.
5049 jmx4perl_mbean               | **Optional.** MBean name (e.g. java.lang:type=Memory).
5050 jmx4perl_attribute           | **Optional.** Attribute name (e.g. HeapMemoryUsage).
5051 jmx4perl_operation           | **Optional.** Operation to execute.
5052 jmx4perl_value               | **Optional.** Shortcut for specifying mbean/attribute/path. Slashes within names must be escaped with backslash.
5053 jmx4perl_delta               | **Optional.** Switches on incremental mode. Optional argument are seconds used for normalizing.
5054 jmx4perl_path                | **Optional.** Inner path for extracting a single value from a complex attribute or return value (e.g. used).
5055 jmx4perl_target              | **Optional.** JSR-160 Service URL specifing the target server.
5056 jmx4perl_target_user         | **Optional.** Username to use for JSR-160 connection.
5057 jmx4perl_target_password     | **Optional.** Password to use for JSR-160 connection.
5058 jmx4perl_proxy               | **Optional.** Proxy to use.
5059 jmx4perl_user                | **Optional.** User for HTTP authentication.
5060 jmx4perl_password            | **Optional.** Password for HTTP authentication.
5061 jmx4perl_name                | **Optional.** Name to use for output, by default a standard value based on the MBean and attribute will be used.
5062 jmx4perl_method              | **Optional.** HTTP method to use, either get or post. By default a method is determined automatically based on the request type.
5063 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.
5064 jmx4perl_base_mbean          | **Optional.** Base MBean name, interprets critical and warning values as relative in the range 0 .. 100%. Requires "jmx4perl_base_attribute".
5065 jmx4perl_base_attribute      | **Optional.** Base attribute for a relative check. Requires "jmx4perl_base_mbean".
5066 jmx4perl_base_path           | **Optional.** Base path for relative checks, where this path is used on the base attribute's value.
5067 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.
5068 jmx4perl_null                | **Optional.** Value which should be used in case of a null return value of an operation or attribute. Defaults to null.
5069 jmx4perl_string              | **Optional.** Force string comparison for critical and warning checks. Defaults to false.
5070 jmx4perl_numeric             | **Optional.** Force numeric comparison for critical and warning checks. Defaults to false.
5071 jmx4perl_critical            | **Optional.** Critical threshold for value.
5072 jmx4perl_warning             | **Optional.** Warning threshold for value.
5073 jmx4perl_label               | **Optional.** Label to be used for printing out the result of the check. For placeholders which can be used see the documentation.
5074 jmx4perl_perfdata            | **Optional.** Whether performance data should be omitted, which are included by default. Defaults to "on" for numeric values, to "off" for strings.
5075 jmx4perl_unknown_is_critical | **Optional.** Map UNKNOWN errors to errors with a CRITICAL status. Defaults to false.
5076 jmx4perl_timeout             | **Optional.** Seconds before plugin times out. Defaults to "15".
5077 jmx4perl_config              | **Optional.** Path to configuration file.
5078 jmx4perl_server              | **Optional.** Symbolic name of server url to use, which needs to be configured in the configuration file.
5079 jmx4perl_check               | **Optional.** Name of a check configuration as defined in the configuration file, use array if you need arguments.
5080
5081
5082 #### kdc <a id="plugin-contrib-command-kdc"></a>
5083
5084 The [check_kdc](https://exchange.nagios.org/directory/Plugins/Security/check_kdc/details) plugin
5085 uses the Kerberos `kinit` binary to monitor Kerberos 5 KDC by acquiring a ticket.
5086
5087 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5088
5089 Name            | Description
5090 ----------------|--------------------------------------------------------------------------
5091 kdc_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5092 kdc_port        | **Optional** Port on which KDC runs (default 88).
5093 kdc_principal   | **Required** Principal name to authenticate as (including realm).
5094 kdc_keytab      | **Required** Keytab file containing principal's key.
5095
5096
5097 #### nginx_status <a id="plugin-contrib-command-nginx_status"></a>
5098
5099 The [check_nginx_status.pl](https://github.com/regilero/check_nginx_status) plugin
5100 uses the [/nginx_status](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html)
5101 HTTP endpoint which provides metrics for monitoring Nginx.
5102
5103 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5104
5105 Name                            | Description
5106 --------------------------------|----------------------------------------------------------------------------------
5107 nginx_status_host_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5108 nginx_status_port               | **Optional.** the http port.
5109 nginx_status_url                | **Optional.** URL to use, instead of the default (http://`nginx_status_hostname`/nginx_status).
5110 nginx_status_servername         | **Optional.** ServerName to use if you specified an IP to match the good Virtualhost in your target.
5111 nginx_status_ssl                | **Optional.** set to use ssl connection.
5112 nginx_status_disable_sslverify          | **Optional.** set to disable SSL hostname verification.
5113 nginx_status_user               | **Optional.** Username for basic auth.
5114 nginx_status_pass               | **Optional.** Password for basic auth.
5115 nginx_status_realm              | **Optional.** Realm for basic auth.
5116 nginx_status_maxreach           | **Optional.** Number of max processes reached (since last check) that should trigger an alert.
5117 nginx_status_timeout            | **Optional.** timeout in seconds.
5118 nginx_status_warn               | **Optional.** Warning threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a WARNING) like '10000,100,200'.
5119 nginx_status_critical           | **Optional.** Critical threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a CRITICAL) like '20000,200,300'.
5120
5121
5122 #### rbl <a id="plugin-contrib-command-rbl"></a>
5123
5124 The [check_rbl](https://github.com/matteocorti/check_rbl) plugin
5125 uses the `Net::DNS` Perl library to check whether your SMTP server
5126 is blacklisted.
5127
5128 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5129
5130 Name            | Description
5131 ----------------|--------------------------------------------------------------------------
5132 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.
5133 rbl_server      | **Required** List of RBL servers as an array.
5134 rbl_warning     | **Optional** Number of blacklisting servers for a warning.
5135 rbl_critical    | **Optional** Number of blacklisting servers for a critical.
5136 tbl_timeout     | **Optional** Seconds before plugin times out (default: 15).
5137
5138
5139 #### squid <a id="plugin-contrib-command-squid"></a>
5140
5141 The [check_squid](https://exchange.icinga.com/exchange/check_squid) plugin
5142 uses the `squidclient` binary to monitor a [Squid proxy](http://www.squid-cache.org).
5143
5144 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5145
5146 Name                    | Description
5147 ------------------------|----------------------------------------------------------------------------------
5148 squid_hostname          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5149 squid_data              | **Optional.** Data to fetch (default: Connections) available data: Connections Cache Resources Memory FileDescriptors.
5150 squid_port              | **Optional.** Port number (default: 3128).
5151 squid_user              | **Optional.** WWW user.
5152 squid_password          | **Optional.** WWW password.
5153 squid_warning           | **Optional.** Warning threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5154 squid_critical          | **Optional.** Critical threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5155 squid_client            | **Optional.** Path of squidclient (default: /usr/bin/squidclient).
5156 squid_timeout           | **Optional.** Seconds before plugin times out (default: 15).
5157
5158
5159 #### webinject <a id="plugin-contrib-command-webinject"></a>
5160
5161 The [check_webinject](https://labs.consol.de/de/nagios/check_webinject/index.html) plugin
5162 uses [WebInject](http://www.webinject.org/manual.html) to test web applications
5163 and web services in an automated fashion.
5164 It can be used to test individual system components that have HTTP interfaces
5165 (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP Web Services, REST, etc),
5166 and can be used as a test harness to create a suite of HTTP level automated functional,
5167 acceptance, and regression tests. A test harness allows you to run many test cases
5168 and collect/report your results. WebInject offers real-time results
5169 display and may also be used for monitoring system response times.
5170
5171 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5172
5173 Name                    | Description
5174 ------------------------|--------------
5175 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.
5176 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.
5177 webinject_no_output     | **Optional.** Suppresses all output to STDOUT except the results summary.
5178 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.
5179 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.
5180 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.