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