]> granicus.if.org Git - icinga2/blob - doc/10-icinga-template-library.md
Merge pull request #5887 from Icinga/fix/windows-build-fix
[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. This parameter explicitly sets the port to 443 and ignores the URL if passed.
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
2027 ### snmp-interface <a id="plugin-check-command-snmp-interface"></a>
2028
2029 Check command object for the [check_snmp_int.pl](http://nagios.manubulon.com/snmp_int.html) plugin.
2030
2031 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2032
2033 Name                        | Description
2034 ----------------------------|--------------
2035 snmp_address                | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2036 snmp_nocrypt                | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2037 snmp_community              | **Optional.** The SNMP community. Defaults to "public".
2038 snmp_port                   | **Optional.** The SNMP port connection.
2039 snmp_v2                     | **Optional.** SNMP version to 2c. Defaults to false.
2040 snmp_v3                     | **Optional.** SNMP version to 3. Defaults to false.
2041 snmp_login                  | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2042 snmp_password               | **Required.** SNMP version 3 password. No value defined as default.
2043 snmp_v3_use_privpass        | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2044 snmp_v3_use_authprotocol    | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2045 snmp_authprotocol           | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2046 snmp_privpass               | **Required.** SNMP version 3 priv password. No value defined as default.
2047 snmp_warn                   | **Optional.** The warning threshold.
2048 snmp_crit                   | **Optional.** The critical threshold.
2049 snmp_interface              | **Optional.** Network interface name. Default to regex "eth0".
2050 snmp_interface_inverse      | **Optional.** Inverse Interface check, down is ok. Defaults to false as it is missing.
2051 snmp_interface_perf         | **Optional.** Check the input/output bandwidth of the interface. Defaults to true.
2052 snmp_interface_label        | **Optional.** Add label before speed in output: in=, out=, errors-out=, etc.
2053 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.
2054 snmp_interface_percent      | **Optional.** Output performance data in % of max speed. Defaults to false.
2055 snmp_interface_kbits        | **Optional.** Make the warning and critical levels in KBits/s. Defaults to true.
2056 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.
2057 snmp_interface_64bit        | **Optional.** Use 64 bits counters instead of the standard counters when checking bandwidth & performance data for interface >= 1Gbps. Defaults to false.
2058 snmp_interface_errors       | **Optional.** Add error & discard to Perfparse output. Defaults to true.
2059 snmp_interface_noregexp     | **Optional.** Do not use regexp to match interface name in description OID. Defaults to false.
2060 snmp_interface_delta        | **Optional.** Delta time of perfcheck. Defaults to "300" (5 min).
2061 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.
2062 snmp_interface_ifname       | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifName when looking up the interface's name.
2063 snmp_interface_ifalias      | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifAlias when looking up the interface's name.
2064 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`.
2065 snmp_perf                   | **Optional.** Enable perfdata values. Defaults to true.
2066 snmp_timeout                | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2067
2068 ### snmp-process <a id="plugin-check-command-snmp-process"></a>
2069
2070 Check command object for the [check_snmp_process.pl](http://nagios.manubulon.com/snmp_process.html) plugin.
2071
2072 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2073
2074 Name                       | Description
2075 ---------------------------|--------------
2076 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2077 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2078 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2079 snmp_port                  | **Optional.** The SNMP port connection.
2080 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2081 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2082 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2083 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2084 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2085 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2086 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2087 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default..
2088 snmp_warn                  | **Optional.** The warning threshold.
2089 snmp_crit                  | **Optional.** The critical threshold.
2090 snmp_process_name          | **Optional.** Name of the process (regexp). No trailing slash!. Defaults to ".*".
2091 snmp_perf                  | **Optional.** Enable perfdata values. Defaults to true.
2092 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2093 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.
2094 snmp_process_mem_usage     | **Optional.** Define to check memory usage for the process. Defaults to false.
2095 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".
2096 snmp_process_cpu_usage     | **Optional.** Define to check CPU usage for the process. Defaults to false.
2097 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".
2098
2099 ### snmp-service <a id="plugin-check-command-snmp-service"></a>
2100
2101 Check command object for the [check_snmp_win.pl](http://nagios.manubulon.com/snmp_windows.html) plugin.
2102
2103 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2104
2105 Name                       | Description
2106 ---------------------------|--------------
2107 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2108 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2109 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2110 snmp_port                  | **Optional.** The SNMP port connection.
2111 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2112 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2113 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2114 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2115 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2116 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2117 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2118 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default.
2119 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2120 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 ".*".
2121 snmp_service_count         | **Optional.** Compare matching services with a specified number instead of the number of names provided.
2122 snmp_service_showall       | **Optional.** Show all services in the output, instead of only the non-active ones. Defaults to false.
2123 snmp_service_noregexp      | **Optional.** Do not use regexp to match NAME in service description. Defaults to false.
2124
2125
2126 ## Contributed Plugin Check Commands <a id="plugin-contrib"></a>
2127
2128 The contributed Plugin Check Commands provides various additional command definitions
2129 contributed by community members.
2130
2131 These check commands assume that the global constant named `PluginContribDir`
2132 is set to the path where the user installs custom plugins and can be enabled by
2133 uncommenting the corresponding line in [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf):
2134
2135 ```
2136 vim /etc/icinga2/icinga2.conf
2137
2138 include <plugin-contrib>
2139 ```
2140
2141 This is enabled by default since Icinga 2 2.5.0.
2142
2143 ### Databases <a id="plugin-contrib-databases"></a>
2144
2145 This category contains plugins for various database servers.
2146
2147 #### db2_health <a id="plugin-contrib-command-db2_health"></a>
2148
2149 The [check_db2_health](https://labs.consol.de/nagios/check_db2_health/) plugin
2150 uses the `DBD::DB2` Perl library to monitor a [DB2](https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/)
2151 database.
2152
2153 The Git repository is located on [GitHub](https://github.com/lausser/check_db2_health).
2154
2155 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2156
2157 Name                             | Description
2158 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2159 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)
2160 db2_health_username           | **Optional.** The username for the database connection.
2161 db2_health_password           | **Optional.** The password for the database connection.
2162 db2_health_port               | **Optional.** The port where DB2 is listening.
2163 db2_health_warning            | **Optional.** The warning threshold depending on the mode.
2164 db2_health_critical           | **Optional.** The critical threshold depending on the mode.
2165 db2_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-usage" or "sql".
2166 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).
2167 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.
2168 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.
2169 db2_health_regexp             | **Optional.** If set to true, "db2_health_name" will be interpreted as a regular expression. Defaults to false.
2170 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".
2171 db2_health_maxinactivity      | **Optional.** Used for the maximum amount of time a certain event has not happened.
2172 db2_health_mitigation         | **Optional.** Classifies the severity of an offline tablespace.
2173 db2_health_lookback           | **Optional.** How many days in the past db2_health check should look back to calculate exitcode.
2174 db2_health_report             | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2175 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".
2176 db2_health_env_db2_version    | **Optional.** Specifies the DB2 version as environment variable `DB2_VERSION`.
2177
2178 #### mssql_health <a id="plugin-contrib-command-mssql_health"></a>
2179
2180 The [check_mssql_health](https://labs.consol.de/nagios/check_mssql_health/index.html) plugin
2181 uses the `DBD::Sybase` Perl library based on [FreeTDS](http://www.freetds.org/) to monitor a
2182 [MS SQL](https://www.microsoft.com/en-us/sql-server/) server.
2183
2184 The Git repository is located on [GitHub](https://github.com/lausser/check_mssql_health).
2185
2186 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2187
2188 Name                             | Description
2189 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2190 mssql_health_hostname            | **Optional.** Specifies the database hostname or address. No default because you typically use "mssql_health_server".
2191 mssql_health_username            | **Optional.** The username for the database connection.
2192 mssql_health_password            | **Optional.** The password for the database connection.
2193 mssql_health_port                | **Optional.** Specifies the database port. No default because you typically use "mssql_health_server".
2194 mssql_health_server              | **Optional.** The name of a predefined connection (in freetds.conf).
2195 mssql_health_currentdb           | **Optional.** The name of a database which is used as the current database for the connection.
2196 mssql_health_offlineok           | **Optional.** Set this to true if offline databases are perfectly ok for you. Defaults to false.
2197 mssql_health_nooffline           | **Optional.** Set this to true to ignore offline databases. Defaults to false.
2198 mssql_health_dbthresholds        | **Optional.** With this parameter thresholds are read from the database table check_mssql_health_thresholds.
2199 mssql_health_notemp              | **Optional.** Set this to true to ignore temporary databases/tablespaces. Defaults to false.
2200 mssql_health_commit              | **Optional.** Set this to true to turn on autocommit for the dbd::sybase module. Defaults to false.
2201 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).
2202 mssql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-free" or "sql".
2203 mssql_health_regexp              | **Optional.** If set to true, "mssql_health_name" will be interpreted as a regular expression. Defaults to false.
2204 mssql_health_warning             | **Optional.** The warning threshold depending on the mode.
2205 mssql_health_critical            | **Optional.** The critical threshold depending on the mode.
2206 mssql_health_warningx            | **Optional.** A possible override for the warning threshold.
2207 mssql_health_criticalx           | **Optional.** A possible override for the critical threshold.
2208 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".
2209 mssql_health_name                | **Optional.** Depending on the mode this could be the database name or a SQL statement.
2210 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.
2211 mssql_health_name3               | **Optional.** Additional argument used for 'database-file-free' mode for example.
2212 mssql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2213 mssql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2214 mssql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2215 mssql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2216 mssql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2217 mssql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2218 mssql_health_morphmessage        | **Optional.** Modify the final output message.
2219 mssql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2220 mssql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2221 mssql_health_report              | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2222 mssql_health_multiline           | **Optional.** Multiline output.
2223 mssql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2224 mssql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2225 mssql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2226 mssql_health_timeout             | **Optional.** Plugin timeout. Defaults to 15s.
2227
2228 #### mysql_health <a id="plugin-contrib-command-mysql_health"></a>
2229
2230 The [check_mysql_health](https://labs.consol.de/nagios/check_mysql_health/index.html) plugin
2231 uses the `DBD::MySQL` Perl library to monitor a
2232 [MySQL](https://dev.mysql.com/downloads/mysql/) or [MariaDB](https://mariadb.org/about/) database.
2233
2234 The Git repository is located on [GitHub](https://github.com/lausser/check_mysql_health).
2235
2236 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2237
2238 Name                             | Description
2239 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2240 mysql_health_hostname            | **Required.** Specifies the database hostname or address. Defaults to "$address$" or "$address6$" if the `address` attribute is not set.
2241 mysql_health_port                | **Optional.** Specifies the database port. Defaults to 3306 (or 1186 for "mysql_health_mode" cluster).
2242 mysql_health_socket              | **Optional.** Specifies the database unix socket. No default.
2243 mysql_health_username            | **Optional.** The username for the database connection.
2244 mysql_health_password            | **Optional.** The password for the database connection.
2245 mysql_health_database            | **Optional.** The database to connect to. Defaults to information_schema.
2246 mysql_health_warning             | **Optional.** The warning threshold depending on the mode.
2247 mysql_health_critical            | **Optional.** The critical threshold depending on the mode.
2248 mysql_health_warningx            | **Optional.** The extended warning thresholds depending on the mode.
2249 mysql_health_criticalx           | **Optional.** The extended critical thresholds depending on the mode.
2250 mysql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "slave-lag" or "sql".
2251 mysql_health_method              | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Mysql (default), `mysql` for using the mysql-Tool).
2252 mysql_health_commit              | **Optional.** Turns on autocommit for the dbd::\* module.
2253 mysql_health_notemp              | **Optional.** Ignore temporary databases/tablespaces.
2254 mysql_health_nooffline           | **Optional.** Skip the offline databases.
2255 mysql_health_regexp              | **Optional.** Parameter name/name2/name3 will be interpreted as (perl) regular expression.
2256 mysql_health_name                | **Optional.** The name of a specific component to check.
2257 mysql_health_name2               | **Optional.** The secondary name of a component.
2258 mysql_health_name3               | **Optional.** The tertiary name of a component.
2259 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".
2260 mysql_health_labelformat         | **Optional.** One of those formats pnp4nagios or groundwork. Defaults to pnp4nagios.
2261 mysql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2262 mysql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2263 mysql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2264 mysql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2265 mysql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2266 mysql_health_morphmessage        | **Optional.** Modify the final output message.
2267 mysql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2268 mysql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2269 mysql_health_report              | **Optional.** Can be used to shorten the output.
2270 mysql_health_multiline           | **Optional.** Multiline output.
2271 mysql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2272 mysql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2273 mysql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2274 mysql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2275 mysql_health_timeout             | **Optional.** Plugin timeout. Defaults to 60s.
2276
2277 #### oracle_health <a id="plugin-contrib-command-oracle_health"></a>
2278
2279 The [check_oracle_health](https://labs.consol.de/nagios/check_oracle_health/index.html) plugin
2280 uses the `DBD::Oracle` Perl library to monitor an [Oracle](https://www.oracle.com/database/) database.
2281
2282 The Git repository is located on [GitHub](https://github.com/lausser/check_oracle_health).
2283
2284 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2285
2286 Name                             | Description
2287 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2288 oracle_health_connect            | **Required.** Specifies the database connection string (from tnsnames.ora).
2289 oracle_health_username           | **Optional.** The username for the database connection.
2290 oracle_health_password           | **Optional.** The password for the database connection.
2291 oracle_health_warning            | **Optional.** The warning threshold depending on the mode.
2292 oracle_health_critical           | **Optional.** The critical threshold depending on the mode.
2293 oracle_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "flash-recovery-area-usage" or "sql".
2294 oracle_health_method             | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Oracle (default), `sqlplus` for using the sqlplus-Tool).
2295 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.
2296 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.
2297 oracle_health_regexp             | **Optional.** If set to true, "oracle_health_name" will be interpreted as a regular expression. Defaults to false.
2298 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".
2299 oracle_health_ident              | **Optional.** If set to true, outputs instance and database names. Defaults to false.
2300 oracle_health_commit             | **Optional.** Set this to true to turn on autocommit for the dbd::oracle module. Defaults to false.
2301 oracle_health_noperfdata         | **Optional.** Set this to true if you want to disable perfdata. Defaults to false.
2302 oracle_health_timeout            | **Optional.** Plugin timeout. Defaults to 60s.
2303 oracle_health_report             | **Optional.** Select the plugin output format. Can be short or long. Default to long.
2304
2305 Environment Macros:
2306
2307 Name                | Description
2308 --------------------|------------------------------------------------------------------------------------------------------------------------------------------
2309 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`.
2310 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`.
2311 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`.
2312
2313 #### postgres <a id="plugin-contrib-command-postgres"></a>
2314
2315 The [check_postgres](https://bucardo.org/wiki/Check_postgres) plugin
2316 uses the `psql` binary to monitor a [PostgreSQL](https://www.postgresql.org/about/) database.
2317
2318 The Git repository is located on [GitHub](https://github.com/bucardo/check_postgres).
2319
2320 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2321
2322 Name                             | Description
2323 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2324 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.
2325 postgres_port        | **Optional.** Specifies the database port. Defaults to 5432.
2326 postgres_dbname      | **Optional.** Specifies the database name to connect to. Defaults to "postgres" or "template1".
2327 postgres_dbuser      | **Optional.** The username for the database connection. Defaults to "postgres".
2328 postgres_dbpass      | **Optional.** The password for the database connection. You can use a .pgpass file instead.
2329 postgres_dbservice   | **Optional.** Specifies the service name to use inside of pg_service.conf.
2330 postgres_warning     | **Optional.** Specifies the warning threshold, range depends on the action.
2331 postgres_critical    | **Optional.** Specifies the critical threshold, range depends on the action.
2332 postgres_include     | **Optional.** Specifies name(s) items to specifically include (e.g. tables), depends on the action.
2333 postgres_exclude     | **Optional.** Specifies name(s) items to specifically exclude (e.g. tables), depends on the action.
2334 postgres_includeuser | **Optional.** Include objects owned by certain users.
2335 postgres_excludeuser | **Optional.** Exclude objects owned by certain users.
2336 postgres_standby     | **Optional.** Assume that the server is in continuous WAL recovery mode if set to true. Defaults to false.
2337 postgres_production  | **Optional.** Assume that the server is in production mode if set to true. Defaults to false.
2338 postgres_action      | **Required.** Determines the test executed.
2339 postgres_unixsocket  | **Optional.** If "postgres_unixsocket" is set to true, the unix socket is used instead of an address. Defaults to false.
2340 postgres_query       | **Optional.** Query for "custom_query" action.
2341 postgres_valtype     | **Optional.** Value type of query result for "custom_query".
2342 postgres_reverse     | **Optional.** If "postgres_reverse" is set, warning and critical values are reversed for "custom_query" action.
2343 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).
2344
2345 #### mongodb <a id="plugin-contrib-command-mongodb"></a>
2346
2347 The [check_mongodb.py](https://github.com/mzupan/nagios-plugin-mongodb) plugin
2348 uses the `pymongo` Python library to monitor a [MongoDB](https://docs.mongodb.com/manual/) instance.
2349
2350 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2351
2352 Name                             | Description
2353 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2354 mongodb_host                     | **Required.** Specifies the hostname or address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2355 mongodb_port                     | **Required.** The port mongodb is running on.
2356 mongodb_user                     | **Optional.** The username you want to login as.
2357 mongodb_passwd                   | **Optional.** The password you want to use for that user.
2358 mongodb_warning                  | **Optional.** The warning threshold we want to set.
2359 mongodb_critical                 | **Optional.** The critical threshold we want to set.
2360 mongodb_action                   | **Required.** The action you want to take.
2361 mongodb_maxlag                   | **Optional.** Get max replication lag (for replication_lag action only).
2362 mongodb_mappedmemory             | **Optional.** Get mapped memory instead of resident (if resident memory can not be read).
2363 mongodb_perfdata                 | **Optional.** Enable output of Nagios performance data.
2364 mongodb_database                 | **Optional.** Specify the database to check.
2365 mongodb_alldatabases             | **Optional.** Check all databases (action database_size).
2366 mongodb_ssl                      | **Optional.** Connect using SSL.
2367 mongodb_replicaset               | **Optional.** Connect to replicaset.
2368 mongodb_replcheck                | **Optional.** If set to true, will enable the mongodb_replicaset value needed for "replica_primary" check.
2369 mongodb_querytype                | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second.
2370 mongodb_collection               | **Optional.** Specify the collection to check.
2371 mongodb_sampletime               | **Optional.** Time used to sample number of pages faults.
2372
2373 #### elasticsearch <a id="plugin-contrib-command-elasticsearch"></a>
2374
2375 The [check_elasticsearch](https://github.com/anchor/nagios-plugin-elasticsearch) plugin
2376 uses the HTTP API to monitor an [Elasticsearch](https://www.elastic.co/products/elasticsearch) node.
2377
2378 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2379
2380 Name                         | Description
2381 -----------------------------|-------------------------------------------------------------------------------------------------------
2382 elasticsearch_host           | **Optional.** Hostname or network address to probe. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2383 elasticsearch_failuredomain  | **Optional.** A comma-separated list of ElasticSearch attributes that make up your cluster's failure domain.
2384 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.
2385 elasticsearch_port           | **Optional.** TCP port to probe.  The ElasticSearch API should be listening here. Defaults to 9200.
2386 elasticsearch_prefix         | **Optional.** Optional prefix (e.g. 'es') for the ElasticSearch API. Defaults to ''.
2387 elasticsearch_yellowcritical | **Optional.** Instead of issuing a 'warning' for a yellow cluster state, issue a 'critical' alert. Defaults to false.
2388
2389 #### redis <a id="plugin-contrib-command-redis"></a>
2390
2391 The [check_redis.pl](https://github.com/willixix/naglio-plugins/blob/master/check_redis.pl) plugin
2392 uses the `Redis` Perl library to monitor a [Redis](https://redis.io/) instance. The plugin can
2393 measure response time, hitrate, memory utilization, check replication synchronization, etc. It is
2394 also possible to test data in a specified key and calculate averages or summaries on ranges.
2395
2396 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2397
2398 Name                     | Description
2399 -------------------------|--------------------------------------------------------------------------------------------------------------
2400 redis_hostname           | **Required.** Hostname or IP Address to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2401 redis_port               | **Optional.** Port number to query. Default to "6379".
2402 redis_database           | **Optional.** Database name (usually a number) to query, needed for **redis_query**.
2403 redis_password           | **Optional.** Password for Redis authentication. Safer alternative is to put them in a file and use **redis_credentials**.
2404 redis_credentials        | **Optional.** Credentials file to read for Redis authentication.
2405 redis_timeout            | **Optional.** Allows to set timeout for execution of this plugin.
2406 redis_variables          | **Optional.** List of variables from info data to do threshold checks on.
2407 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.
2408 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.
2409 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.
2410 redis_perfvars           | **Optional.** This allows to list variables which values will go only into perfparse output (and not for threshold checking).
2411 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.
2412 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".
2413 redis_query              | **Optional.** Option specifies key to query and optional variable name to assign the results to after.
2414 redis_option             | **Optional.** Specifiers are separated by "," and must include NAME or PATTERN.
2415 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.
2416 redis_hitrate            | **Optional.** Calculates Hitrate and specify values are interpreted as WARNING and CRITICAL thresholds.
2417 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.
2418 redis_total_memory       | **Optional.** Amount of memory on a system for memory utilization calculation. Use system memory or max_memory setting of redis.
2419 redis_replication_delay  | **Optional.** Allows to set threshold on replication delay info.
2420
2421
2422 ### Hardware <a id="plugin-contrib-hardware"></a>
2423
2424 This category includes all plugin check commands for various hardware checks.
2425
2426 #### hpasm <a id="plugin-contrib-command-hpasm"></a>
2427
2428 The [check_hpasm](https://labs.consol.de/de/nagios/check_hpasm/index.html) plugin
2429 monitors the hardware health of HP Proliant Servers, provided that the `hpasm`
2430 (HP Advanced Server Management) software is installed. It is also able to monitor
2431 the system health of HP Bladesystems and storage systems.
2432
2433 The plugin can run in two different ways:
2434
2435 1. Local execution using the `hpasmcli` command line tool.
2436 2. Remote SNMP query which invokes the HP Insight Tools on the remote node.
2437
2438 You can either set or omit `hpasm_hostname` custom attribute and select the corresponding node.
2439
2440 The `hpasm_remote` attribute enables the plugin to execute remote SNMP queries if set to `true`.
2441 For compatibility reasons this attribute uses `true` as default value, and ensures that
2442 specifying the `hpasm_hostname` always enables remote checks.
2443
2444 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2445
2446 Name                            | Description
2447 --------------------------------|-----------------------------------------------------------------------
2448 hpasm_hostname                  | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2449 hpasm_community                 | **Optional.** SNMP community of the server (SNMP v1/2 only).
2450 hpasm_protocol                  | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2451 hpasm_port                      | **Optional.** The SNMP port to use (default: 161).
2452 hpasm_blacklist                 | **Optional.** Blacklist some (missing/failed) components.
2453 hpasm_ignore-dimms              | **Optional.** Ignore "N/A"-DIMM status on misc. servers (e.g. older DL320).
2454 hpasm_ignore-fan-redundancy     | **Optional.** Ignore missing redundancy partners.
2455 hpasm_customthresholds          | **Optional.** Use custom thresholds for certain temperatures.
2456 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.
2457 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.
2458 hpasm_username                  | **Optional.** The securityName for the USM security model (SNMPv3 only).
2459 hpasm_authpassword              | **Optional.** The authentication password for SNMPv3.
2460 hpasm_authprotocol              | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2461 hpasm_privpassword              | **Optional.** The password for authPriv security level.
2462 hpasm_privprotocol              | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2463 hpasm_servertype                | **Optional.** The type of the server: proliant (default) or bladesystem.
2464 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.
2465 hpasm_remote                    | **Optional.** Run remote SNMP checks if enabled. Otherwise checks are executed locally using the `hpasmcli` binary. Defaults to `true`.
2466
2467 #### adaptec-raid <a id="plugin-contrib-command-adaptec-raid"></a>
2468
2469 The [check_adaptec_raid](https://github.com/thomas-krenn/check_adaptec_raid) plugin
2470 uses the `arcconf` binary to monitor Adaptec RAID controllers.
2471
2472 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2473
2474 Name                            | Description
2475 --------------------------------|-----------------------------------------------------------------------
2476 adaptec_controller_number       | **Required.** Controller number to monitor.
2477 arcconf_path                    | **Required.** Path to the `arcconf` binary, e.g. "/sbin/arcconf".
2478
2479 #### lsi-raid <a id="plugin-contrib-command-lsi-raid"></a>
2480
2481 The [check_lsi_raid](https://github.com/thomas-krenn/check_lsi_raid) plugin
2482 uses the `storcli` binary to monitor MegaRAID RAID controllers.
2483
2484 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2485
2486 Name                            | Description
2487 --------------------------------|-----------------------------------------------------------------------
2488 lsi_controller_number           | **Required.** Controller number to monitor.
2489 storcli_path                    | **Required.** Path to the `storcli` binary, e.g. "/usr/sbin/storcli".
2490
2491 #### smart-attributes <a id="plugin-contrib-command-smart-attributes"></a>
2492
2493 The [check_smart_attributes](https://github.com/thomas-krenn/check_smart_attributes) plugin
2494 uses the `smartctl` binary to monitor SMART values of SSDs and HDDs.
2495
2496 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2497
2498 Name                            | Description
2499 --------------------------------|-----------------------------------------------------------------------
2500 smart_attributes_config_path    | **Required.** Path to the smart attributes config file (e.g. check_smartdb.json).
2501 smart_attributes_device         | **Required.** Device name (e.g. /dev/sda) to monitor.
2502
2503
2504 ### IcingaCLI <a id="plugin-contrib-icingacli"></a>
2505
2506 This category includes all plugins using the icingacli provided by Icinga Web 2.
2507
2508 #### Business Process <a id="plugin-contrib-icingacli-businessprocess"></a>
2509
2510 This subcommand is provided by the [business process module](https://exchange.icinga.com/icinga/Business+Process)
2511 and executed as `icingacli businessprocess` CLI command.
2512
2513 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2514
2515 Name                                      | Description
2516 ------------------------------------------|-----------------------------------------------------------------------------------------
2517 icingacli_businessprocess_process         | **Required.** Business process to monitor.
2518 icingacli_businessprocess_config          | **Optional.** Configuration file containing your business process without file extension.
2519 icingacli_businessprocess_details         | **Optional.** Get details for root cause analysis. Defaults to false.
2520 icingacli_businessprocess_statetype       | **Optional.** Define which state type to look at, `soft` or `hard`. Overrides the default value inside the businessprocess module, if configured.
2521
2522
2523 ### IPMI Devices <a id="plugin-contrib-ipmi"></a>
2524
2525 This category includes all plugins for IPMI devices.
2526
2527 #### ipmi-sensor <a id="plugin-contrib-command-ipmi-sensor"></a>
2528
2529 The [check_ipmi_sensor](https://github.com/thomas-krenn/check_ipmi_sensor_v3) plugin
2530 uses the `ipmimonitoring` binary to monitor sensor data for IPMI devices. Please
2531 read the [documentation](https://www.thomas-krenn.com/en/wiki/IPMI_Sensor_Monitoring_Plugin)
2532 for installation and configuration details.
2533
2534 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2535
2536 Name                             | Description
2537 ---------------------------------|-----------------------------------------------------------------------------------------------------
2538 ipmi_address                     | **Required.** Specifies the remote host (IPMI device) to check. Defaults to "$address$".
2539 ipmi_config_file                 | **Optional.** Path to the FreeIPMI configuration file. It should contain IPMI username, IPMI password, and IPMI privilege-level.
2540 ipmi_username                    | **Optional.** The IPMI username.
2541 ipmi_password                    | **Optional.** The IPMI password.
2542 ipmi_privilege_level             | **Optional.** The IPMI privilege level of the IPMI user.
2543 ipmi_backward_compatibility_mode | **Optional.** Enable backward compatibility mode, useful for FreeIPMI 0.5.\* (this omits FreeIPMI options "--quiet-cache" and "--sdr-cache-recreate").
2544 ipmi_sensor_type                 | **Optional.** Limit sensors to query based on IPMI sensor type. Examples for IPMI sensor types are 'Fan', 'Temperature' and 'Voltage'.
2545 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.
2546 ipmi_exclude_sensor_id           | **Optional.** Exclude sensor matching ipmi_sensor_id.
2547 ipmi_exclude_sensor              | **Optional.** Exclude sensor based on IPMI sensor type. (Comma-separated)
2548 ipmi_exclude_sel                 | **Optional.** Exclude SEL entries of specific sensor types. (comma-separated list).
2549 ipmi_sensor_id                   | **Optional.** Include sensor matching ipmi_sensor_id.
2550 ipmi_protocol_lan_version        | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
2551 ipmi_number_of_active_fans       | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned.
2552 ipmi_show_fru                    | **Optional.** Print the product serial number if it is available in the IPMI FRU data.
2553 ipmi_no_sel_checking             | **Optional.** Turn off system event log checking via ipmi-sel.
2554 ipmi_no_thresholds               | **Optional.** Turn off performance data thresholds from output-sensor-thresholds.
2555 ipmi_verbose                     | **Optional.** Be Verbose multi line output, also with additional details for warnings.
2556 ipmi_debug                       | **Optional.** Be Verbose debugging output, followed by normal multi line output.
2557
2558 #### ipmi-alive <a id="plugin-contrib-command-ipmi-alive"></a>
2559
2560 The `ipmi-alive` check commands allows you to create a ping check for the IPMI Interface.
2561
2562 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2563
2564 Name                             | Description
2565 ---------------------------------|-----------------------------------------------------------------------------------------------------
2566 ping_address                     | **Optional.** The address of the IPMI interface. Defaults to "$address$" if the IPMI interface's `address` attribute is set, "$address6$" otherwise.
2567 ping_wrta                        | **Optional.** The RTA warning threshold in milliseconds. Defaults to 5000.
2568 ping_wpl                         | **Optional.** The packet loss warning threshold in %. Defaults to 100.
2569 ping_crta                        | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
2570 ping_cpl                         | **Optional.** The packet loss critical threshold in %. Defaults to 100.
2571 ping_packets                     | **Optional.** The number of packets to send. Defaults to 1.
2572 ping_timeout                     | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
2573
2574
2575 ### Log Management <a id="plugins-contrib-log-management"></a>
2576
2577 This category includes all plugins for log management, for example [Logstash](https://www.elastic.co/products/logstash).
2578
2579 #### logstash <a id="plugins-contrib-command-logstash"></a>
2580
2581 The [logstash](https://github.com/widhalmt/check_logstash) plugin connects to
2582 the Node API of Logstash. This plugin requires at least Logstash version 5.0.x.
2583
2584 The Node API is not activated by default. You have to configure your Logstash
2585 installation in order to allow plugin connections.
2586
2587 Name                       | Description
2588 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2589 logstash_hostname          | **Optional.** Hostname where Logstash is running. Defaults to `check_address`
2590 logstash_port              | **Optional.** Port where Logstash is listening for API requests. Defaults to 9600
2591 logstash_filedesc_warn     | **Optional.** Warning threshold of file descriptor usage in percent. Defaults to 85 (percent).
2592 logstash_filedesc_crit     | **Optional.** Critical threshold of file descriptor usage in percent. Defaults to 95 (percent).
2593 logstash_heap_warn         | **Optional.** Warning threshold of heap usage in percent. Defaults to 70 (percent).
2594 logstash_heap_crit         | **Optional.** Critical threshold of heap usage in percent Defaults to 80 (percent).
2595 logstash_inflight_warn     | **Optional.** Warning threshold of inflight events.
2596 logstash_inflight_crit     | **Optional.** Critical threshold of inflight events.
2597 logstash_cpu_warn          | **Optional.** Warning threshold for cpu usage in percent.
2598 logstash_cpu_crit          | **Optional.** Critical threshold for cpu usage in percent.
2599
2600
2601 ### Metrics <a id="plugin-contrib-metrics"></a>
2602
2603 This category includes all plugins for metric-based checks.
2604
2605 #### graphite <a id="plugin-contrib-command-graphite"></a>
2606
2607 The [check_graphite](https://github.com/obfuscurity/nagios-scripts) plugin
2608 uses the `rest-client` Ruby library to monitor a [Graphite](https://graphiteapp.org) instance.
2609
2610 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2611
2612 Name                                | Description
2613 ------------------------------------|-----------------------------------------------------------------------------------------------------
2614 graphite_url                        | **Required.** Target url.
2615 graphite_metric                     | **Required.** Metric path string.
2616 graphite_shortname                  | **Optional.** Metric short name (used for performance data).
2617 graphite_duration                   | **Optional.** Length, in minute of data to parse (default: 5).
2618 graphite_function                   | **Optional.** Function applied to metrics for thresholds (default: average).
2619 graphite_warning                    | **Required.** Warning threshold.
2620 graphite_critical                   | **Required.** Critical threshold.
2621 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.
2622 graphite_message                    | **Optional.** Text message to output (default: "metric count:").
2623 graphite_zero_on_error              | **Optional.** Return 0 on a graphite 500 error.
2624 graphite_link_graph                 | **Optional.** Add a link in the plugin output, showing a 24h graph for this metric in graphite.
2625
2626 ### Network Components <a id="plugin-contrib-network-components"></a>
2627
2628 This category includes all plugins for various network components like routers, switches and firewalls.
2629
2630 #### interfacetable <a id="plugin-contrib-command-interfacetable"></a>
2631
2632 The [check_interfacetable_v3t](http://www.tontonitch.com/tiki/tiki-index.php?page=Nagios+plugins+-+interfacetable_v3t) plugin
2633 generates a html page containing information about the monitored node and all of its interfaces.
2634
2635 The Git repository is located on [GitHub](https://github.com/Tontonitch/interfacetable_v3t).
2636
2637 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2638
2639 Name                                | Description
2640 ------------------------------------|-----------------------------------------------------------------------------------------------------
2641 interfacetable_hostquery            | **Required.** Specifies the remote host to poll. Defaults to "$address$".
2642 interfacetable_hostdisplay          | **Optional.** Specifies the hostname to display in the HTML link. Defaults to "$host.display_name$".
2643 interfacetable_regex                | **Optional.** Interface names and property names for some other options will be interpreted as regular expressions. Defaults to false.
2644 interfacetable_outputshort          | **Optional.** Reduce the verbosity of the plugin output. Defaults to false.
2645 interfacetable_exclude              | **Optional.** Comma separated list of interfaces globally excluded from the monitoring.
2646 interfacetable_include              | **Optional.** Comma separated list of interfaces globally included in the monitoring.
2647 interfacetable_aliasmatching        | **Optional.** Allow you to specify alias in addition to interface names. Defaults to false.
2648 interfacetable_excludetraffic       | **Optional.** Comma separated list of interfaces excluded from traffic checks.
2649 interfacetable_includetraffic       | **Optional.** Comma separated list of interfaces included for traffic checks.
2650 interfacetable_warningtraffic       | **Optional.** Interface traffic load percentage leading to a warning alert.
2651 interfacetable_criticaltraffic      | **Optional.** Interface traffic load percentage leading to a critical alert.
2652 interfacetable_pkt                  | **Optional.** Add unicast/non-unicast pkt stats for each interface.
2653 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.
2654 interfacetable_trackproperty        | **Optional.** List of tracked properties.
2655 interfacetable_excludeproperty      | **Optional.** Comma separated list of interfaces excluded from the property tracking.
2656 interfacetable_includeproperty      | **Optional.** Comma separated list of interfaces included in the property tracking.
2657 interfacetable_community            | **Optional.** Specifies the snmp v1/v2c community string. Defaults to "public" if using snmp v1/v2c, ignored using v3.
2658 interfacetable_snmpv2               | **Optional.** Use snmp v2c. Defaults to false.
2659 interfacetable_login                | **Optional.** Login for snmpv3 authentication.
2660 interfacetable_passwd               | **Optional.** Auth password for snmpv3 authentication.
2661 interfacetable_privpass             | **Optional.** Priv password for snmpv3 authentication.
2662 interfacetable_protocols            | **Optional.** Authentication protocol,Priv protocol for snmpv3 authentication.
2663 interfacetable_domain               | **Optional.** SNMP transport domain.
2664 interfacetable_contextname          | **Optional.** Context name for the snmp requests.
2665 interfacetable_port                 | **Optional.** SNMP port. Defaults to standard port.
2666 interfacetable_64bits               | **Optional.** Use SNMP 64-bits counters. Defaults to false.
2667 interfacetable_maxrepetitions       | **Optional.** Increasing this value may enhance snmp query performances by gathering more results at one time.
2668 interfacetable_snmptimeout          | **Optional.** Define the Transport Layer timeout for the snmp queries.
2669 interfacetable_snmpretries          | **Optional.** Define the number of times to retry sending a SNMP message.
2670 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.
2671 interfacetable_unixsnmp             | **Optional.** Use unix snmp utilities for snmp requests. Defaults to false, which means use the perl bindings.
2672 interfacetable_enableperfdata       | **Optional.** Enable port performance data. Defaults to false.
2673 interfacetable_perfdataformat       | **Optional.** Define which performance data will be generated. Possible values are "full" (default), "loadonly", "globalonly".
2674 interfacetable_perfdatathreshold    | **Optional.** Define which thresholds are printed in the generated performance data. Possible values are "full" (default), "loadonly", "globalonly".
2675 interfacetable_perfdatadir          | **Optional.** When specified, the performance data are also written directly to a file, in the specified location.
2676 interfacetable_perfdataservicedesc  | **Optional.** Specify additional parameters for output performance data to PNP. Defaults to "$service.name$", only affects **interfacetable_perfdatadir**.
2677 interfacetable_grapher              | **Optional.** Specify the used graphing solution. Possible values are "pnp4nagios" (default), "nagiosgrapher", "netwaysgrapherv2" and "ingraph".
2678 interfacetable_grapherurl           | **Optional.** Graphing system url. Default depends on **interfacetable_grapher**.
2679 interfacetable_portperfunit         | **Optional.** Traffic could be reported in bits (counters) or in bps (calculated value).
2680 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".
2681 interfacetable_duplex               | **Optional.** Add the duplex mode property for each interface in the interface table. Defaults to false.
2682 interfacetable_stp                  | **Optional.** Add the stp state property for each interface in the interface table. Defaults to false.
2683 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"
2684 interfacetable_noipinfo             | **Optional.** Remove the ip information for each interface from the interface table. Defaults to false.
2685 interfacetable_alias                | **Optional.** Add the alias information for each interface in the interface table. Defaults to false.
2686 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.
2687 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.
2688 interfacetable_delta                | **Optional.** Set the delta used for interface throughput calculation in seconds.
2689 interfacetable_ifs                  | **Optional.** Input field separator. Defaults to ",".
2690 interfacetable_cache                | **Optional.** Define the retention time of the cached data in seconds.
2691 interfacetable_noifloadgradient     | **Optional.** Disable color gradient from green over yellow to red for the load percentage. Defaults to false.
2692 interfacetable_nohuman              | **Optional.** Do not translate bandwidth usage in human readable format. Defaults to false.
2693 interfacetable_snapshot             | **Optional.** Force the plugin to run like if it was the first launch. Defaults to false.
2694 interfacetable_timeout              | **Optional.** Define the global timeout limit of the plugin in seconds. Defaults to "15s".
2695 interfacetable_css                  | **Optional.** Define the css stylesheet used by the generated html files. Possible values are "classic", "icinga" or "icinga-alternate1".
2696 interfacetable_config               | **Optional.** Specify a config file to load.
2697 interfacetable_noconfigtable        | **Optional.** Disable configuration table on the generated HTML page. Defaults to false.
2698 interfacetable_notips               | **Optional.** Disable the tips in the generated html tables. Defaults to false.
2699 interfacetable_defaulttablesorting  | **Optional.** Default table sorting can be "index" (default) or "name".
2700 interfacetable_tablesplit           | **Optional.** Generate multiple interface tables, one per interface type. Defaults to false.
2701 interfacetable_notype               | **Optional.** Remove the interface type for each interface. Defaults to false.
2702
2703 #### iftraffic <a id="plugin-contrib-command-iftraffic"></a>
2704
2705 The [check_iftraffic](https://exchange.icinga.com/exchange/iftraffic) plugin
2706 checks the utilization of a given interface name using the SNMP protocol.
2707
2708 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2709
2710 Name                    | Description
2711 ------------------------|---------------------------------------------------------
2712 iftraffic_address       | **Required.** Specifies the remote host. Defaults to "$address$".
2713 iftraffic_community     | **Optional.** SNMP community. Defaults to "public'" if omitted.
2714 iftraffic_interface     | **Required.** Queried interface name.
2715 iftraffic_bandwidth     | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2716 iftraffic_units         | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2717 iftraffic_warn          | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2718 iftraffic_crit          | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2719 iftraffic_max_counter   | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2720
2721 #### iftraffic64 <a id="plugin-contrib-command-iftraffic64"></a>
2722
2723 The [check_iftraffic64](https://exchange.icinga.com/exchange/iftraffic64) plugin
2724 checks the utilization of a given interface name using the SNMP protocol.
2725
2726 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2727
2728 Name                    | Description
2729 ------------------------|---------------------------------------------------------
2730 iftraffic64_address     | **Required.** Specifies the remote host. Defaults to "$address$".
2731 iftraffic64_community   | **Optional.** SNMP community. Defaults to "public'" if omitted.
2732 iftraffic64_interface   | **Required.** Queried interface name.
2733 iftraffic64_bandwidth   | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2734 iftraffic64_units       | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2735 iftraffic64_warn        | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2736 iftraffic64_crit        | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2737 iftraffic64_max_counter | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2738
2739 #### interfaces <a id="plugin-contrib-command-interfaces"></a>
2740
2741 The [check_interfaces](https://git.netways.org/plugins/check_interfaces) plugin
2742 uses SNMP to monitor network interfaces and their utilization.
2743
2744 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2745
2746 Name                      | Description
2747 --------------------------|---------------------------------------------------------
2748 interfaces_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2749 interfaces_regex          | **Optional.** Interface list regexp.
2750 interfaces_exclude_regex  | **Optional.** Interface list negative regexp.
2751 interfaces_errors         | **Optional.** Number of in errors (CRC errors for cisco) to consider a warning (default 50).
2752 interface_out_errors      | **Optional.** Number of out errors (collisions for cisco) to consider a warning (default same as in errors).
2753 interfaces_perfdata       | **Optional.** perfdata from last check result.
2754 interfaces_prefix         | **Optional.** Prefix interface names with this label.
2755 interfaces_lastcheck      | **Optional.** Last checktime (unixtime).
2756 interfaces_bandwidth      | **Optional.** Bandwidth warn level in percent.
2757 interfaces_speed          | **Optional.** Override speed detection with this value (bits per sec).
2758 interfaces_trim           | **Optional.** Cut this number of characters from the start of interface descriptions.
2759 interfaces_mode           | **Optional.** Special operating mode (default,cisco,nonbulk,bintec).
2760 interfaces_auth_proto     | **Optional.** SNMPv3 Auth Protocol (SHA\|MD5)
2761 interfaces_auth_phrase    | **Optional.** SNMPv3 Auth Phrase
2762 interfaces_priv_proto     | **Optional.** SNMPv3 Privacy Protocol (AES\|DES)
2763 interfaces_priv_phrase    | **Optional.** SNMPv3 Privacy Phrase
2764 interfaces_user           | **Optional.** SNMPv3 User
2765 interfaces_down_is_ok     | **Optional.** Disables critical alerts for down interfaces.
2766 interfaces_aliases        | **Optional.** Retrieves the interface description.
2767 interfaces_match_aliases  | **Optional.** Also match against aliases (Option --aliases automatically enabled).
2768 interfaces_timeout        | **Optional.** Sets the SNMP timeout (in ms).
2769 interfaces_sleep          | **Optional.** Sleep between every SNMP query (in ms).
2770 interfaces_names          | **Optional.** If set to true, use ifName instead of ifDescr.
2771
2772 #### nwc_health <a id="plugin-contrib-command-nwc_health"></a>
2773
2774 The [check_nwc_health](https://labs.consol.de/de/nagios/check_nwc_health/index.html) plugin
2775 uses SNMP to monitor network components. The plugin is able to generate interface statistics,
2776 check hardware (CPU, memory, fan, power, etc.), monitor firewall policies, HRSP, load-balancer
2777 pools, processor and memory usage.
2778
2779 Currently the following network components are supported: Cisco IOS, Cisco Nexus, Cisco ASA,
2780 Cisco PIX, F5 BIG-IP, CheckPoint Firewall1, Juniper NetScreen, HP Procurve, Nortel, Brocade 4100/4900,
2781 EMC DS 4700, EMC DS 24, Allied Telesyn. Blue Coat SG600, Cisco Wireless Lan Controller 5500,
2782 Brocade ICX6610-24-HPOE, Cisco UC Telefonzeugs, FOUNDRY-SN-AGENT-MIB, FRITZ!BOX 7390, FRITZ!DECT 200,
2783 Juniper IVE, Pulse-Gateway MAG4610, Cisco IronPort AsyncOS, Foundry, etc. A complete list can be
2784 found in the plugin [documentation](https://labs.consol.de/nagios/check_nwc_health/index.html).
2785
2786 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2787
2788 Name                            | Description
2789 --------------------------------|---------------------------------------------------------
2790 nwc_health_hostname             | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2791 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).
2792 nwc_health_timeout              | **Optional.** Seconds before plugin times out (default: 15)
2793 nwc_health_blacklist            | **Optional.** Blacklist some (missing/failed) components.
2794 nwc_health_port                 | **Optional.** The SNMP port to use (default: 161).
2795 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).
2796 nwc_health_protocol             | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2797 nwc_health_community            | **Optional.** SNMP community of the server (SNMP v1/2 only).
2798 nwc_health_username             | **Optional.** The securityName for the USM security model (SNMPv3 only).
2799 nwc_health_authpassword         | **Optional.** The authentication password for SNMPv3.
2800 nwc_health_authprotocol         | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2801 nwc_health_privpassword         | **Optional.** The password for authPriv security level.
2802 nwc_health_privprotocol         | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2803 nwc_health_contextengineid      | **Optional.** The context engine id for SNMPv3 (10 to 64 hex characters).
2804 nwc_health_contextname          | **Optional.** The context name for SNMPv3 (empty represents the default context).
2805 nwc_health_name                 | **Optional.** The name of an interface (ifDescr).
2806 nwc_health_drecksptkdb          | **Optional.** This parameter must be used instead of --name, because Devel::ptkdb is stealing the latter from the command line.
2807 nwc_health_alias                | **Optional.** The alias name of a 64bit-interface (ifAlias)
2808 nwc_health_regexp               | **Optional.** A flag indicating that --name is a regular expression
2809 nwc_health_ifspeedin            | **Optional.** Override the ifspeed oid of an interface (only inbound)
2810 nwc_health_ifspeedout           | **Optional.** Override the ifspeed oid of an interface (only outbound)
2811 nwc_health_ifspeed              | **Optional.** Override the ifspeed oid of an interface
2812 nwc_health_units                | **Optional.** One of %, B, KB, MB, GB, Bit, KBi, MBi, GBi. (used for e.g. mode interface-usage)
2813 nwc_health_name2                | **Optional.** The secondary name of a component.
2814 nwc_health_role                 | **Optional.** The role of this device in a hsrp group (active/standby/listen).
2815 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)
2816 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.
2817 nwc_health_warning              | **Optional.** The warning threshold
2818 nwc_health_critical             | **Optional.** The critical threshold
2819 nwc_health_warningx             | **Optional.** The extended warning thresholds
2820 nwc_health_criticalx            | **Optional.** The extended critical thresholds
2821 nwc_health_mitigation           | **Optional.** The parameter allows you to change a critical error to a warning (1) or ok (0).
2822 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.
2823 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'
2824 nwc_health_negate               | **Optional.** The parameter allows you to map exit levels, such as warning=critical.
2825 nwc_health_mymodules-dyn-dir    | **Optional.** A directory where own extensions can be found.
2826 nwc_health_servertype           | **Optional.** The type of the network device: cisco (default). Use it if auto-detection is not possible.
2827 nwc_health_statefilesdir        | **Optional.** An alternate directory where the plugin can save files.
2828 nwc_health_oids                 | **Optional.** A list of oids which are downloaded and written to a cache file. Use it together with --mode oidcache.
2829 nwc_health_offline              | **Optional.** The maximum number of seconds since the last update of cache file before it is considered too old.
2830 nwc_health_multiline            | **Optional.** Multiline output
2831
2832
2833 ### Operating System <a id="plugin-contrib-operating-system"></a>
2834
2835 This category contains plugins which receive details about your operating system
2836 or the guest system.
2837
2838 #### mem <a id="plugin-contrib-command-mem"></a>
2839
2840 The [check_mem.pl](https://github.com/justintime/nagios-plugins) plugin checks the
2841 memory usage on linux and unix hosts. It is able to count cache memory as free when
2842 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).
2843
2844 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2845
2846 Name         | Description
2847 -------------|-----------------------------------------------------------------------------------------------------------------------
2848 mem_used     | **Optional.** Tell the plugin to check for used memory in opposite of **mem_free**. Must specify one of these as true.
2849 mem_free     | **Optional.** Tell the plugin to check for free memory in opposite of **mem_used**. Must specify one of these as true.
2850 mem_cache    | **Optional.** If set to true, plugin will count cache as free memory. Defaults to false.
2851 mem_warning  | **Required.** Specify the warning threshold as number interpreted as percent.
2852 mem_critical | **Required.** Specify the critical threshold as number interpreted as percent.
2853
2854 #### running_kernel <a id="plugin-contrib-command-running_kernel"></a>
2855
2856 The [check_running_kernel](https://packages.debian.org/stretch/nagios-plugins-contrib) plugin
2857 is provided by the `nagios-plugin-contrib` package on Debian/Ubuntu.
2858
2859 Custom attributes:
2860
2861 Name                       | Description
2862 ---------------------------|-------------
2863 running\_kernel\_use\_sudo | Whether to run the plugin with `sudo`. Defaults to false except on Ubuntu where it defaults to true.
2864
2865 #### iostats <a id="plugin-contrib-command-iostats"></a>
2866
2867 The [check_iostats](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats) plugin
2868 uses the `iostat` binary to monitor I/O on a Linux host. The default thresholds are rather high
2869 so you can use a grapher for baselining before setting your own.
2870
2871 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2872
2873 Name           | Description
2874 ---------------|-----------------------------------------------------------------------------------------------------------------------
2875 iostats\_disk            | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
2876 iostats\_warning\_tps    | **Required.** Warning threshold for tps (default: 3000).
2877 iostats\_warning\_read   | **Required.** Warning threshold for KB/s reads (default: 50000).
2878 iostats\_warning\_write  | **Required.** Warning threshold for KB/s writes (default: 10000).
2879 iostats\_warning\_wait   | **Required.** Warning threshold for % iowait (default: 50).
2880 iostats\_critical\_tps   | **Required.** Critical threshold for tps (default: 5000).
2881 iostats\_critical\_read  | **Required.** Critical threshold for KB/s reads (default: 80000).
2882 iostats\_critical\_write | **Required.** Critical threshold for KB/s writes (default: 25000).
2883 iostats\_critical\_wait  | **Required.** Critical threshold for % iowait (default: 80).
2884
2885 #### iostat <a id="plugin-contrib-command-iostat"></a>
2886
2887 The [check_iostat](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostat) plugin
2888 uses the `iostat` binary to monitor disk I/O on a Linux host. The default thresholds are rather high
2889 so you can use a grapher for baselining before setting your own.
2890
2891 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2892
2893 Name           | Description
2894 ---------------|-----------------------------------------------------------------------------------------------------------------------
2895 iostat\_disk   | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
2896 iostat\_wtps   | **Required.** Warning threshold for tps (default: 100).
2897 iostat\_wread  | **Required.** Warning threshold for KB/s reads (default: 100).
2898 iostat\_wwrite | **Required.** Warning threshold for KB/s writes (default: 100).
2899 iostat\_ctps   | **Required.** Critical threshold for tps (default: 200).
2900 iostat\_cread  | **Required.** Critical threshold for KB/s reads (default: 200).
2901 iostat\_cwrite | **Required.** Critical threshold for KB/s writes (default: 200).
2902
2903 #### yum <a id="plugin-contrib-command-yum"></a>
2904
2905 The [check_yum](https://github.com/calestyo/check_yum) plugin checks the YUM package
2906 management system for package updates.
2907 The plugin requires the `yum-plugin-security` package to differentiate between security and normal updates.
2908
2909 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2910
2911 Name                    | Description
2912 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2913 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.
2914 yum_warn_on_any_update  | **Optional.** Set to true to warn if there are any (non-security) package updates available. Defaults to false.
2915 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.
2916 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.
2917 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.
2918 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.
2919 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.
2920 yum_installroot         | **Optional.** Specifies another installation root directory (for example a chroot).
2921 yum_timeout             | **Optional.** Set a timeout in seconds after which the plugin will exit (defaults to 55 seconds).
2922
2923 ### Storage <a id="plugins-contrib-storage"></a>
2924
2925 This category includes all plugins for various storage and object storage technologies.
2926
2927 #### glusterfs <a id="plugins-contrib-command-glusterfs"></a>
2928
2929 The [glusterfs](https://www.unixadm.org/software/nagios-stuff/checks/check_glusterfs) plugin
2930 is used to check the GlusterFS storage health on the server.
2931 The plugin requires `sudo` permissions.
2932
2933 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2934
2935 Name                       | Description
2936 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2937 glusterfs_perfdata         | **Optional.** Print perfdata of all or the specified volume.
2938 glusterfs_warnonfailedheal | **Optional.** Warn if the *heal-failed* log contains entries. The log can be cleared by restarting glusterd.
2939 glusterfs_volume           | **Optional.** Only check the specified *VOLUME*. If --volume is not set, all volumes are checked.
2940 glusterfs_disk_warning     | **Optional.** Warn if disk usage is above *DISKWARN*. Defaults to 90 (percent).
2941 glusterfs_disk_critical    | **Optional.** Return a critical error if disk usage is above *DISKCRIT*. Defaults to 95 (percent).
2942 glusterfs_inode_warning    | **Optional.** Warn if inode usage is above *DISKWARN*. Defaults to 90 (percent).
2943 glusterfs_inode_critical   | **Optional.** Return a critical error if inode usage is above *DISKCRIT*. Defaults to 95 (percent).
2944
2945
2946 ### Virtualization <a id="plugin-contrib-virtualization"></a>
2947
2948 This category includes all plugins for various virtualization technologies.
2949
2950 #### esxi_hardware <a id="plugin-contrib-command-esxi-hardware"></a>
2951
2952 The [check_esxi_hardware.py](https://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php) plugin
2953 uses the [pywbem](https://pywbem.github.io/pywbem/) Python library to monitor the hardware of ESXi servers
2954 through the [VMWare API](https://www.vmware.com/support/pubs/sdk_pubs.html) and CIM service.
2955
2956 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2957
2958 Name                    | Description
2959 ------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2960 esxi_hardware_host      | **Required.** Specifies the host to monitor. Defaults to "$address$".
2961 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.
2962 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.
2963 esxi_hardware_port      | **Optional.** Specifies the CIM port to connect to. Defaults to 5989.
2964 esxi_hardware_vendor    | **Optional.** Defines the vendor of the server: "auto", "dell", "hp", "ibm", "intel", "unknown" (default).
2965 esxi_hardware_html      | **Optional.** Add web-links to hardware manuals for Dell servers (use your country extension). Only useful with **esxi_hardware_vendor** = dell.
2966 esxi_hardware_ignore    | **Optional.** Comma separated list of elements to ignore.
2967 esxi_hardware_perfdata  | **Optional.** Add performcedata for graphers like PNP4Nagios to the output. Defaults to false.
2968 esxi_hardware_nopower   | **Optional.** Do not collect power performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2969 esxi_hardware_novolts   | **Optional.** Do not collect voltage performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2970 esxi_hardware_nocurrent | **Optional.** Do not collect current performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2971 esxi_hardware_notemp    | **Optional.** Do not collect temperature performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2972 esxi_hardware_nofan     | **Optional.** Do not collect fan performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
2973 esxi_hardware_nolcd     | **Optional.** Do not collect lcd/display status data. Defaults to false.
2974
2975 #### VMware <a id="plugin-contrib-vmware"></a>
2976
2977 Check commands for the [check_vmware_esx](https://github.com/BaldMansMojo/check_vmware_esx) plugin.
2978
2979 **vmware-esx-dc-volumes**
2980
2981 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
2982
2983 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2984
2985 Name                    | Description
2986 ------------------------|--------------
2987 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
2988 vmware_cluster          | **Optional.** ESX or ESXi clustername.
2989 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
2990 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".
2991 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".
2992 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
2993 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
2994 vmware_sessionfile      | **Optional.** Session file name enhancement.
2995 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
2996 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
2997 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
2998 vmware_password         | **Optional.** The username's password. No value defined as default.
2999 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
3000 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3001 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3002 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3003 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3004 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3005 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3006 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3007 vmware_dc_volume_used   | **Optional.** Output used space instead of free. Defaults to "true".
3008 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3009 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3010
3011
3012 **vmware-esx-dc-runtime-info**
3013
3014 Check command object for the `check_vmware_esx` plugin. Shows all runtime info for the datacenter/Vcenter.
3015
3016 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3017
3018 Name                    | Description
3019 ------------------------|--------------
3020 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3021 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3022 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3023 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".
3024 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".
3025 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3026 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3027 vmware_sessionfile      | **Optional.** Session file name enhancement.
3028 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3029 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3030 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3031 vmware_password         | **Optional.** The username's password. No value defined as default.
3032 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
3033
3034
3035 **vmware-esx-dc-runtime-listvms**
3036
3037 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.
3038
3039 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3040
3041 Name                    | Description
3042 ------------------------|--------------
3043 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3044 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3045 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3046 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".
3047 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".
3048 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3049 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3050 vmware_sessionfile      | **Optional.** Session file name enhancement.
3051 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3052 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3053 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3054 vmware_password         | **Optional.** The username's password. No value defined as default.
3055 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
3056 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3057 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
3058 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
3059 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3060 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.
3061
3062
3063 **vmware-esx-dc-runtime-listhost**
3064
3065 Check command object for the `check_vmware_esx` plugin. List of VMware ESX hosts and their power state.
3066
3067 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3068
3069 Name                    | Description
3070 ------------------------|--------------
3071 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3072 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3073 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3074 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".
3075 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".
3076 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3077 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3078 vmware_sessionfile      | **Optional.** Session file name enhancement.
3079 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3080 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3081 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3082 vmware_password         | **Optional.** The username's password. No value defined as default.
3083 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
3084 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3085 vmware_exclude          | **Optional.** Blacklist VMware ESX hosts. No value defined as default.
3086 vmware_include          | **Optional.** Whitelist VMware ESX hosts. No value defined as default.
3087 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3088 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.
3089
3090
3091 **vmware-esx-dc-runtime-listcluster**
3092
3093 Check command object for the `check_vmware_esx` plugin. List of VMware clusters and their states.
3094
3095 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3096
3097 Name                    | Description
3098 ------------------------|--------------
3099 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3100 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3101 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3102 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".
3103 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".
3104 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3105 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3106 vmware_sessionfile      | **Optional.** Session file name enhancement.
3107 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3108 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3109 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3110 vmware_password         | **Optional.** The username's password. No value defined as default.
3111 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
3112 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3113 vmware_exclude          | **Optional.** Blacklist VMware cluster. No value defined as default.
3114 vmware_include          | **Optional.** Whitelist VMware cluster. No value defined as default.
3115 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3116 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.
3117
3118
3119 **vmware-esx-dc-runtime-issues**
3120
3121 Check command object for the `check_vmware_esx` plugin. All issues for the host.
3122
3123 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3124
3125 Name                    | Description
3126 ------------------------|--------------
3127 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3128 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3129 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3130 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".
3131 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".
3132 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3133 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3134 vmware_sessionfile      | **Optional.** Session file name enhancement.
3135 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3136 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3137 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3138 vmware_password         | **Optional.** The username's password. No value defined as default.
3139 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
3140 vmware_exclude          | **Optional.** Blacklist issues. No value defined as default.
3141 vmware_include          | **Optional.** Whitelist issues. No value defined as default.
3142 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3143 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.
3144
3145
3146 **vmware-esx-dc-runtime-status**
3147
3148 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
3149
3150 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3151
3152 Name                    | Description
3153 ------------------------|--------------
3154 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3155 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3156 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3157 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".
3158 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".
3159 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3160 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3161 vmware_sessionfile      | **Optional.** Session file name enhancement.
3162 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3163 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3164 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3165 vmware_password         | **Optional.** The username's password. No value defined as default.
3166 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
3167
3168
3169 **vmware-esx-dc-runtime-tools**
3170
3171 Check command object for the `check_vmware_esx` plugin. Vmware Tools status.
3172
3173 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3174
3175 Name                    | Description
3176 ------------------------|--------------
3177 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3178 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3179 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3180 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".
3181 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".
3182 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3183 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3184 vmware_sessionfile      | **Optional.** Session file name enhancement.
3185 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3186 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3187 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3188 vmware_password         | **Optional.** The username's password. No value defined as default.
3189 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
3190 vmware_poweredonly      | **Optional.** List only VMs which are powered on. No value defined as default.
3191 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3192 vmware_exclude          | **Optional.** Blacklist VMs. No value defined as default.
3193 vmware_include          | **Optional.** Whitelist VMs. No value defined as default.
3194 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3195 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.
3196 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
3197
3198
3199 **vmware-esx-soap-host-check**
3200
3201 Check command object for the `check_vmware_esx` plugin. Simple check to verify a successful connection to VMware SOAP API.
3202
3203 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3204
3205 Name                    | Description
3206 ------------------------|--------------
3207 vmware_host             | **Required.** ESX or ESXi hostname.
3208 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3209 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3210 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".
3211 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".
3212 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3213 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3214 vmware_sessionfile      | **Optional.** Session file name enhancement.
3215 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3216 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3217 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3218 vmware_password         | **Optional.** The username's password. No value defined as default.
3219 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
3220
3221
3222 **vmware-esx-soap-host-uptime**
3223
3224 Check command object for the `check_vmware_esx` plugin. Displays uptime of the VMware host.
3225
3226 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3227
3228 Name                    | Description
3229 ------------------------|--------------
3230 vmware_host             | **Required.** ESX or ESXi hostname.
3231 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3232 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3233 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".
3234 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".
3235 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3236 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3237 vmware_sessionfile      | **Optional.** Session file name enhancement.
3238 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3239 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3240 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3241 vmware_password         | **Optional.** The username's password. No value defined as default.
3242 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
3243
3244
3245 **vmware-esx-soap-host-cpu**
3246
3247 Check command object for the `check_vmware_esx` plugin. CPU usage in percentage.
3248
3249 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3250
3251 Name                    | Description
3252 ------------------------|--------------
3253 vmware_host             | **Required.** ESX or ESXi hostname.
3254 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3255 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3256 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".
3257 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".
3258 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3259 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3260 vmware_sessionfile      | **Optional.** Session file name enhancement.
3261 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3262 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3263 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3264 vmware_password         | **Optional.** The username's password. No value defined as default.
3265 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
3266 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3267 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3268
3269
3270 **vmware-esx-soap-host-cpu-ready**
3271
3272 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.
3273
3274 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3275
3276 Name                    | Description
3277 ------------------------|--------------
3278 vmware_host             | **Required.** ESX or ESXi hostname.
3279 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3280 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3281 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".
3282 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".
3283 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3284 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3285 vmware_sessionfile      | **Optional.** Session file name enhancement.
3286 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3287 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3288 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3289 vmware_password         | **Optional.** The username's password. No value defined as default.
3290 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
3291
3292
3293 **vmware-esx-soap-host-cpu-wait**
3294
3295 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.
3296
3297 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3298
3299 Name                    | Description
3300 ------------------------|--------------
3301 vmware_host             | **Required.** ESX or ESXi hostname.
3302 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3303 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3304 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".
3305 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".
3306 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3307 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3308 vmware_sessionfile      | **Optional.** Session file name enhancement.
3309 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3310 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3311 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3312 vmware_password         | **Optional.** The username's password. No value defined as default.
3313 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
3314
3315
3316 **vmware-esx-soap-host-cpu-usage**
3317
3318 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.
3319
3320 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3321
3322 Name                    | Description
3323 ------------------------|--------------
3324 vmware_host             | **Required.** ESX or ESXi hostname.
3325 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3326 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3327 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".
3328 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".
3329 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3330 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3331 vmware_sessionfile      | **Optional.** Session file name enhancement.
3332 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3333 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3334 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3335 vmware_password         | **Optional.** The username's password. No value defined as default.
3336 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
3337 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3338 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3339
3340
3341 **vmware-esx-soap-host-mem**
3342
3343 Check command object for the `check_vmware_esx` plugin. All mem info(except overall and no thresholds).
3344
3345 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3346
3347 Name                    | Description
3348 ------------------------|--------------
3349 vmware_host             | **Required.** ESX or ESXi hostname.
3350 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3351 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3352 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".
3353 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".
3354 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3355 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3356 vmware_sessionfile      | **Optional.** Session file name enhancement.
3357 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3358 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3359 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3360 vmware_password         | **Optional.** The username's password. No value defined as default.
3361 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
3362
3363
3364 **vmware-esx-soap-host-mem-usage**
3365
3366 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage.
3367
3368 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3369
3370 Name                    | Description
3371 ------------------------|--------------
3372 vmware_host             | **Required.** ESX or ESXi hostname.
3373 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3374 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3375 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3376 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3377 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3378 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3379 vmware_sessionfile      | **Optional.** Session file name enhancement.
3380 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3381 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3382 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3383 vmware_password         | **Optional.** The username's password. No value defined as default.
3384 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3385 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3386 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3387
3388
3389 **vmware-esx-soap-host-mem-consumed**
3390
3391 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.
3392
3393 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3394
3395 Name                    | Description
3396 ------------------------|--------------
3397 vmware_host             | **Required.** ESX or ESXi hostname.
3398 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3399 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3400 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".
3401 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".
3402 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3403 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3404 vmware_sessionfile      | **Optional.** Session file name enhancement.
3405 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3406 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3407 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3408 vmware_password         | **Optional.** The username's password. No value defined as default.
3409 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
3410 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3411 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3412
3413
3414 **vmware-esx-soap-host-mem-swapused**
3415
3416 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.
3417
3418 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3419
3420 Name                    | Description
3421 ------------------------|--------------
3422 vmware_host             | **Required.** ESX or ESXi hostname.
3423 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3424 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3425 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".
3426 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".
3427 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3428 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3429 vmware_sessionfile      | **Optional.** Session file name enhancement.
3430 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3431 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3432 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3433 vmware_password         | **Optional.** The username's password. No value defined as default.
3434 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
3435 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3436 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3437 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.
3438
3439
3440 **vmware-esx-soap-host-mem-overhead**
3441
3442 Check command object for the `check_vmware_esx` plugin. Additional mem used by VM Server in MB.
3443
3444 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3445
3446 Name                    | Description
3447 ------------------------|--------------
3448 vmware_host             | **Required.** ESX or ESXi hostname.
3449 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3450 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3451 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".
3452 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".
3453 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3454 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3455 vmware_sessionfile      | **Optional.** Session file name enhancement.
3456 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3457 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3458 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3459 vmware_password         | **Optional.** The username's password. No value defined as default.
3460 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
3461 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3462 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3463
3464
3465 **vmware-esx-soap-host-mem-memctl**
3466
3467 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.
3468
3469 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3470
3471 Name                    | Description
3472 ------------------------|--------------
3473 vmware_host             | **Required.** ESX or ESXi hostname.
3474 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3475 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3476 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".
3477 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".
3478 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3479 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3480 vmware_sessionfile      | **Optional.** Session file name enhancement.
3481 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3482 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3483 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3484 vmware_password         | **Optional.** The username's password. No value defined as default.
3485 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
3486 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3487 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3488 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.
3489
3490
3491 **vmware-esx-soap-host-net**
3492
3493 Check command object for the `check_vmware_esx` plugin. Shows net info.
3494
3495 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3496
3497 Name                    | Description
3498 ------------------------|--------------
3499 vmware_host             | **Required.** ESX or ESXi hostname.
3500 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3501 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3502 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".
3503 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".
3504 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3505 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3506 vmware_sessionfile      | **Optional.** Session file name enhancement.
3507 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3508 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3509 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3510 vmware_password         | **Optional.** The username's password. No value defined as default.
3511 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
3512 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3513 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3514
3515
3516 **vmware-esx-soap-host-net-usage**
3517
3518 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
3519
3520 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3521
3522 Name                    | Description
3523 ------------------------|--------------
3524 vmware_host             | **Required.** ESX or ESXi hostname.
3525 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3526 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3527 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".
3528 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".
3529 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3530 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3531 vmware_sessionfile      | **Optional.** Session file name enhancement.
3532 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3533 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3534 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3535 vmware_password         | **Optional.** The username's password. No value defined as default.
3536 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
3537 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3538 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3539
3540
3541 **vmware-esx-soap-host-net-receive**
3542
3543 Check command object for the `check_vmware_esx` plugin. Data receive in KBps(Kilobytes per Second).
3544
3545 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3546
3547 Name                    | Description
3548 ------------------------|--------------
3549 vmware_host             | **Required.** ESX or ESXi hostname.
3550 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3551 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3552 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".
3553 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".
3554 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3555 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3556 vmware_sessionfile      | **Optional.** Session file name enhancement.
3557 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3558 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3559 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3560 vmware_password         | **Optional.** The username's password. No value defined as default.
3561 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
3562 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3563 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3564
3565
3566 **vmware-esx-soap-host-net-send**
3567
3568 Check command object for the `check_vmware_esx` plugin. Data send in KBps(Kilobytes per Second).
3569
3570 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3571
3572 Name                    | Description
3573 ------------------------|--------------
3574 vmware_host             | **Required.** ESX or ESXi hostname.
3575 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3576 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3577 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".
3578 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".
3579 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3580 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3581 vmware_sessionfile      | **Optional.** Session file name enhancement.
3582 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3583 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3584 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3585 vmware_password         | **Optional.** The username's password. No value defined as default.
3586 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
3587 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3588 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3589
3590
3591 **vmware-esx-soap-host-net-nic**
3592
3593 Check command object for the `check_vmware_esx` plugin. Check all active NICs.
3594
3595 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3596
3597 Name                    | Description
3598 ------------------------|--------------
3599 vmware_host             | **Required.** ESX or ESXi hostname.
3600 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3601 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3602 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".
3603 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".
3604 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3605 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3606 vmware_sessionfile      | **Optional.** Session file name enhancement.
3607 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3608 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3609 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3610 vmware_password         | **Optional.** The username's password. No value defined as default.
3611 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
3612 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3613 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3614
3615
3616 **vmware-esx-soap-host-volumes**
3617
3618 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
3619
3620 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3621
3622 Name                    | Description
3623 ------------------------|--------------
3624 vmware_host             | **Required.** ESX or ESXi hostname.
3625 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3626 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3627 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".
3628 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".
3629 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3630 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3631 vmware_sessionfile      | **Optional.** Session file name enhancement.
3632 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3633 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3634 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3635 vmware_password         | **Optional.** The username's password. No value defined as default.
3636 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
3637 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3638 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3639 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3640 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3641 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3642 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3643 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3644 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3645 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3646 vmware_spaceleft        | **Optional.** This has to be used in conjunction with thresholds as mentioned above.
3647
3648
3649 **vmware-esx-soap-host-io**
3650
3651 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.
3652
3653 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3654
3655 Name                    | Description
3656 ------------------------|--------------
3657 vmware_host             | **Required.** ESX or ESXi hostname.
3658 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3659 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3660 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".
3661 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".
3662 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3663 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3664 vmware_sessionfile      | **Optional.** Session file name enhancement.
3665 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3666 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3667 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3668 vmware_password         | **Optional.** The username's password. No value defined as default.
3669 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
3670
3671
3672 **vmware-esx-soap-host-io-aborted**
3673
3674 Check command object for the `check_vmware_esx` plugin. Number of aborted SCSI commands.
3675
3676 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3677
3678 Name                    | Description
3679 ------------------------|--------------
3680 vmware_host             | **Required.** ESX or ESXi hostname.
3681 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3682 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3683 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".
3684 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".
3685 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3686 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3687 vmware_sessionfile      | **Optional.** Session file name enhancement.
3688 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3689 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3690 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3691 vmware_password         | **Optional.** The username's password. No value defined as default.
3692 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
3693 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3694 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3695
3696
3697 **vmware-esx-soap-host-io-resets**
3698
3699 Check command object for the `check_vmware_esx` plugin. Number of SCSI bus resets.
3700
3701 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3702
3703 Name                    | Description
3704 ------------------------|--------------
3705 vmware_host             | **Required.** ESX or ESXi hostname.
3706 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3707 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3708 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".
3709 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".
3710 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3711 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3712 vmware_sessionfile      | **Optional.** Session file name enhancement.
3713 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3714 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3715 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3716 vmware_password         | **Optional.** The username's password. No value defined as default.
3717 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
3718 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3719 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3720
3721
3722 **vmware-esx-soap-host-io-read**
3723
3724 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
3725
3726 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3727
3728 Name                    | Description
3729 ------------------------|--------------
3730 vmware_host             | **Required.** ESX or ESXi hostname.
3731 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3732 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3733 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".
3734 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".
3735 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3736 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3737 vmware_sessionfile      | **Optional.** Session file name enhancement.
3738 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3739 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3740 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3741 vmware_password         | **Optional.** The username's password. No value defined as default.
3742 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
3743 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3744 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3745
3746
3747 **vmware-esx-soap-host-io-read-latency**
3748
3749 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.
3750
3751 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3752
3753 Name                    | Description
3754 ------------------------|--------------
3755 vmware_host             | **Required.** ESX or ESXi hostname.
3756 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3757 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3758 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".
3759 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".
3760 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3761 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3762 vmware_sessionfile      | **Optional.** Session file name enhancement.
3763 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3764 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3765 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3766 vmware_password         | **Optional.** The username's password. No value defined as default.
3767 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
3768 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3769 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3770
3771
3772 **vmware-esx-soap-host-io-write**
3773
3774 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
3775
3776 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3777
3778 Name                    | Description
3779 ------------------------|--------------
3780 vmware_host             | **Required.** ESX or ESXi hostname.
3781 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3782 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3783 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".
3784 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".
3785 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3786 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3787 vmware_sessionfile      | **Optional.** Session file name enhancement.
3788 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3789 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3790 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3791 vmware_password         | **Optional.** The username's password. No value defined as default.
3792 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
3793 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3794 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3795
3796
3797 **vmware-esx-soap-host-io-write-latency**
3798
3799 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.
3800
3801 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3802
3803 Name                    | Description
3804 ------------------------|--------------
3805 vmware_host             | **Required.** ESX or ESXi hostname.
3806 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3807 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3808 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".
3809 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".
3810 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3811 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3812 vmware_sessionfile      | **Optional.** Session file name enhancement.
3813 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3814 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3815 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3816 vmware_password         | **Optional.** The username's password. No value defined as default.
3817 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
3818 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3819 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3820
3821
3822 **vmware-esx-soap-host-io-usage**
3823
3824 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.
3825
3826 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3827
3828 Name                    | Description
3829 ------------------------|--------------
3830 vmware_host             | **Required.** ESX or ESXi hostname.
3831 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3832 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3833 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".
3834 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".
3835 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3836 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3837 vmware_sessionfile      | **Optional.** Session file name enhancement.
3838 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3839 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3840 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3841 vmware_password         | **Optional.** The username's password. No value defined as default.
3842 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
3843 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3844 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3845
3846
3847 **vmware-esx-soap-host-io-kernel-latency**
3848
3849 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent by VMkernel processing each SCSI command.
3850
3851 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3852
3853 Name                    | Description
3854 ------------------------|--------------
3855 vmware_host             | **Required.** ESX or ESXi hostname.
3856 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3857 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3858 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".
3859 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".
3860 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3861 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3862 vmware_sessionfile      | **Optional.** Session file name enhancement.
3863 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3864 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3865 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3866 vmware_password         | **Optional.** The username's password. No value defined as default.
3867 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
3868 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3869 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3870
3871
3872 **vmware-esx-soap-host-io-device-latency**
3873
3874 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) to complete a SCSI command from the physical device.
3875
3876 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3877
3878 Name                    | Description
3879 ------------------------|--------------
3880 vmware_host             | **Required.** ESX or ESXi hostname.
3881 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3882 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3883 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".
3884 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".
3885 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3886 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3887 vmware_sessionfile      | **Optional.** Session file name enhancement.
3888 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3889 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3890 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3891 vmware_password         | **Optional.** The username's password. No value defined as default.
3892 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
3893 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3894 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3895
3896
3897 **vmware-esx-soap-host-io-queue-latency**
3898
3899 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent in the VMkernel queue.
3900
3901 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3902
3903 Name                    | Description
3904 ------------------------|--------------
3905 vmware_host             | **Required.** ESX or ESXi hostname.
3906 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3907 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3908 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".
3909 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".
3910 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3911 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3912 vmware_sessionfile      | **Optional.** Session file name enhancement.
3913 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3914 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3915 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3916 vmware_password         | **Optional.** The username's password. No value defined as default.
3917 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
3918 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3919 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3920
3921
3922 **vmware-esx-soap-host-io-total-latency**
3923
3924 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.
3925
3926 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3927
3928 Name                    | Description
3929 ------------------------|--------------
3930 vmware_host             | **Required.** ESX or ESXi hostname.
3931 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3932 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3933 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".
3934 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".
3935 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3936 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3937 vmware_sessionfile      | **Optional.** Session file name enhancement.
3938 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3939 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3940 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3941 vmware_password         | **Optional.** The username's password. No value defined as default.
3942 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
3943 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
3944 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
3945
3946
3947 **vmware-esx-soap-host-media**
3948
3949 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.
3950
3951 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3952
3953 Name                    | Description
3954 ------------------------|--------------
3955 vmware_host             | **Required.** ESX or ESXi hostname.
3956 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3957 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3958 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".
3959 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".
3960 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3961 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3962 vmware_sessionfile      | **Optional.** Session file name enhancement.
3963 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3964 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3965 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3966 vmware_password         | **Optional.** The username's password. No value defined as default.
3967 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
3968 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
3969 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
3970 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3971 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.
3972
3973
3974 **vmware-esx-soap-host-service**
3975
3976 Check command object for the `check_vmware_esx` plugin. Shows host service info.
3977
3978 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3979
3980 Name                    | Description
3981 ------------------------|--------------
3982 vmware_host             | **Required.** ESX or ESXi hostname.
3983 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3984 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3985 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".
3986 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".
3987 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3988 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3989 vmware_sessionfile      | **Optional.** Session file name enhancement.
3990 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3991 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3992 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3993 vmware_password         | **Optional.** The username's password. No value defined as default.
3994 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
3995 vmware_exclude          | **Optional.** Blacklist services name. No value defined as default.
3996 vmware_include          | **Optional.** Whitelist services name. No value defined as default.
3997 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3998 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.
3999
4000
4001 **vmware-esx-soap-host-runtime**
4002
4003 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.
4004
4005 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4006
4007 Name                    | Description
4008 ------------------------|--------------
4009 vmware_host             | **Required.** ESX or ESXi hostname.
4010 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4011 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4012 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".
4013 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".
4014 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4015 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4016 vmware_sessionfile      | **Optional.** Session file name enhancement.
4017 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4018 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4019 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4020 vmware_password         | **Optional.** The username's password. No value defined as default.
4021 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
4022
4023
4024 **vmware-esx-soap-host-runtime-con**
4025
4026 Check command object for the `check_vmware_esx` plugin. Shows connection state.
4027
4028 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4029
4030 Name                    | Description
4031 ------------------------|--------------
4032 vmware_host             | **Required.** ESX or ESXi hostname.
4033 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4034 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4035 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".
4036 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".
4037 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4038 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4039 vmware_sessionfile      | **Optional.** Session file name enhancement.
4040 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4041 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4042 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4043 vmware_password         | **Optional.** The username's password. No value defined as default.
4044 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
4045
4046
4047 **vmware-esx-soap-host-runtime-listvms**
4048
4049 Check command object for the `check_vmware_esx` plugin. List of VMware machines and their status.
4050
4051 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4052
4053 Name                    | Description
4054 ------------------------|--------------
4055 vmware_host             | **Required.** ESX or ESXi hostname.
4056 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4057 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4058 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".
4059 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".
4060 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4061 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4062 vmware_sessionfile      | **Optional.** Session file name enhancement.
4063 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4064 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4065 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4066 vmware_password         | **Optional.** The username's password. No value defined as default.
4067 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
4068 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4069 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4070 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4071 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.
4072
4073
4074 **vmware-esx-soap-host-runtime-status**
4075
4076 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
4077
4078 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4079
4080 Name                    | Description
4081 ------------------------|--------------
4082 vmware_host             | **Required.** ESX or ESXi hostname.
4083 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4084 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4085 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".
4086 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".
4087 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4088 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4089 vmware_sessionfile      | **Optional.** Session file name enhancement.
4090 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4091 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4092 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4093 vmware_password         | **Optional.** The username's password. No value defined as default.
4094 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
4095
4096
4097 **vmware-esx-soap-host-runtime-health**
4098
4099 Check command object for the `check_vmware_esx` plugin. Checks cpu/storage/memory/sensor status.
4100
4101 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4102
4103 Name                    | Description
4104 ------------------------|--------------
4105 vmware_host             | **Required.** ESX or ESXi hostname.
4106 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4107 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4108 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".
4109 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".
4110 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4111 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4112 vmware_sessionfile      | **Optional.** Session file name enhancement.
4113 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4114 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4115 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4116 vmware_password         | **Optional.** The username's password. No value defined as default.
4117 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
4118 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4119 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4120 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4121
4122
4123 **vmware-esx-soap-host-runtime-health-listsensors**
4124
4125 Check command object for the `check_vmware_esx` plugin. List all available sensors(use for listing purpose only).
4126
4127 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4128
4129 Name                    | Description
4130 ------------------------|--------------
4131 vmware_host             | **Required.** ESX or ESXi hostname.
4132 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4133 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4134 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".
4135 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".
4136 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4137 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4138 vmware_sessionfile      | **Optional.** Session file name enhancement.
4139 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4140 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4141 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4142 vmware_password         | **Optional.** The username's password. No value defined as default.
4143 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
4144 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4145 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4146 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4147
4148
4149 **vmware-esx-soap-host-runtime-health-nostoragestatus**
4150
4151 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**.
4152
4153 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4154
4155 Name                    | Description
4156 ------------------------|--------------
4157 vmware_host             | **Required.** ESX or ESXi hostname.
4158 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4159 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4160 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".
4161 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".
4162 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4163 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4164 vmware_sessionfile      | **Optional.** Session file name enhancement.
4165 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4166 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4167 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4168 vmware_password         | **Optional.** The username's password. No value defined as default.
4169 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
4170 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4171 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4172 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4173
4174
4175 **vmware-esx-soap-host-runtime-storagehealth**
4176
4177 Check command object for the `check_vmware_esx` plugin. Local storage status check.
4178
4179 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4180
4181 Name                    | Description
4182 ------------------------|--------------
4183 vmware_host             | **Required.** ESX or ESXi hostname.
4184 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4185 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4186 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".
4187 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".
4188 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4189 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4190 vmware_sessionfile      | **Optional.** Session file name enhancement.
4191 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4192 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4193 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4194 vmware_password         | **Optional.** The username's password. No value defined as default.
4195 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
4196 vmware_exclude          | **Optional.** Blacklist storage name. No value defined as default.
4197 vmware_include          | **Optional.** Whitelist storage name. No value defined as default.
4198 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4199 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.
4200
4201
4202 **vmware-esx-soap-host-runtime-temp**
4203
4204 Check command object for the `check_vmware_esx` plugin. Lists all temperature sensors.
4205
4206 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4207
4208 Name                    | Description
4209 ------------------------|--------------
4210 vmware_host             | **Required.** ESX or ESXi hostname.
4211 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4212 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4213 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".
4214 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".
4215 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4216 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4217 vmware_sessionfile      | **Optional.** Session file name enhancement.
4218 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4219 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4220 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4221 vmware_password         | **Optional.** The username's password. No value defined as default.
4222 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
4223 vmware_exclude          | **Optional.** Blacklist sensor name. No value defined as default.
4224 vmware_include          | **Optional.** Whitelist sensor name. No value defined as default.
4225 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4226 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.
4227
4228
4229 **vmware-esx-soap-host-runtime-issues**
4230
4231 Check command object for the `check_vmware_esx` plugin. Lists all configuration issues for the host.
4232
4233 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4234
4235 Name                    | Description
4236 ------------------------|--------------
4237 vmware_host             | **Required.** ESX or ESXi hostname.
4238 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4239 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4240 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".
4241 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".
4242 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4243 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4244 vmware_sessionfile      | **Optional.** Session file name enhancement.
4245 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4246 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4247 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4248 vmware_password         | **Optional.** The username's password. No value defined as default.
4249 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
4250 vmware_exclude          | **Optional.** Blacklist configuration issues. No value defined as default.
4251 vmware_include          | **Optional.** Whitelist configuration issues. No value defined as default.
4252 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4253 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.
4254
4255
4256 **vmware-esx-soap-host-storage**
4257
4258 Check command object for the `check_vmware_esx` plugin. Shows Host storage info.
4259
4260 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4261
4262 Name                    | Description
4263 ------------------------|--------------
4264 vmware_host             | **Required.** ESX or ESXi hostname.
4265 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4266 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4267 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".
4268 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".
4269 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4270 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4271 vmware_sessionfile      | **Optional.** Session file name enhancement.
4272 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4273 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4274 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4275 vmware_password         | **Optional.** The username's password. No value defined as default.
4276 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
4277 vmware_exclude          | **Optional.** Blacklist adapters, luns and paths. No value defined as default.
4278 vmware_include          | **Optional.** Whitelist adapters, luns and paths. No value defined as default.
4279 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4280
4281
4282 **vmware-esx-soap-host-storage-adapter**
4283
4284 Check command object for the `check_vmware_esx` plugin. List host bus adapters.
4285
4286 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4287
4288 Name                    | Description
4289 ------------------------|--------------
4290 vmware_host             | **Required.** ESX or ESXi hostname.
4291 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4292 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4293 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".
4294 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".
4295 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4296 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4297 vmware_sessionfile      | **Optional.** Session file name enhancement.
4298 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4299 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4300 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4301 vmware_password         | **Optional.** The username's password. No value defined as default.
4302 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
4303 vmware_exclude          | **Optional.** Blacklist adapters. No value defined as default.
4304 vmware_include          | **Optional.** Whitelist adapters. No value defined as default.
4305 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4306 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.
4307
4308
4309 **vmware-esx-soap-host-storage-lun**
4310
4311 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.
4312
4313 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4314
4315 Name                    | Description
4316 ------------------------|--------------
4317 vmware_host             | **Required.** ESX or ESXi hostname.
4318 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4319 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4320 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".
4321 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".
4322 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4323 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4324 vmware_sessionfile      | **Optional.** Session file name enhancement.
4325 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4326 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4327 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4328 vmware_password         | **Optional.** The username's password. No value defined as default.
4329 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
4330 vmware_exclude          | **Optional.** Blacklist luns. No value defined as default.
4331 vmware_include          | **Optional.** Whitelist luns. No value defined as default.
4332 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4333 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.
4334
4335
4336 **vmware-esx-soap-host-storage-path**
4337
4338 Check command object for the `check_vmware_esx` plugin. List multipaths and the associated paths.
4339
4340 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4341
4342 Name                    | Description
4343 ------------------------|--------------
4344 vmware_host             | **Required.** ESX or ESXi hostname.
4345 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4346 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4347 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".
4348 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".
4349 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4350 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4351 vmware_sessionfile      | **Optional.** Session file name enhancement.
4352 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4353 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4354 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4355 vmware_password         | **Optional.** The username's password. No value defined as default.
4356 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
4357 vmware_alertonly        | **Optional.** List only alerting units. Important here to avoid masses of data. Defaults to "false".
4358 vmware_exclude          | **Optional.** Blacklist paths. No value defined as default.
4359 vmware_include          | **Optional.** Whitelist paths. No value defined as default.
4360 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4361 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.
4362 vmware_standbyok        | **Optional.** For storage systems where a standby multipath is ok and not a warning. Defaults to false.
4363
4364
4365 **vmware-esx-soap-vm-cpu**
4366
4367 Check command object for the `check_vmware_esx` plugin. Shows all CPU usage info.
4368
4369 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4370
4371 Name                    | Description
4372 ------------------------|--------------
4373 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4374 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4375 vmware_vmname           | **Required.** Virtual machine name.
4376 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4377 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".
4378 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".
4379 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4380 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4381 vmware_sessionfile      | **Optional.** Session file name enhancement.
4382 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4383 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4384 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4385 vmware_password         | **Optional.** The username's password. No value defined as default.
4386 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
4387
4388
4389
4390 **vmware-esx-soap-vm-cpu-ready**
4391
4392 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.
4393
4394 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4395
4396 Name                    | Description
4397 ------------------------|--------------
4398 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4399 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4400 vmware_vmname           | **Required.** Virtual machine name.
4401 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4402 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".
4403 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".
4404 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4405 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4406 vmware_sessionfile      | **Optional.** Session file name enhancement.
4407 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4408 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4409 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4410 vmware_password         | **Optional.** The username's password. No value defined as default.
4411 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
4412 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4413 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4414
4415
4416 **vmware-esx-soap-vm-cpu-wait**
4417
4418 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.
4419
4420 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4421
4422 Name                    | Description
4423 ------------------------|--------------
4424 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4425 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4426 vmware_vmname           | **Required.** Virtual machine name.
4427 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4428 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".
4429 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".
4430 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4431 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4432 vmware_sessionfile      | **Optional.** Session file name enhancement.
4433 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4434 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4435 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4436 vmware_password         | **Optional.** The username's password. No value defined as default.
4437 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
4438 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4439 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4440
4441
4442 **vmware-esx-soap-vm-cpu-usage**
4443
4444 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.
4445
4446 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4447
4448 Name                    | Description
4449 ------------------------|--------------
4450 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4451 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4452 vmware_vmname           | **Required.** Virtual machine name.
4453 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4454 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".
4455 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".
4456 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4457 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4458 vmware_sessionfile      | **Optional.** Session file name enhancement.
4459 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4460 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4461 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4462 vmware_password         | **Optional.** The username's password. No value defined as default.
4463 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
4464 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4465 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4466
4467
4468 **vmware-esx-soap-vm-mem**
4469
4470 Check command object for the `check_vmware_esx` plugin. Shows all memory info, except overall.
4471
4472 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4473
4474 Name                    | Description
4475 ------------------------|--------------
4476 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4477 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4478 vmware_vmname           | **Required.** Virtual machine name.
4479 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4480 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".
4481 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".
4482 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4483 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4484 vmware_sessionfile      | **Optional.** Session file name enhancement.
4485 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4486 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4487 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4488 vmware_password         | **Optional.** The username's password. No value defined as default.
4489 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
4490
4491
4492 **vmware-esx-soap-vm-mem-usage**
4493
4494 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage of configured virtual machine "physical" memory.
4495
4496 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4497
4498 Name                    | Description
4499 ------------------------|--------------
4500 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4501 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4502 vmware_vmname           | **Required.** Virtual machine name.
4503 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4504 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".
4505 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".
4506 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4507 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4508 vmware_sessionfile      | **Optional.** Session file name enhancement.
4509 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4510 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4511 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4512 vmware_password         | **Optional.** The username's password. No value defined as default.
4513 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
4514 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4515 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4516
4517
4518 **vmware-esx-soap-vm-mem-consumed**
4519
4520 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>
4521 **vm consumed memory = memory granted -- memory saved**
4522
4523 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4524
4525 Name                    | Description
4526 ------------------------|--------------
4527 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4528 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4529 vmware_vmname           | **Required.** Virtual machine name.
4530 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4531 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".
4532 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".
4533 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4534 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4535 vmware_sessionfile      | **Optional.** Session file name enhancement.
4536 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4537 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4538 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4539 vmware_password         | **Optional.** The username's password. No value defined as default.
4540 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
4541 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4542 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4543
4544
4545 **vmware-esx-soap-vm-mem-memctl**
4546
4547 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.
4548
4549 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4550
4551 Name                    | Description
4552 ------------------------|--------------
4553 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4554 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4555 vmware_vmname           | **Required.** Virtual machine name.
4556 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4557 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".
4558 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".
4559 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4560 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4561 vmware_sessionfile      | **Optional.** Session file name enhancement.
4562 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4563 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4564 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4565 vmware_password         | **Optional.** The username's password. No value defined as default.
4566 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
4567 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4568 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4569
4570
4571
4572 **vmware-esx-soap-vm-net**
4573
4574 Check command object for the `check_vmware_esx` plugin. Shows net info.
4575
4576 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4577
4578 Name                    | Description
4579 ------------------------|--------------
4580 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4581 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4582 vmware_vmname           | **Required.** Virtual machine name.
4583 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4584 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".
4585 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".
4586 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4587 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4588 vmware_sessionfile      | **Optional.** Session file name enhancement.
4589 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4590 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4591 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4592 vmware_password         | **Optional.** The username's password. No value defined as default.
4593 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
4594
4595
4596 **vmware-esx-soap-vm-net-usage**
4597
4598 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
4599
4600 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4601
4602 Name                    | Description
4603 ------------------------|--------------
4604 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4605 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4606 vmware_vmname           | **Required.** Virtual machine name.
4607 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4608 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".
4609 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".
4610 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4611 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4612 vmware_sessionfile      | **Optional.** Session file name enhancement.
4613 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4614 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4615 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4616 vmware_password         | **Optional.** The username's password. No value defined as default.
4617 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
4618 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4619 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4620
4621
4622 **vmware-esx-soap-vm-net-receive**
4623
4624 Check command object for the `check_vmware_esx` plugin. Receive in KBps(Kilobytes per Second).
4625
4626 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4627
4628 Name                    | Description
4629 ------------------------|--------------
4630 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4631 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4632 vmware_vmname           | **Required.** Virtual machine name.
4633 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4634 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".
4635 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".
4636 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4637 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4638 vmware_sessionfile      | **Optional.** Session file name enhancement.
4639 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4640 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4641 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4642 vmware_password         | **Optional.** The username's password. No value defined as default.
4643 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
4644 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4645 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4646
4647
4648 **vmware-esx-soap-vm-net-send**
4649
4650 Check command object for the `check_vmware_esx` plugin. Send in KBps(Kilobytes per Second).
4651
4652 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4653
4654 Name                    | Description
4655 ------------------------|--------------
4656 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4657 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4658 vmware_vmname           | **Required.** Virtual machine name.
4659 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4660 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".
4661 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".
4662 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4663 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4664 vmware_sessionfile      | **Optional.** Session file name enhancement.
4665 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4666 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4667 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4668 vmware_password         | **Optional.** The username's password. No value defined as default.
4669 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
4670 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4671 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4672
4673
4674 **vmware-esx-soap-vm-io**
4675
4676 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.
4677
4678 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4679
4680 Name                    | Description
4681 ------------------------|--------------
4682 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4683 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4684 vmware_vmname           | **Required.** Virtual machine name.
4685 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4686 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".
4687 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".
4688 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4689 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4690 vmware_sessionfile      | **Optional.** Session file name enhancement.
4691 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4692 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4693 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4694 vmware_password         | **Optional.** The username's password. No value defined as default.
4695 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
4696
4697
4698 **vmware-esx-soap-vm-io-read**
4699
4700 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
4701
4702 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4703
4704 Name                    | Description
4705 ------------------------|--------------
4706 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4707 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4708 vmware_vmname           | **Required.** Virtual machine name.
4709 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4710 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".
4711 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".
4712 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4713 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4714 vmware_sessionfile      | **Optional.** Session file name enhancement.
4715 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4716 vmware_nosession        | **Optional.** No auth session - IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4717 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4718 vmware_password         | **Optional.** The username's password. No value defined as default.
4719 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
4720 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4721 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4722
4723
4724 **vmware-esx-soap-vm-io-write**
4725
4726 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
4727
4728 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4729
4730 Name                    | Description
4731 ------------------------|--------------
4732 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4733 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4734 vmware_vmname           | **Required.** Virtual machine name.
4735 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4736 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".
4737 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".
4738 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4739 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4740 vmware_sessionfile      | **Optional.** Session file name enhancement.
4741 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4742 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4743 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4744 vmware_password         | **Optional.** The username's password. No value defined as default.
4745 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
4746 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4747 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4748
4749
4750 **vmware-esx-soap-vm-io-usage**
4751
4752 Check command object for the `check_vmware_esx` plugin. Aggregated disk I/O rate.
4753
4754 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4755
4756 Name                    | Description
4757 ------------------------|--------------
4758 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4759 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4760 vmware_vmname           | **Required.** Virtual machine name.
4761 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4762 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".
4763 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".
4764 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4765 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4766 vmware_sessionfile      | **Optional.** Session file name enhancement.
4767 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4768 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4769 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4770 vmware_password         | **Optional.** The username's password. No value defined as default.
4771 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
4772 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4773 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4774
4775
4776 **vmware-esx-soap-vm-runtime**
4777
4778 Check command object for the `check_vmware_esx` plugin. Shows virtual machine runtime info.
4779
4780 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4781
4782 Name                    | Description
4783 ------------------------|--------------
4784 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4785 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4786 vmware_vmname           | **Required.** Virtual machine name.
4787 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4788 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".
4789 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".
4790 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4791 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4792 vmware_sessionfile      | **Optional.** Session file name enhancement.
4793 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4794 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4795 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4796 vmware_password         | **Optional.** The username's password. No value defined as default.
4797 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
4798
4799
4800 **vmware-esx-soap-vm-runtime-con**
4801
4802 Check command object for the `check_vmware_esx` plugin. Shows the connection state.
4803
4804 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4805
4806 Name                    | Description
4807 ------------------------|--------------
4808 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4809 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4810 vmware_vmname           | **Required.** Virtual machine name.
4811 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4812 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".
4813 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".
4814 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4815 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4816 vmware_sessionfile      | **Optional.** Session file name enhancement.
4817 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4818 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4819 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4820 vmware_password         | **Optional.** The username's password. No value defined as default.
4821 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
4822
4823
4824 **vmware-esx-soap-vm-runtime-powerstate**
4825
4826 Check command object for the `check_vmware_esx` plugin. Shows virtual machine power state: poweredOn, poweredOff or suspended.
4827
4828 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4829
4830 Name                    | Description
4831 ------------------------|--------------
4832 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4833 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4834 vmware_vmname           | **Required.** Virtual machine name.
4835 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4836 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".
4837 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".
4838 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4839 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4840 vmware_sessionfile      | **Optional.** Session file name enhancement.
4841 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4842 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4843 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4844 vmware_password         | **Optional.** The username's password. No value defined as default.
4845 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
4846
4847
4848 **vmware-esx-soap-vm-runtime-status**
4849
4850 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
4851
4852 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4853
4854 Name                    | Description
4855 ------------------------|--------------
4856 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4857 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4858 vmware_vmname           | **Required.** Virtual machine name.
4859 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4860 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".
4861 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".
4862 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4863 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4864 vmware_sessionfile      | **Optional.** Session file name enhancement.
4865 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4866 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4867 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4868 vmware_password         | **Optional.** The username's password. No value defined as default.
4869 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
4870
4871
4872 **vmware-esx-soap-vm-runtime-consoleconnections**
4873
4874 Check command object for the `check_vmware_esx` plugin. Console connections to virtual machine.
4875
4876 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4877
4878 Name                    | Description
4879 ------------------------|--------------
4880 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4881 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4882 vmware_vmname           | **Required.** Virtual machine name.
4883 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4884 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".
4885 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".
4886 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4887 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4888 vmware_sessionfile      | **Optional.** Session file name enhancement.
4889 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4890 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4891 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4892 vmware_password         | **Optional.** The username's password. No value defined as default.
4893 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
4894 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4895 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4896
4897
4898 **vmware-esx-soap-vm-runtime-gueststate**
4899
4900 Check command object for the `check_vmware_esx` plugin. Guest OS status. Needs VMware Tools installed and running.
4901
4902 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4903
4904 Name                    | Description
4905 ------------------------|--------------
4906 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4907 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4908 vmware_vmname           | **Required.** Virtual machine name.
4909 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4910 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".
4911 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".
4912 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4913 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4914 vmware_sessionfile      | **Optional.** Session file name enhancement.
4915 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4916 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4917 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4918 vmware_password         | **Optional.** The username's password. No value defined as default.
4919 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
4920
4921 **vmware-esx-soap-vm-runtime-tools**
4922
4923 Check command object for the `check_vmware_esx` plugin. Guest OS status. VMware tools  status.
4924
4925 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4926
4927 Name                    | Description
4928 ------------------------|--------------
4929 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4930 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4931 vmware_vmname           | **Required.** Virtual machine name.
4932 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4933 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".
4934 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".
4935 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4936 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4937 vmware_sessionfile      | **Optional.** Session file name enhancement.
4938 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4939 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4940 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4941 vmware_password         | **Optional.** The username's password. No value defined as default.
4942 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
4943 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
4944
4945
4946 **vmware-esx-soap-vm-runtime-issues**
4947
4948 Check command object for the `check_vmware_esx` plugin. All issues for the virtual machine.
4949
4950 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4951
4952 Name                    | Description
4953 ------------------------|--------------
4954 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4955 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4956 vmware_vmname           | **Required.** Virtual machine name.
4957 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4958 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".
4959 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".
4960 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4961 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4962 vmware_sessionfile      | **Optional.** Session file name enhancement.
4963 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4964 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4965 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4966 vmware_password         | **Optional.** The username's password. No value defined as default.
4967 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
4968 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.
4969
4970
4971 ### Web <a id="plugin-contrib-web"></a>
4972
4973 This category includes all plugins for web-based checks.
4974
4975 #### apache_status <a id="plugin-contrib-command-apache_status"></a>
4976
4977 The [check_apache_status.pl](https://github.com/lbetz/check_apache_status) plugin
4978 uses the [/server-status](https://httpd.apache.org/docs/current/mod/mod_status.html)
4979 HTTP endpoint to monitor status metrics for the Apache webserver.
4980
4981 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4982
4983 Name                    | Description
4984 ------------------------|----------------------------------------------------------------------------------
4985 apache_status_address   | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
4986 apache_status_port      | **Optional.** the http port.
4987 apache_status_url       | **Optional.** URL to use, instead of the default (http://`apache_status_address`/server-status).
4988 apache_status_ssl       | **Optional.** set to use ssl connection
4989 apache_status_timeout   | **Optional.** timeout in seconds
4990 apache_status_warning   | **Optional.** Warning threshold (number of open slots, busy workers and idle workers that will cause a WARNING) like ':20,50,:50'.
4991 apache_status_critical  | **Optional.** Critical threshold (number of open slots, busy workers and idle workers that will cause a CRITICAL) like ':10,25,:20'.
4992
4993
4994 ### cert <a id="plugin-check-command-ssl_cert"></a>
4995
4996 The [check_ssl_cert](https://github.com/matteocorti/check_ssl_cert) plugin
4997 uses the openssl binary (and optional curl) to check a X.509 certificate.
4998
4999 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5000
5001 Name                      | Description
5002 --------------------------|--------------
5003 ssl_cert_address              | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5004 ssl_cert_port                 | **Optional.** TCP port number (default: 443).
5005 ssl_cert_file                 | **Optional.** Local file path. Works only if `ssl_cert_address` is set to "localhost".
5006 ssl_cert_warn                 | **Optional.** Minimum number of days a certificate has to be valid.
5007 ssl_cert_critical             | **Optional.** Minimum number of days a certificate has to be valid to issue a critical status.
5008 ssl_cert_cn                   | **Optional.** Pattern to match the CN of the certificate.
5009 ssl_cert_altnames             | **Optional.** Matches the pattern specified in -n with alternate
5010 ssl_cert_issuer               | **Optional.** Pattern to match the issuer of the certificate.
5011 ssl_cert_org                  | **Optional.** Pattern to match the organization of the certificate.
5012 ssl_cert_email                | **Optional.** Pattern to match the email address contained in the certificate.
5013 ssl_cert_serial               | **Optional.** Pattern to match the serial number.
5014 ssl_cert_noauth               | **Optional.** Ignore authority warnings (expiration only)
5015 ssl_cert_match_host           | **Optional.** Match CN with the host name.
5016 ssl_cert_selfsigned           | **Optional.** Allow self-signed certificate.
5017 ssl_cert_sni                  | **Optional.** Sets the TLS SNI (Server Name Indication) extension.
5018 ssl_cert_timeout              | **Optional.** Seconds before connection times out (default: 15)
5019 ssl_cert_protocol             | **Optional.** Use the specific protocol {http,smtp,pop3,imap,ftp,xmpp,irc,ldap} (default: http).
5020 ssl_cert_clientcert           | **Optional.** Use client certificate to authenticate.
5021 ssl_cert_clientpass           | **Optional.** Set passphrase for client certificate.
5022 ssl_cert_ssllabs              | **Optional.** SSL Labs assessment
5023 ssl_cert_ssllabs_nocache      | **Optional.** Forces a new check by SSL Labs
5024 ssl_cert_rootcert             | **Optional.** Root certificate or directory to be used for certificate validation.
5025 ssl_cert_ignore_signature     | **Optional.** Do not check if the certificate was signed with SHA1 od MD5.
5026 ssl_cert_ssl_version          | **Optional.** Force specific SSL version out of {ssl2,ssl3,tls1,tls1_1,tls1_2}.
5027 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.
5028 ssl_cert_cipher               | **Optional.** Cipher selection: force {ecdsa,rsa} authentication.
5029 ssl_cert_ignore_expiration    | **Optional.** Ignore expiration date.
5030 ssl_cert_ignore_ocsp          | **Optional.** Do not check revocation with OCSP.
5031
5032
5033 #### jmx4perl <a id="plugin-contrib-command-jmx4perl"></a>
5034
5035 The [check_jmx4perl](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl) plugin
5036 uses the HTTP API exposed by the [Jolokia](https://jolokia.org)
5037 web application and queries Java message beans on an application server. It is
5038 part of the `JMX::Jmx4Perl` Perl module which includes detailed
5039 [documentation](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl).
5040
5041 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5042
5043 Name                         | Description
5044 -----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------
5045 jmx4perl_url                 | **Required.** URL to agent web application. Defaults to "http://$address$:8080/jolokia".
5046 jmx4perl_product             | **Optional.** Name of app server product (e.g. jboss), by default is uses an auto detection facility.
5047 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.
5048 jmx4perl_mbean               | **Optional.** MBean name (e.g. java.lang:type=Memory).
5049 jmx4perl_attribute           | **Optional.** Attribute name (e.g. HeapMemoryUsage).
5050 jmx4perl_operation           | **Optional.** Operation to execute.
5051 jmx4perl_value               | **Optional.** Shortcut for specifying mbean/attribute/path. Slashes within names must be escaped with backslash.
5052 jmx4perl_delta               | **Optional.** Switches on incremental mode. Optional argument are seconds used for normalizing.
5053 jmx4perl_path                | **Optional.** Inner path for extracting a single value from a complex attribute or return value (e.g. used).
5054 jmx4perl_target              | **Optional.** JSR-160 Service URL specifing the target server.
5055 jmx4perl_target_user         | **Optional.** Username to use for JSR-160 connection.
5056 jmx4perl_target_password     | **Optional.** Password to use for JSR-160 connection.
5057 jmx4perl_proxy               | **Optional.** Proxy to use.
5058 jmx4perl_user                | **Optional.** User for HTTP authentication.
5059 jmx4perl_password            | **Optional.** Password for HTTP authentication.
5060 jmx4perl_name                | **Optional.** Name to use for output, by default a standard value based on the MBean and attribute will be used.
5061 jmx4perl_method              | **Optional.** HTTP method to use, either get or post. By default a method is determined automatically based on the request type.
5062 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.
5063 jmx4perl_base_mbean          | **Optional.** Base MBean name, interprets critical and warning values as relative in the range 0 .. 100%. Requires "jmx4perl_base_attribute".
5064 jmx4perl_base_attribute      | **Optional.** Base attribute for a relative check. Requires "jmx4perl_base_mbean".
5065 jmx4perl_base_path           | **Optional.** Base path for relative checks, where this path is used on the base attribute's value.
5066 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.
5067 jmx4perl_null                | **Optional.** Value which should be used in case of a null return value of an operation or attribute. Defaults to null.
5068 jmx4perl_string              | **Optional.** Force string comparison for critical and warning checks. Defaults to false.
5069 jmx4perl_numeric             | **Optional.** Force numeric comparison for critical and warning checks. Defaults to false.
5070 jmx4perl_critical            | **Optional.** Critical threshold for value.
5071 jmx4perl_warning             | **Optional.** Warning threshold for value.
5072 jmx4perl_label               | **Optional.** Label to be used for printing out the result of the check. For placeholders which can be used see the documentation.
5073 jmx4perl_perfdata            | **Optional.** Whether performance data should be omitted, which are included by default. Defaults to "on" for numeric values, to "off" for strings.
5074 jmx4perl_unknown_is_critical | **Optional.** Map UNKNOWN errors to errors with a CRITICAL status. Defaults to false.
5075 jmx4perl_timeout             | **Optional.** Seconds before plugin times out. Defaults to "15".
5076 jmx4perl_config              | **Optional.** Path to configuration file.
5077 jmx4perl_server              | **Optional.** Symbolic name of server url to use, which needs to be configured in the configuration file.
5078 jmx4perl_check               | **Optional.** Name of a check configuration as defined in the configuration file, use array if you need arguments.
5079
5080
5081 #### kdc <a id="plugin-contrib-command-kdc"></a>
5082
5083 The [check_kdc](https://exchange.nagios.org/directory/Plugins/Security/check_kdc/details) plugin
5084 uses the Kerberos `kinit` binary to monitor Kerberos 5 KDC by acquiring a ticket.
5085
5086 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5087
5088 Name            | Description
5089 ----------------|--------------------------------------------------------------------------
5090 kdc_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5091 kdc_port        | **Optional** Port on which KDC runs (default 88).
5092 kdc_principal   | **Required** Principal name to authenticate as (including realm).
5093 kdc_keytab      | **Required** Keytab file containing principal's key.
5094
5095
5096 #### nginx_status <a id="plugin-contrib-command-nginx_status"></a>
5097
5098 The [check_nginx_status.pl](https://github.com/regilero/check_nginx_status) plugin
5099 uses the [/nginx_status](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html)
5100 HTTP endpoint which provides metrics for monitoring Nginx.
5101
5102 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5103
5104 Name                            | Description
5105 --------------------------------|----------------------------------------------------------------------------------
5106 nginx_status_host_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5107 nginx_status_port               | **Optional.** the http port.
5108 nginx_status_url                | **Optional.** URL to use, instead of the default (http://`nginx_status_hostname`/nginx_status).
5109 nginx_status_servername         | **Optional.** ServerName to use if you specified an IP to match the good Virtualhost in your target.
5110 nginx_status_ssl                | **Optional.** set to use ssl connection.
5111 nginx_status_disable_sslverify          | **Optional.** set to disable SSL hostname verification.
5112 nginx_status_user               | **Optional.** Username for basic auth.
5113 nginx_status_pass               | **Optional.** Password for basic auth.
5114 nginx_status_realm              | **Optional.** Realm for basic auth.
5115 nginx_status_maxreach           | **Optional.** Number of max processes reached (since last check) that should trigger an alert.
5116 nginx_status_timeout            | **Optional.** timeout in seconds.
5117 nginx_status_warn               | **Optional.** Warning threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a WARNING) like '10000,100,200'.
5118 nginx_status_critical           | **Optional.** Critical threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a CRITICAL) like '20000,200,300'.
5119
5120
5121 #### rbl <a id="plugin-contrib-command-rbl"></a>
5122
5123 The [check_rbl](https://github.com/matteocorti/check_rbl) plugin
5124 uses the `Net::DNS` Perl library to check whether your SMTP server
5125 is blacklisted.
5126
5127 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5128
5129 Name            | Description
5130 ----------------|--------------------------------------------------------------------------
5131 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.
5132 rbl_server      | **Required** List of RBL servers as an array.
5133 rbl_warning     | **Optional** Number of blacklisting servers for a warning.
5134 rbl_critical    | **Optional** Number of blacklisting servers for a critical.
5135 tbl_timeout     | **Optional** Seconds before plugin times out (default: 15).
5136
5137
5138 #### squid <a id="plugin-contrib-command-squid"></a>
5139
5140 The [check_squid](https://exchange.icinga.com/exchange/check_squid) plugin
5141 uses the `squidclient` binary to monitor a [Squid proxy](http://www.squid-cache.org).
5142
5143 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5144
5145 Name                    | Description
5146 ------------------------|----------------------------------------------------------------------------------
5147 squid_hostname          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5148 squid_data              | **Optional.** Data to fetch (default: Connections) available data: Connections Cache Resources Memory FileDescriptors.
5149 squid_port              | **Optional.** Port number (default: 3128).
5150 squid_user              | **Optional.** WWW user.
5151 squid_password          | **Optional.** WWW password.
5152 squid_warning           | **Optional.** Warning threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5153 squid_critical          | **Optional.** Critical threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5154 squid_client            | **Optional.** Path of squidclient (default: /usr/bin/squidclient).
5155 squid_timeout           | **Optional.** Seconds before plugin times out (default: 15).
5156
5157
5158 #### webinject <a id="plugin-contrib-command-webinject"></a>
5159
5160 The [check_webinject](https://labs.consol.de/de/nagios/check_webinject/index.html) plugin
5161 uses [WebInject](http://www.webinject.org/manual.html) to test web applications
5162 and web services in an automated fashion.
5163 It can be used to test individual system components that have HTTP interfaces
5164 (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP Web Services, REST, etc),
5165 and can be used as a test harness to create a suite of HTTP level automated functional,
5166 acceptance, and regression tests. A test harness allows you to run many test cases
5167 and collect/report your results. WebInject offers real-time results
5168 display and may also be used for monitoring system response times.
5169
5170 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5171
5172 Name                    | Description
5173 ------------------------|--------------
5174 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.
5175 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.
5176 webinject_no_output     | **Optional.** Suppresses all output to STDOUT except the results summary.
5177 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.
5178 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.
5179 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.