]> granicus.if.org Git - icinga2/blob - doc/10-icinga-template-library.md
Merge pull request #7137 from Icinga/bugfix/disconnect-log-more-spam
[icinga2] / doc / 10-icinga-template-library.md
1 # Icinga Template Library <a id="icinga-template-library"></a>
2
3 The Icinga Template Library (ITL) implements standard templates
4 and object definitions.
5
6 There is a subset of templates and object definitions available:
7
8 * [Generic ITL templates](10-icinga-template-library.md#itl-generic-templates)
9 * [CheckCommand definitions for Icinga 2](10-icinga-template-library.md#itl-check-commands) (this includes [icinga](10-icinga-template-library.md#itl-icinga),
10 [cluster](10-icinga-template-library.md#itl-icinga-cluster), [cluster-zone](10-icinga-template-library.md#itl-icinga-cluster-zone), [ido](10-icinga-template-library.md#itl-icinga-ido), etc.)
11 * [CheckCommand definitions for Monitoring Plugins](10-icinga-template-library.md#plugin-check-commands-monitoring-plugins)
12 * [CheckCommand definitions for Icinga 2 Windows Plugins](10-icinga-template-library.md#windows-plugins)
13 * [CheckCommand definitions for NSClient++](10-icinga-template-library.md#nscp-plugin-check-commands)
14 * [CheckCommand definitions for Manubulon SNMP](10-icinga-template-library.md#snmp-manubulon-plugin-check-commands)
15 * [Contributed CheckCommand definitions](10-icinga-template-library.md#plugin-contrib)
16
17 The ITL content is updated with new releases. Please do not modify
18 templates and/or objects as changes will be overridden without
19 further notice.
20
21 You are advised to create your own CheckCommand definitions in
22 `/etc/icinga2`.
23
24 ## Generic Templates <a id="itl-generic-templates"></a>
25
26 By default the generic templates are included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
27
28 ```
29 include <itl>
30 ```
31
32 These templates are imported by the provided example configuration.
33
34 > **Note**:
35 >
36 > These templates are built into the binaries. By convention
37 > all command and timeperiod objects should import these templates.
38
39 ### plugin-check-command <a id="itl-plugin-check-command"></a>
40
41 Command template for check plugins executed by Icinga 2.
42
43 The `plugin-check-command` command does not support any vars.
44
45 By default this template is automatically imported into all [CheckCommand](09-object-types.md#objecttype-checkcommand) definitions.
46
47 ### plugin-notification-command <a id="itl-plugin-notification-command"></a>
48
49 Command template for notification scripts executed by Icinga 2.
50
51 The `plugin-notification-command` command does not support any vars.
52
53 By default this template is automatically imported into all [NotificationCommand](09-object-types.md#objecttype-notificationcommand) definitions.
54
55 ### plugin-event-command <a id="itl-plugin-event-command"></a>
56
57 Command template for event handler scripts executed by Icinga 2.
58
59 The `plugin-event-command` command does not support any vars.
60
61 By default this template is automatically imported into all [EventCommand](09-object-types.md#objecttype-eventcommand) definitions.
62
63 ### legacy-timeperiod <a id="itl-legacy-timeperiod"></a>
64
65 Timeperiod template for [Timeperiod objects](09-object-types.md#objecttype-timeperiod).
66
67 The `legacy-timeperiod` timeperiod does not support any vars.
68
69 By default this template is automatically imported into all [TimePeriod](09-object-types.md#objecttype-timeperiod) definitions.
70
71 ## Check Commands <a id="itl-check-commands"></a>
72
73 These check commands are embedded into Icinga 2 and do not require any external
74 plugin scripts.
75
76 ### icinga <a id="itl-icinga"></a>
77
78 Check command for the built-in `icinga` check. This check returns performance
79 data for the current Icinga instance and optionally allows for minimum version checks.
80
81 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
82
83 Name                   | Description
84 -----------------------|---------------
85 icinga\_min\_version   | **Optional.** Required minimum Icinga 2 version, e.g. `2.8.0`. If not satisfied, the state changes to `Critical`. Release packages only.
86
87 ### cluster <a id="itl-icinga-cluster"></a>
88
89 Check command for the built-in `cluster` check. This check returns performance
90 data for the current Icinga instance and connected endpoints.
91
92 The `cluster` check command does not support any vars.
93
94 ### cluster-zone <a id="itl-icinga-cluster-zone"></a>
95
96 Check command for the built-in `cluster-zone` check.
97
98 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
99
100 Name                   | Description
101 -----------------------|---------------
102 cluster\_zone          | **Required.** The zone name. Defaults to `$host.name$`.
103 cluster\_lag\_warning  | **Optional.** Warning threshold for log lag in seconds. Applies if the log lag is greater than the threshold.
104 cluster\_lag\_critical | **Optional.** Critical threshold for log lag in seconds. Applies if the log lag is greater than the threshold.
105
106 ### ido <a id="itl-icinga-ido"></a>
107
108 Check command for the built-in `ido` check.
109
110 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
111
112 Name                            | Description
113 --------------------------------|-----------------------------
114 ido\_type                       | **Required.** The type of the IDO connection object. Can be either "IdoMysqlConnection" or "IdoPgsqlConnection".
115 ido\_name                       | **Required.** The name of the IDO connection object.
116 ido\_queries\_warning           | **Optional.** Warning threshold for queries/s. Applies if the rate is lower than the threshold.
117 ido\_queries\_critical          | **Optional.** Critical threshold for queries/s. Applies if the rate is lower than the threshold.
118 ido\_pending\_queries\_warning  | **Optional.** Warning threshold for pending queries. Applies if pending queries are higher than the threshold. Supersedes the `ido_queries` thresholds above.
119 ido\_pending\_queries\_critical | **Optional.** Critical threshold for pending queries. Applies if pending queries are higher than the threshold. Supersedes the `ido_queries` thresholds above.
120
121
122 ### dummy <a id="itl-dummy"></a>
123
124 Check command for the built-in `dummy` check. This allows to set
125 a check result state and output and can be used in [freshness checks](08-advanced-topics.md#check-result-freshness)
126 or [runtime object checks](08-advanced-topics.md#access-object-attributes-at-runtime).
127 In contrast to the [check_dummy](https://www.monitoring-plugins.org/doc/man/check_dummy.html)
128 plugin, Icinga 2 implements a light-weight in memory check with 2.9+.
129
130 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
131
132 Name            | Description
133 ----------------|--------------
134 dummy\_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 0.
135 dummy\_text      | **Optional.** Plugin output. Defaults to "Check was successful.".
136
137 ### passive <a id="itl-check-command-passive"></a>
138
139 Specialised check command object for passive checks which uses the functionality of the "dummy" check command with appropriate default values.
140
141 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
142
143 Name            | Description
144 ----------------|--------------
145 dummy_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 3.
146 dummy_text      | **Optional.** Plugin output. Defaults to "No Passive Check Result Received.".
147
148 ### random <a id="itl-random"></a>
149
150 Check command for the built-in `random` check. This check returns random states
151 and adds the check source to the check output.
152
153 For test and demo purposes only. The `random` check command does not support
154 any vars.
155
156 ### exception <a id="itl-exception"></a>
157
158 Check command for the built-in `exception` check. This check throws an exception.
159
160 For test and demo purposes only. The `exception` check command does not support
161 any vars.
162
163 <!-- keep this anchor for URL link history only -->
164 <a id="plugin-check-commands"></a>
165
166 ## Plugin Check Commands for Monitoring Plugins <a id="plugin-check-commands-monitoring-plugins"></a>
167
168 The Plugin Check Commands provides example configuration for plugin check commands
169 provided by the [Monitoring Plugins](https://www.monitoring-plugins.org) project.
170
171 By default the Plugin Check Commands are included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration
172 file:
173
174     include <plugins>
175
176 The plugin check commands assume that there's a global constant named `PluginDir`
177 which contains the path of the plugins from the Monitoring Plugins project.
178
179 > **Note**:
180 >
181 > Please be aware that the CheckCommand definitions are based on the [Monitoring Plugins](https://www.monitoring-plugins.org), other Plugin collections might not support
182 > all parameters. If there are command parameters missing for the provided CheckCommand definitions please kindly send a patch upstream.
183 > This should include an update for the ITL CheckCommand itself and this documentation section.
184
185 ### apt <a id="plugin-check-command-apt"></a>
186
187 The plugin [apt](https://www.monitoring-plugins.org/doc/man/check_apt.html) checks for software updates on systems that use
188 package management systems based on the apt-get(8) command found in Debian based systems.
189
190 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
191
192 Name                    | Description
193 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
194 apt_extra_opts          | **Optional.** Read options from an ini file.
195 apt_upgrade             | **Optional.** [Default] Perform an upgrade. If an optional OPTS argument is provided, apt-get will be run with these command line options instead of the default.
196 apt_dist_upgrade        | **Optional.** Perform a dist-upgrade instead of normal upgrade. Like with -U OPTS can be provided to override the default options.
197 apt_include             | **Optional.** Include only packages matching REGEXP. Can be specified multiple times the values will be combined together.
198 apt_exclude             | **Optional.** Exclude packages matching REGEXP from the list of packages that would otherwise be included. Can be specified multiple times.
199 apt_critical            | **Optional.** If the full package information of any of the upgradable packages match this REGEXP, the plugin will return CRITICAL status. Can be specified multiple times.
200 apt_timeout             | **Optional.** Seconds before plugin times out (default: 10).
201 apt_only_critical       | **Optional.** Only warn about critical upgrades.
202 apt_list                | **Optional.** List packages available for upgrade.
203
204
205 ### breeze <a id="plugin-check-command-breeze"></a>
206
207 The [check_breeze](https://www.monitoring-plugins.org/doc/man/check_breeze.html) plugin reports the signal
208 strength of a Breezecom wireless equipment.
209
210 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
211
212 Name             | Description
213 -----------------|---------------------------------
214 breeze_hostname  | **Required.** Name or IP address of host to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
215 breeze_community | **Optional.** SNMPv1 community. Defaults to "public".
216 breeze_warning   | **Required.** Percentage strength below which a WARNING status will result. Defaults to 50.
217 breeze_critical  | **Required.** Percentage strength below which a WARNING status will result. Defaults to 20.
218
219
220 ### by_ssh <a id="plugin-check-command-by-ssh"></a>
221
222 The [check_by_ssh](https://www.monitoring-plugins.org/doc/man/check_by_ssh.html) plugin uses SSH to execute
223 commands on a remote host.
224
225 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
226
227 Name               | Description
228 ----------------   | --------------
229 by_ssh_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
230 by_ssh_port        | **Optional.** The SSH port. Defaults to 22.
231 by_ssh_command     | **Required.** The command that should be executed. Can be an array if multiple arguments should be passed to `check_by_ssh`.
232 by_ssh_arguments   | **Optional.** A dictionary with arguments for the command. This works exactly like the 'arguments' dictionary for ordinary CheckCommands.
233 by_ssh_logname     | **Optional.** The SSH username.
234 by_ssh_identity    | **Optional.** The SSH identity.
235 by_ssh_quiet       | **Optional.** Whether to suppress SSH warnings. Defaults to false.
236 by_ssh_warn        | **Optional.** The warning threshold.
237 by_ssh_crit        | **Optional.** The critical threshold.
238 by_ssh_timeout     | **Optional.** The timeout in seconds.
239 by_ssh_options     | **Optional.** Call ssh with '-o OPTION' (multiple options may be specified as an array).
240 by_ssh_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
241 by_ssh_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
242 by_ssh_skip_stderr | **Optional.** Ignore all or (if specified) first n lines on STDERR.
243
244
245 ### clamd <a id="plugin-check-command-clamd"></a>
246
247 The [check_clamd](https://www.monitoring-plugins.org/doc/man/check_clamd.html) plugin tests CLAMD
248 connections with the specified host (or unix socket).
249
250 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
251
252 Name               | Description
253 -------------------|--------------
254 clamd_address        | **Required.** The host's address or unix socket (must be an absolute path).
255 clamd_port           | **Optional.** Port number (default: none).
256 clamd_expect         | **Optional.** String to expect in server response. Multiple strings must be defined as array.
257 clamd_all            | **Optional.** All expect strings need to occur in server response. Defaults to false.
258 clamd_escape_send    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
259 clamd_send           | **Optional.** String to send to the server.
260 clamd_escape_quit    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
261 clamd_quit           | **Optional.** String to send server to initiate a clean close of the connection.
262 clamd_refuse         | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
263 clamd_mismatch       | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
264 clamd_jail           | **Optional.** Hide output from TCP socket.
265 clamd_maxbytes       | **Optional.** Close connection once more than this number of bytes are received.
266 clamd_delay          | **Optional.** Seconds to wait between sending string and polling for response.
267 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.
268 clamd_ssl            | **Optional.** Use SSL for the connection. Defaults to false.
269 clamd_wtime          | **Optional.** Response time to result in warning status (seconds).
270 clamd_ctime          | **Optional.** Response time to result in critical status (seconds).
271 clamd_timeout        | **Optional.** Seconds before connection times out. Defaults to 10.
272 clamd_ipv4           | **Optional.** Use IPv4 connection. Defaults to false.
273 clamd_ipv6           | **Optional.** Use IPv6 connection. Defaults to false.
274
275
276 ### dhcp <a id="plugin-check-command-dhcp"></a>
277
278 The [check_dhcp](https://www.monitoring-plugins.org/doc/man/check_dhcp.html) plugin
279 tests the availability of DHCP servers on a network.
280
281 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
282
283 Name            | Description
284 ----------------|--------------
285 dhcp_serverip   | **Optional.** The IP address of the DHCP server which we should get a response from.
286 dhcp_requestedip| **Optional.** The IP address which we should be offered by a DHCP server.
287 dhcp_timeout    | **Optional.** The timeout in seconds.
288 dhcp_interface  | **Optional.** The interface to use.
289 dhcp_mac        | **Optional.** The MAC address to use in the DHCP request.
290 dhcp_unicast    | **Optional.** Whether to use unicast requests. Defaults to false.
291
292
293 ### dig <a id="plugin-check-command-dig"></a>
294
295 The [check_dig](https://www.monitoring-plugins.org/doc/man/check_dig.html) plugin
296 test the DNS service on the specified host using dig.
297
298 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
299
300 Name                 | Description
301 ---------------------|--------------
302 dig_server           | **Optional.** The DNS server to query. Defaults to "127.0.0.1".
303 dig_port                 | **Optional.** Port number (default: 53).
304 dig_lookup           | **Required.** The address that should be looked up.
305 dig_record_type      | **Optional.** Record type to lookup (default: A).
306 dig_expected_address | **Optional.** An address expected to be in the answer section. If not set, uses whatever was in -l.
307 dig_arguments        | **Optional.** Pass STRING as argument(s) to dig.
308 dig_retries              | **Optional.** Number of retries passed to dig, timeout is divided by this value (Default: 3).
309 dig_warning          | **Optional.** Response time to result in warning status (seconds).
310 dig_critical         | **Optional.** Response time to result in critical status (seconds).
311 dig_timeout          | **Optional.** Seconds before connection times out (default: 10).
312 dig_ipv4             | **Optional.** Force dig to only use IPv4 query transport. Defaults to false.
313 dig_ipv6             | **Optional.** Force dig to only use IPv6 query transport. Defaults to false.
314
315
316 ### disk <a id="plugin-check-command-disk"></a>
317
318 The [check_disk](https://www.monitoring-plugins.org/doc/man/check_disk.html) plugin
319 checks the amount of used disk space on a mounted file system and generates an alert
320 if free space is less than one of the threshold values.
321
322 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
323
324 Name                    | Description
325 --------------------|------------------------
326 disk\_wfree             | **Optional.** The free space warning threshold. Defaults to "20%". If the percent sign is omitted, units from `disk_units` are used.
327 disk\_cfree             | **Optional.** The free space critical threshold. Defaults to "10%". If the percent sign is omitted, units from `disk_units` are used.
328 disk\_inode\_wfree      | **Optional.** The free inode warning threshold.
329 disk\_inode\_cfree      | **Optional.** The free inode critical threshold.
330 disk\_partition         | **Optional.** The partition. **Deprecated in 2.3.**
331 disk\_partition\_excluded  | **Optional.** The excluded partition. **Deprecated in 2.3.**
332 disk\_partitions        | **Optional.** The partition(s). Multiple partitions must be defined as array.
333 disk\_partitions\_excluded | **Optional.** The excluded partition(s). Multiple partitions must be defined as array.
334 disk\_clear             | **Optional.** Clear thresholds. May be true or false.
335 disk\_exact\_match      | **Optional.** For paths or partitions specified with -p, only check for exact paths. May be true or false.
336 disk\_errors\_only      | **Optional.** Display only devices/mountpoints with errors. May be true or false.
337 disk\_ignore\_reserved  | **Optional.** If set, account root-reserved blocks are not accounted for freespace in perfdata. May be true or false.
338 disk\_group             | **Optional.** Group paths. Thresholds apply to (free-)space of all partitions together.
339 disk\_kilobytes         | **Optional.** Same as --units kB. May be true or false.
340 disk\_local             | **Optional.** Only check local filesystems. May be true or false.
341 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.
342 disk\_mountpoint          | **Optional.** Display the mountpoint instead of the partition. May be true or false.
343 disk\_megabytes           | **Optional.** Same as --units MB. May be true or false.
344 disk\_all                 | **Optional.** Explicitly select all paths. This is equivalent to -R '.\*'. May be true or false.
345 disk\_eregi\_path         | **Optional.** Case insensitive regular expression for path/partition. Multiple regular expression strings must be defined as array.
346 disk\_ereg\_path          | **Optional.** Regular expression for path or partition. Multiple regular expression strings must be defined as array.
347 disk\_ignore\_eregi\_path | **Optional.** Regular expression to ignore selected path/partition (case insensitive). Multiple regular expression strings must be defined as array.
348 disk\_ignore\_ereg\_path  | **Optional.** Regular expression to ignore selected path or partition. Multiple regular expression strings must be defined as array.
349 disk\_timeout             | **Optional.** Seconds before connection times out (default: 10).
350 disk\_units               | **Optional.** Choose bytes, kB, MB, GB, TB (default: MB).
351 disk\_exclude\_type       | **Optional.** Ignore all filesystems of indicated type. Multiple regular expression strings must be defined as array. Defaults to "none", "tmpfs", "sysfs", "proc", "configfs", "devtmpfs", "devfs", "mtmfs", "tracefs", "cgroup", "fuse.gvfsd-fuse", "fuse.gvfs-fuse-daemon", "fdescfs", "overlay", "nsfs", "squashfs".
352 disk\_include\_type       | **Optional.** Check only filesystems of indicated type. Multiple regular expression strings must be defined as array.
353
354 ### disk_smb <a id="plugin-check-command-disk-smb"></a>
355
356 The [check_disk_smb](https://www.monitoring-plugins.org/doc/man/check_disk_smb.html) plugin
357 uses the `smbclient` binary to check SMB shares.
358
359 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
360
361 Name                    | Description
362 ------------------------|------------------------
363 disk_smb_hostname       | **Required.** NetBIOS name of the server.
364 disk_smb_share          | **Required.** Share name being queried.
365 disk_smb_workgroup      | **Optional.** Workgroup or Domain used (defaults to 'WORKGROUP' if omitted).
366 disk_smb_address        | **Optional.** IP address of the host (only necessary if host belongs to another network).
367 disk_smb_username       | **Optional.** Username for server log-in (defaults to 'guest' if omitted).
368 disk_smb_password       | **Optional.** Password for server log-in (defaults to an empty password if omitted).
369 disk_smb_wused          | **Optional.** The used space warning threshold. Defaults to "85%". If the percent sign is omitted, use optional disk units.
370 disk_smb_cused          | **Optional.** The used space critical threshold. Defaults to "95%". If the percent sign is omitted, use optional disk units.
371 disk_smb_port           | **Optional.** Connection port, e.g. `139` or `445`. Defaults to `smbclient` default if omitted.
372
373 ### dns <a id="plugin-check-command-dns"></a>
374
375 The [check_dns](https://www.monitoring-plugins.org/doc/man/check_dns.html) plugin
376 uses the nslookup program to obtain the IP address for the given host/domain query.
377 An optional DNS server to use may be specified. If no DNS server is specified, the
378 default server(s) specified in `/etc/resolv.conf` will be used.
379
380 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
381
382 Name                 | Description
383 ---------------------|--------------
384 dns_lookup           | **Optional.** The hostname or IP to query the DNS for. Defaults to "$host_name$".
385 dns_server           | **Optional.** The DNS server to query. Defaults to the server configured in the OS.
386 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)
387 dns_expected_answers | **Optional.** The answer(s) to look for. A hostname must end with a dot. Multiple answers must be defined as array.
388 dns_authoritative    | **Optional.** Expect the server to send an authoritative answer.
389 dns_accept_cname     | **Optional.** Accept cname responses as a valid result to a query.
390 dns_wtime            | **Optional.** Return warning if elapsed time exceeds value.
391 dns_ctime            | **Optional.** Return critical if elapsed time exceeds value.
392 dns_timeout          | **Optional.** Seconds before connection times out. Defaults to 10.
393
394
395
396 ### file_age <a id="plugin-check-command-file-age"></a>
397
398 The [check_file_age](https://www.monitoring-plugins.org/doc/man/check_file_age.html) plugin
399 checks a file's size and modification time to make sure it's not empty and that it's sufficiently recent.
400
401 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
402
403 Name                   | Description
404 -----------------------|--------------------------------------------------------------------------------------------------------
405 file_age_file          | **Required.** File to monitor.
406 file_age_warning_time  | **Optional.** File must be no more than this many seconds old as warning threshold. Defaults to "240s".
407 file_age_critical_time | **Optional.** File must be no more than this many seconds old as critical threshold. Defaults to "600s".
408 file_age_warning_size  | **Optional.** File must be at least this many bytes long as warning threshold. No default given.
409 file_age_critical_size | **Optional.** File must be at least this many bytes long as critical threshold. Defaults to "0B".
410 file_age_ignoremissing | **Optional.** Return OK if the file does not exist. Defaults to false.
411
412
413 ### flexlm <a id="plugin-check-command-flexlm"></a>
414
415 The [check_flexlm](https://www.monitoring-plugins.org/doc/man/check_flexlm.html) plugin
416 checks available flexlm license managers. Requires the `lmstat` command.
417
418 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
419
420 Name               | Description
421 -------------------|----------------------------------------------------------
422 flexlm_licensefile | **Required.** Name of license file (usually license.dat).
423 flexlm_timeout     | **Optional.** Plugin time out in seconds. Defaults to 15.
424
425
426 ### fping4 <a id="plugin-check-command-fping4"></a>
427
428 The [check_fping](https://www.monitoring-plugins.org/doc/man/check_fping.html) plugin
429 uses the `fping` command to ping the specified host for a fast check. Note that it is
430 necessary to set the `suid` flag on `fping`.
431
432 This CheckCommand expects an IPv4 address.
433
434 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
435
436 Name            | Description
437 ----------------|--------------
438 fping_address   | **Optional.** The host's IPv4 address. Defaults to "$address$".
439 fping_wrta      | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
440 fping_wpl       | **Optional.** The packet loss warning threshold in %. Defaults to 5.
441 fping_crta      | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
442 fping_cpl       | **Optional.** The packet loss critical threshold in %. Defaults to 15.
443 fping_number    | **Optional.** The number of packets to send. Defaults to 5.
444 fping_interval  | **Optional.** The interval between packets in milli-seconds. Defaults to 500.
445 fping_bytes     | **Optional.** The size of ICMP packet.
446 fping_target_timeout | **Optional.** The target timeout in milli-seconds.
447 fping_source_ip | **Optional.** The name or ip address of the source ip.
448 fping_source_interface | **Optional.** The source interface name.
449
450
451 ### fping6 <a id="plugin-check-command-fping6"></a>
452
453 The [check_fping](https://www.monitoring-plugins.org/doc/man/check_fping.html) plugin
454 will use the `fping` command to ping the specified host for a fast check. Note that it is
455 necessary to set the `suid` flag on `fping`.
456
457 This CheckCommand expects an IPv6 address.
458
459 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
460
461 Name            | Description
462 ----------------|--------------
463 fping_address   | **Optional.** The host's IPv6 address. Defaults to "$address6$".
464 fping_wrta      | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
465 fping_wpl       | **Optional.** The packet loss warning threshold in %. Defaults to 5.
466 fping_crta      | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
467 fping_cpl       | **Optional.** The packet loss critical threshold in %. Defaults to 15.
468 fping_number    | **Optional.** The number of packets to send. Defaults to 5.
469 fping_interval  | **Optional.** The interval between packets in milli-seconds. Defaults to 500.
470 fping_bytes     | **Optional.** The size of ICMP packet.
471 fping_target_timeout | **Optional.** The target timeout in milli-seconds.
472 fping_source_ip | **Optional.** The name or ip address of the source ip.
473 fping_source_interface | **Optional.** The source interface name.
474
475
476 ### ftp <a id="plugin-check-command-ftp"></a>
477
478 The [check_ftp](https://www.monitoring-plugins.org/doc/man/check_ftp.html) plugin
479 tests FTP connections with the specified host (or unix socket).
480
481 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
482
483 Name               | Description
484 -------------------|--------------
485 ftp_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
486 ftp_port           | **Optional.** The FTP port number.
487 ftp_expect         | **Optional.** String to expect in server response. Multiple strings must be defined as array.
488 ftp_all            | **Optional.** All expect strings need to occur in server response. Defaults to false.
489 ftp_escape_send    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
490 ftp_send           | **Optional.** String to send to the server.
491 ftp_escape_quit    | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
492 ftp_quit           | **Optional.** String to send server to initiate a clean close of the connection.
493 ftp_refuse         | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
494 ftp_mismatch       | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
495 ftp_jail           | **Optional.** Hide output from TCP socket.
496 ftp_maxbytes       | **Optional.** Close connection once more than this number of bytes are received.
497 ftp_delay          | **Optional.** Seconds to wait between sending string and polling for response.
498 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.
499 ftp_ssl            | **Optional.** Use SSL for the connection. Defaults to false.
500 ftp_wtime          | **Optional.** Response time to result in warning status (seconds).
501 ftp_ctime          | **Optional.** Response time to result in critical status (seconds).
502 ftp_timeout        | **Optional.** Seconds before connection times out. Defaults to 10.
503 ftp_ipv4           | **Optional.** Use IPv4 connection. Defaults to false.
504 ftp_ipv6           | **Optional.** Use IPv6 connection. Defaults to false.
505
506
507 ### game <a id="plugin-check-command-game"></a>
508
509 The [check_game](https://www.monitoring-plugins.org/doc/man/check_game.html) plugin
510 tests game server connections with the specified host.
511 This plugin uses the 'qstat' command, the popular game server status query tool.
512 If you don't have the package installed, you will need to [download](http://www.activesw.com/people/steve/qstat.html)
513 or install the package `quakestat` before you can use this plugin.
514
515 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
516
517 Name               | Description
518 -------------------|-------------------
519 game_game          | **Required.** Name of the game.
520 game_ipaddress     | **Required.** Ipaddress of the game server to query.
521 game_timeout       | **Optional.** Seconds before connection times out. Defaults to 10.
522 game_port          | **Optional.** Port to connect to.
523 game_gamefield     | **Optional.** Field number in raw qstat output that contains game name.
524 game_mapfield      | **Optional.** Field number in raw qstat output that contains map name.
525 game_pingfield     | **Optional.** Field number in raw qstat output that contains ping time.
526 game_gametime      | **Optional.** Field number in raw qstat output that contains game time.
527 game_hostname      | **Optional.** Name of the host running the game.
528
529
530 ### hostalive <a id="plugin-check-command-hostalive"></a>
531
532 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
533 plugin with host check default values. This variant uses the host's `address` attribute
534 if available and falls back to using the `address6` attribute if the `address` attribute is not set.
535
536 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
537
538 Name            | Description
539 ----------------|--------------
540 ping_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
541 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
542 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
543 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
544 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
545 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
546 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
547
548
549 ### hostalive4 <a id="plugin-check-command-hostalive4"></a>
550
551 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
552 plugin with host check default values. This variant uses the host's `address` attribute.
553
554 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
555
556 Name            | Description
557 ----------------|--------------
558 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
559 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
560 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
561 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
562 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
563 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
564 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
565
566
567 ### hostalive6 <a id="plugin-check-command-hostalive6"></a>
568
569 Check command object for the [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html)
570 plugin with host check default values. This variant uses the host's `address6` attribute.
571
572 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
573
574 Name            | Description
575 ----------------|--------------
576 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
577 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
578 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
579 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
580 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
581 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
582 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
583
584
585 ### hpjd <a id="plugin-check-command-hpjd"></a>
586
587 The [check_hpjd](https://www.monitoring-plugins.org/doc/man/check_hpjd.html) plugin
588 tests the state of an HP printer with a JetDirect card. Net-snmp must be installed
589 on the computer running the plugin.
590
591 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
592
593 Name            | Description
594 ----------------|--------------
595 hpjd_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
596 hpjd_port       | **Optional.** The host's SNMP port. Defaults to 161.
597 hpjd_community  | **Optional.** The SNMP community. Defaults  to "public".
598
599
600 ### http <a id="plugin-check-command-http"></a>
601
602 The [check_http](https://www.monitoring-plugins.org/doc/man/check_http.html) plugin
603 tests the HTTP service on the specified host. It can test normal (http) and secure
604 (https) servers, follow redirects, search for strings and regular expressions,
605 check connection times, and report on certificate expiration times.
606
607 The plugin can either test the HTTP response of a server, or if `http_certificate` is set to a non-empty value, the TLS certificate age for a HTTPS host.
608
609 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
610
611 Name                             | Description
612 ---------------------------------|---------------------------------
613 http_address                     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
614 http_vhost                       | **Optional.** The virtual host that should be sent in the "Host" header.
615 http_uri                         | **Optional.** The request URI for GET or POST. Defaults to `/`.
616 http_port                        | **Optional.** The TCP port. Defaults to 80 when not using SSL, 443 otherwise.
617 http_ssl                         | **Optional.** Whether to use SSL. Defaults to false.
618 http_ssl_force_tlsv1             | **Optional.** Whether to force TLSv1.
619 http_ssl_force_tlsv1_1           | **Optional.** Whether to force TLSv1.1.
620 http_ssl_force_tlsv1_2           | **Optional.** Whether to force TLSv1.2.
621 http_ssl_force_sslv2             | **Optional.** Whether to force SSLv2.
622 http_ssl_force_sslv3             | **Optional.** Whether to force SSLv3.
623 http_ssl_force_tlsv1_or_higher   | **Optional.** Whether to force TLSv1 or higher.
624 http_ssl_force_tlsv1_1_or_higher | **Optional.** Whether to force TLSv1.1 or higher.
625 http_ssl_force_tlsv1_2_or_higher | **Optional.** Whether to force TLSv1.2 or higher.
626 http_ssl_force_sslv2_or_higher   | **Optional.** Whether to force SSLv2 or higher.
627 http_ssl_force_sslv3_or_higher   | **Optional.** Whether to force SSLv3 or higher.
628 http_sni                         | **Optional.** Whether to use SNI. Defaults to false.
629 http_auth_pair                   | **Optional.** Add 'username:password' authorization pair.
630 http_proxy_auth_pair             | **Optional.** Add 'username:password' authorization pair for proxy.
631 http_ignore_body                 | **Optional.** Don't download the body, just the headers.
632 http_linespan                    | **Optional.** Allow regex to span newline.
633 http_expect_body_regex           | **Optional.** A regular expression which the body must match against. Incompatible with http_ignore_body.
634 http_expect_body_eregi           | **Optional.** A case-insensitive expression which the body must match against. Incompatible with http_ignore_body.
635 http_invertregex                 | **Optional.** Changes behavior of http_expect_body_regex and http_expect_body_eregi to return CRITICAL if found, OK if not.
636 http_warn_time                   | **Optional.** The warning threshold.
637 http_critical_time               | **Optional.** The critical threshold.
638 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.
639 http_certificate                 | **Optional.** Minimum number of days a certificate has to be valid. Port defaults to 443. When this option is used the URL is not checked. The first parameter defines the warning threshold (in days), the second parameter the critical threshold (in days). (Example `http_certificate = "30,20"`).
640 http_clientcert                  | **Optional.** Name of file contains the client certificate (PEM format).
641 http_privatekey                  | **Optional.** Name of file contains the private key (PEM format).
642 http_headerstring                | **Optional.** String to expect in the response headers.
643 http_string                      | **Optional.** String to expect in the content.
644 http_post                        | **Optional.** URL encoded http POST data.
645 http_method                      | **Optional.** Set http method (for example: HEAD, OPTIONS, TRACE, PUT, DELETE).
646 http_maxage                      | **Optional.** Warn if document is more than seconds old.
647 http_contenttype                 | **Optional.** Specify Content-Type header when POSTing.
648 http_useragent                   | **Optional.** String to be sent in http header as User Agent.
649 http_header                      | **Optional.** Any other tags to be sent in http header.
650 http_extendedperfdata            | **Optional.** Print additional perfdata. Defaults to false.
651 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)
652 http_pagesize                    | **Optional.** Minimum page size required:Maximum page size required.
653 http_timeout                     | **Optional.** Seconds before connection times out.
654 http_ipv4                        | **Optional.** Use IPv4 connection. Defaults to false.
655 http_ipv6                        | **Optional.** Use IPv6 connection. Defaults to false.
656 http_link                        | **Optional.** Wrap output in HTML link. Defaults to false.
657 http_verbose                     | **Optional.** Show details for command-line debugging. Defaults to false.
658
659
660 ### icmp <a id="plugin-check-command-icmp"></a>
661
662 The [check_icmp](https://www.monitoring-plugins.org/doc/man/check_icmp.html) plugin
663 check_icmp allows for checking multiple hosts at once compared to `check_ping`.
664 The main difference is that check_ping executes the system's ping(1) command and
665 parses its output while `check_icmp` talks ICMP itself. `check_icmp` must be installed with
666 `setuid` root.
667
668 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
669
670 Name            | Description
671 ----------------|--------------
672 icmp_address    | **Optional.** The host's address. This can either be a single address or an array of addresses. Defaults to "$address$".
673 icmp_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
674 icmp_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
675 icmp_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
676 icmp_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
677 icmp_source     | **Optional.** The source IP address to send packets from.
678 icmp_packets    | **Optional.** The number of packets to send. Defaults to 5.
679 icmp_packet_interval | **Optional** The maximum packet interval. Defaults to 80 (milliseconds).
680 icmp_target_interval | **Optional.** The maximum target interval.
681 icmp_hosts_alive | **Optional.** The number of hosts which have to be alive for the check to succeed.
682 icmp_data_bytes | **Optional.** Payload size for each ICMP request. Defaults to 8.
683 icmp_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 10 (seconds).
684 icmp_ttl        | **Optional.** The TTL on outgoing packets.
685
686
687 ### imap <a id="plugin-check-command-imap"></a>
688
689 The [check_imap](https://www.monitoring-plugins.org/doc/man/check_imap.html) plugin
690 tests IMAP connections with the specified host (or unix socket).
691
692 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
693
694 Name                  | Description
695 ----------------------|--------------
696 imap_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
697 imap_port             | **Optional.** The port that should be checked. Defaults to 143.
698 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.
699 imap_send             | **Optional.** String to send to the server.
700 imap_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
701 imap_all              | **Optional.** All expect strings need to occur in server response. Default is any.
702 imap_quit             | **Optional.** String to send server to initiate a clean close of the connection.
703 imap_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
704 imap_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
705 imap_jail             | **Optional.** Hide output from TCP socket.
706 imap_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
707 imap_delay            | **Optional.** Seconds to wait between sending string and polling for response.
708 imap_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
709 imap_ssl              | **Optional.** Use SSL for the connection.
710 imap_warning          | **Optional.** Response time to result in warning status (seconds).
711 imap_critical         | **Optional.** Response time to result in critical status (seconds).
712 imap_timeout          | **Optional.** Seconds before connection times out (default: 10).
713 imap_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
714 imap_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
715
716
717 ### ldap <a id="plugin-check-command-ldap"></a>
718
719 The [check_ldap](https://www.monitoring-plugins.org/doc/man/check_ldap.html) plugin
720 can be used to check LDAP servers.
721
722 The plugin can also be used for monitoring ldaps connections instead of the deprecated `check_ldaps`.
723 This can be ensured by enabling `ldap_starttls` or `ldap_ssl`.
724
725 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
726
727 Name                    | Description
728 ------------------------|--------------
729 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.
730 ldap_port               | **Optional.** Port number. Defaults to 389.
731 ldap_attr               | **Optional.** LDAP attribute to search for (default: "(objectclass=*)")
732 ldap_base               | **Required.** LDAP base (eg. ou=myunit,o=myorg,c=at).
733 ldap_bind               | **Optional.** LDAP bind DN (if required).
734 ldap_pass               | **Optional.** LDAP password (if required).
735 ldap_starttls           | **Optional.** Use STARTSSL mechanism introduced in protocol version 3.
736 ldap_ssl                | **Optional.** Use LDAPS (LDAP v2 SSL method). This also sets the default port to 636.
737 ldap_v2                 | **Optional.** Use LDAP protocol version 2 (enabled by default).
738 ldap_v3                 | **Optional.** Use LDAP protocol version 3 (disabled by default)
739 ldap_warning            | **Optional.** Response time to result in warning status (seconds).
740 ldap_critical           | **Optional.** Response time to result in critical status (seconds).
741 ldap_warning_entries    | **Optional.** Number of found entries to result in warning status.
742 ldap_critical_entries   | **Optional.** Number of found entries to result in critical status.
743 ldap_timeout            | **Optional.** Seconds before connection times out (default: 10).
744 ldap_verbose            | **Optional.** Show details for command-line debugging (disabled by default)
745
746 ### load <a id="plugin-check-command-load"></a>
747
748 The [check_load](https://www.monitoring-plugins.org/doc/man/check_load.html) plugin
749 tests the current system load average.
750
751 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
752
753 Name            | Description
754 ----------------|--------------
755 load_wload1     | **Optional.** The 1-minute warning threshold. Defaults to 5.
756 load_wload5     | **Optional.** The 5-minute warning threshold. Defaults to 4.
757 load_wload15    | **Optional.** The 15-minute warning threshold. Defaults to 3.
758 load_cload1     | **Optional.** The 1-minute critical threshold. Defaults to 10.
759 load_cload5     | **Optional.** The 5-minute critical threshold. Defaults to 6.
760 load_cload15    | **Optional.** The 15-minute critical threshold. Defaults to 4.
761 load_percpu     | **Optional.** Divide the load averages by the number of CPUs (when possible). Defaults to false.
762
763 ### mailq <a id="plugin-check-command-mailq"></a>
764
765 The [check_mailq](https://www.monitoring-plugins.org/doc/man/check_mailq.html) plugin
766 checks the number of messages in the mail queue (supports multiple sendmail queues, qmail).
767
768 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
769
770 Name                    | Description
771 ------------------------|--------------
772 mailq_warning           | **Required.** Min. number of messages in queue to generate warning.
773 mailq_critical          | **Required.** Min. number of messages in queue to generate critical alert ( w < c ).
774 mailq_domain_warning    | **Optional.** Min. number of messages for same domain in queue to generate warning
775 mailq_domain_critical   | **Optional.** Min. number of messages for same domain in queue to generate critical alert ( W < C ).
776 mailq_timeout           | **Optional.** Plugin timeout in seconds (default = 15).
777 mailq_servertype        | **Optional.** [ sendmail \| qmail \| postfix \| exim \| nullmailer ] (default = autodetect).
778 mailq_sudo              | **Optional.** Use sudo to execute the mailq command.
779
780 ### mysql <a id="plugin-check-command-mysql"></a>
781
782 The [check_mysql](https://www.monitoring-plugins.org/doc/man/check_mysql.html) plugin
783 tests connections to a MySQL server.
784
785 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
786
787 Name                    | Description
788 ------------------------|---------------------------------------------------------------
789 mysql_hostname          | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
790 mysql_port              | **Optional.** Port number (default: 3306).
791 mysql_socket            | **Optional.** Use the specified socket (has no effect if `mysql_hostname` is used).
792 mysql_ignore_auth       | **Optional.** Ignore authentication failure and check for mysql connectivity only.
793 mysql_database          | **Optional.** Check database with indicated name.
794 mysql_file              | **Optional.** Read from the specified client options file.
795 mysql_group             | **Optional.** Use a client options group.
796 mysql_username          | **Optional.** Connect using the indicated username.
797 mysql_password          | **Optional.** Use the indicated password to authenticate the connection.
798 mysql_check_slave       | **Optional.** Check if the slave thread is running properly.
799 mysql_warning           | **Optional.** Exit with WARNING status if slave server is more than INTEGER seconds behind master.
800 mysql_critical          | **Optional.** Exit with CRITICAL status if slave server is more then INTEGER seconds behind master.
801 mysql_ssl               | **Optional.** Use ssl encryption.
802 mysql_cacert            | **Optional.** Path to CA signing the cert.
803 mysql_cert              | **Optional.** Path to SSL certificate.
804 mysql_key               | **Optional.** Path to private SSL key.
805 mysql_cadir             | **Optional.** Path to CA directory.
806 mysql_ciphers           | **Optional.** List of valid SSL ciphers.
807
808
809 ### mysql_query <a id="plugin-check-command-mysql-query"></a>
810
811 The [check_mysql_query](https://www.monitoring-plugins.org/doc/man/check_mysql_query.html) plugin
812 checks a query result against threshold levels.
813 The result from the query should be numeric. For extra security, create a user with minimal access.
814
815 **Note**: You must specify `mysql_query_password` with an empty string to force an empty password,
816 overriding any my.cnf settings.
817
818 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
819
820 Name                    | Description
821 ------------------------|---------------------------------------------------------------
822 mysql_query_hostname    | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
823 mysql_query_port        | **Optional.** Port number (default: 3306).
824 mysql_query_database    | **Optional.** Check database with indicated name.
825 mysql_query_file        | **Optional.** Read from the specified client options file.
826 mysql_query_group       | **Optional.** Use a client options group.
827 mysql_query_username    | **Optional.** Connect using the indicated username.
828 mysql_query_password    | **Optional.** Use the indicated password to authenticate the connection.
829 mysql_query_execute     | **Required.** SQL Query to run on the MySQL Server.
830 mysql_query_warning     | **Optional.** Exit with WARNING status if query is outside of the range (format: start:end).
831 mysql_query_critical    | **Optional.** Exit with CRITICAL status if query is outside of the range.
832
833
834 ### negate <a id="plugin-check-command-negate"></a>
835
836 The [negate](https://www.monitoring-plugins.org/doc/man/negate.html) plugin
837 negates the status of a plugin (returns OK for CRITICAL and vice-versa).
838 Additional switches can be used to control which state becomes what.
839
840 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
841
842 Name                  | Description
843 ----------------------|---------------------------------------------------------------
844 negate_timeout        | **Optional.** Seconds before plugin times out (default: 11).
845 negate_timeout_result | **Optional.** Custom result on Negate timeouts, default to UNKNOWN.
846 negate_ok             | **Optional.** OK, WARNING, CRITICAL or UNKNOWN.
847 negate_warning        |               Numeric values are accepted.
848 negate_critical       |               If nothing is specified,
849 negate_unknown        |               permutes OK and CRITICAL.
850 negate_substitute     | **Optional.** Substitute output text as well. Will only substitute text in CAPITALS.
851 negate_command        | **Required.** Command to be negated.
852 negate_arguments      | **Optional.** Arguments for the negated command.
853
854 ### nrpe <a id="plugin-check-command-nrpe"></a>
855
856 The `check_nrpe` plugin can be used to query an [NRPE](https://icinga.com/docs/icinga1/latest/en/nrpe.html)
857 server or [NSClient++](https://www.nsclient.org). **Note**: This plugin
858 is considered insecure/deprecated.
859
860 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
861
862 Name            | Description
863 ----------------|--------------
864 nrpe_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
865 nrpe_port       | **Optional.** The NRPE port. Defaults to 5666.
866 nrpe_command    | **Optional.** The command that should be executed.
867 nrpe_no_ssl     | **Optional.** Whether to disable SSL or not. Defaults to `false`.
868 nrpe_timeout_unknown | **Optional.** Whether to set timeouts to unknown instead of critical state. Defaults to `false`.
869 nrpe_timeout    | **Optional.** The timeout in seconds.
870 nrpe_arguments  | **Optional.** Arguments that should be passed to the command. Multiple arguments must be defined as array.
871 nrpe_ipv4       | **Optional.** Use IPv4 connection. Defaults to false.
872 nrpe_ipv6       | **Optional.** Use IPv6 connection. Defaults to false.
873 nrpe_version_2  | **Optional.** Use this if you want to connect using NRPE v2 protocol. Defaults to false.
874
875
876 ### nscp <a id="plugin-check-command-nscp"></a>
877
878 The [check_nt](https://www.monitoring-plugins.org/doc/man/check_nt.html) plugin
879 collects data from the [NSClient++](https://www.nsclient.org) service.
880
881 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
882
883 Name            | Description
884 ----------------|--------------
885 nscp_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
886 nscp_port       | **Optional.** The NSClient++ port. Defaults to 12489.
887 nscp_password   | **Optional.** The NSClient++ password.
888 nscp_variable   | **Required.** The variable that should be checked.
889 nscp_params     | **Optional.** Parameters for the query. Multiple parameters must be defined as array.
890 nscp_warn       | **Optional.** The warning threshold.
891 nscp_crit       | **Optional.** The critical threshold.
892 nscp_timeout    | **Optional.** The query timeout in seconds.
893 nscp_showall    | **Optional.** Use with SERVICESTATE to see working services or PROCSTATE for running processes. Defaults to false.
894
895
896 ### ntp_time <a id="plugin-check-command-ntp-time"></a>
897
898 The [check_ntp_time](https://www.monitoring-plugins.org/doc/man/check_ntp_time.html) plugin
899 checks the clock offset between the local host and a remote NTP server.
900
901 **Note**: If you want to monitor an NTP server, please use `ntp_peer`.
902
903 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
904
905 Name            | Description
906 ----------------|--------------
907 ntp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
908 ntp_port        | **Optional.** Port number (default: 123).
909 ntp_quiet       | **Optional.** Returns UNKNOWN instead of CRITICAL if offset cannot be found.
910 ntp_warning     | **Optional.** Offset to result in warning status (seconds).
911 ntp_critical    | **Optional.** Offset to result in critical status (seconds).
912 ntp_timeoffset  | **Optional.** Expected offset of the ntp server relative to local server (seconds).
913 ntp_timeout     | **Optional.** Seconds before connection times out (default: 10).
914 ntp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
915 ntp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
916
917
918 ### ntp_peer <a id="plugin-check-command-ntp-peer"></a>
919
920 The [check_ntp_peer](https://www.monitoring-plugins.org/doc/man/check_ntp_peer.html) plugin
921 checks the health of an NTP server. It supports checking the offset with the sync peer, the
922 jitter and stratum. This plugin will not check the clock offset between the local host and NTP
923  server; please use `ntp_time` for that purpose.
924
925 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
926
927 Name            | Description
928 ----------------|--------------
929 ntp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
930 ntp_port        | **Optional.** The port to use. Default to 123.
931 ntp_quiet       | **Optional.** Returns UNKNOWN instead of CRITICAL or WARNING if server isn't synchronized.
932 ntp_warning     | **Optional.** Offset to result in warning status (seconds).
933 ntp_critical    | **Optional.** Offset to result in critical status (seconds).
934 ntp_wstratum    | **Optional.** Warning threshold for stratum of server's synchronization peer.
935 ntp_cstratum    | **Optional.** Critical threshold for stratum of server's synchronization peer.
936 ntp_wjitter     | **Optional.** Warning threshold for jitter.
937 ntp_cjitter     | **Optional.** Critical threshold for jitter.
938 ntp_wsource     | **Optional.** Warning threshold for number of usable time sources.
939 ntp_csource     | **Optional.** Critical threshold for number of usable time sources.
940 ntp_timeout     | **Optional.** Seconds before connection times out (default: 10).
941 ntp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
942 ntp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
943
944
945 ### pgsql <a id="plugin-check-command-pgsql"></a>
946
947 The [check_pgsql](https://www.monitoring-plugins.org/doc/man/check_pgsql.html) plugin
948 tests a PostgreSQL DBMS to determine whether it is active and accepting queries.
949 If a query is specified using the `pgsql_query` attribute, it will be executed after
950 connecting to the server. The result from the query has to be numeric in order
951 to compare it against the query thresholds if set.
952
953 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
954
955 Name                    | Description
956 ------------------------|---------------------------------------------------------------
957 pgsql_hostname          | **Optional.** Host name, IP Address, or unix socket (must be an absolute path).
958 pgsql_port              | **Optional.** Port number (default: 5432).
959 pgsql_database          | **Optional.** Database to check (default: template1).
960 pgsql_username          | **Optional.** Login name of user.
961 pgsql_password          | **Optional.** Password (BIG SECURITY ISSUE).
962 pgsql_options           | **Optional.** Connection parameters (keyword = value), see below.
963 pgsql_warning           | **Optional.** Response time to result in warning status (seconds).
964 pgsql_critical          | **Optional.** Response time to result in critical status (seconds).
965 pgsql_timeout           | **Optional.** Seconds before connection times out (default: 10).
966 pgsql_query             | **Optional.** SQL query to run. Only first column in first row will be read.
967 pgsql_query_warning     | **Optional.** SQL query value to result in warning status (double).
968 pgsql_query_critical    | **Optional.** SQL query value to result in critical status (double).
969
970 ### ping <a id="plugin-check-command-ping"></a>
971
972 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
973 uses the ping command to probe the specified host for packet loss (percentage) and
974 round trip average (milliseconds).
975
976 This command uses the host's `address` attribute if available and falls back to using
977 the `address6` attribute if the `address` attribute is not set.
978
979 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
980
981 Name            | Description
982 ----------------|--------------
983 ping_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
984 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
985 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
986 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
987 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
988 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
989 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
990
991
992 ### ping4 <a id="plugin-check-command-ping4"></a>
993
994 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
995 uses the ping command to probe the specified host for packet loss (percentage) and
996 round trip average (milliseconds).
997
998 This command uses the host's `address` attribute if not explicitly specified using
999 the `ping_address` attribute.
1000
1001 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1002
1003 Name            | Description
1004 ----------------|--------------
1005 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
1006 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
1007 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
1008 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
1009 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
1010 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
1011 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
1012
1013 ### ping6 <a id="plugin-check-command-ping6"></a>
1014
1015 The [check_ping](https://www.monitoring-plugins.org/doc/man/check_ping.html) plugin
1016 uses the ping command to probe the specified host for packet loss (percentage) and
1017 round trip average (milliseconds).
1018
1019 This command uses the host's `address6` attribute if not explicitly specified using
1020 the `ping_address` attribute.
1021
1022 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1023
1024 Name            | Description
1025 ----------------|--------------
1026 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
1027 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
1028 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
1029 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
1030 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
1031 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
1032 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
1033
1034
1035 ### pop <a id="plugin-check-command-pop"></a>
1036
1037 The [check_pop](https://www.monitoring-plugins.org/doc/man/check_pop.html) plugin
1038 tests POP connections with the specified host (or unix socket).
1039
1040 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1041
1042 Name                 | Description
1043 ---------------------|--------------
1044 pop_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1045 pop_port             | **Optional.** The port that should be checked. Defaults to 110.
1046 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.
1047 pop_send             | **Optional.** String to send to the server.
1048 pop_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1049 pop_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1050 pop_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1051 pop_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1052 pop_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1053 pop_jail             | **Optional.** Hide output from TCP socket.
1054 pop_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1055 pop_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1056 pop_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1057 pop_ssl              | **Optional.** Use SSL for the connection.
1058 pop_warning          | **Optional.** Response time to result in warning status (seconds).
1059 pop_critical         | **Optional.** Response time to result in critical status (seconds).
1060 pop_timeout          | **Optional.** Seconds before connection times out (default: 10).
1061 pop_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1062 pop_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1063
1064
1065 ### procs <a id="plugin-check-command-processes"></a>
1066
1067 The [check_procs](https://www.monitoring-plugins.org/doc/man/check_procs.html) plugin
1068 checks all processes and generates WARNING or CRITICAL states if the specified
1069 metric is outside the required threshold ranges. The metric defaults to number
1070 of processes. Search filters can be applied to limit the processes to check.
1071
1072 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1073
1074 Name                 | Description
1075 ---------------------|--------------
1076 procs_warning        | **Optional.** The process count warning threshold. Defaults to 250.
1077 procs_critical       | **Optional.** The process count critical threshold. Defaults to 400.
1078 procs_metric         | **Optional.** Check thresholds against metric.
1079 procs_timeout        | **Optional.** Seconds before plugin times out.
1080 procs_traditional    | **Optional.** Filter own process the traditional way by PID instead of /proc/pid/exe. Defaults to false.
1081 procs_state          | **Optional.** Only scan for processes that have one or more of the status flags you specify.
1082 procs_ppid           | **Optional.** Only scan for children of the parent process ID indicated.
1083 procs_vsz            | **Optional.** Only scan for processes with VSZ higher than indicated.
1084 procs_rss            | **Optional.** Only scan for processes with RSS higher than indicated.
1085 procs_pcpu           | **Optional.** Only scan for processes with PCPU higher than indicated.
1086 procs_user           | **Optional.** Only scan for processes with user name or ID indicated.
1087 procs_argument       | **Optional.** Only scan for processes with args that contain STRING.
1088 procs_argument_regex | **Optional.** Only scan for processes with args that contain the regex STRING.
1089 procs_command        | **Optional.** Only scan for exact matches of COMMAND (without path).
1090 procs_nokthreads     | **Optional.** Only scan for non kernel threads. Defaults to false.
1091
1092
1093 ### radius <a id="plugin-check-command-radius"></a>
1094
1095 The [check_radius](https://www.monitoring-plugins.org/doc/man/check_radius.html) plugin
1096 checks a RADIUS server to see if it is accepting connections.  The server to test
1097 must be specified in the invocation, as well as a user name and password. A configuration
1098 file may also be present. The format of the configuration file is described in the
1099 radiusclient library sources.  The password option presents a substantial security
1100 issue because the password can possibly be determined by careful watching of the
1101 command line in a process listing. This risk is exacerbated because the plugin will
1102 typically be executed at regular predictable intervals. Please be sure that the
1103 password used does not allow access to sensitive system resources.
1104
1105
1106 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1107
1108 Name               | Description
1109 -------------------|--------------
1110 radius_address     | **Optional.** The radius server's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1111 radius_config_file | **Required.** The radius configuration file.
1112 radius_username    | **Required.** The radius username to test.
1113 radius_password    | **Required.** The radius password to test.
1114 radius_port        | **Optional.** The radius port number (default 1645).
1115 radius_nas_id      | **Optional.** The NAS identifier.
1116 radius_nas_address | **Optional.** The NAS IP address.
1117 radius_expect      | **Optional.** The response string to expect from the server.
1118 radius_retries     | **Optional.** The number of times to retry a failed connection.
1119 radius_timeout     | **Optional.** The number of seconds before connection times out (default: 10).
1120
1121 ### rpc <a id="plugin-check-command-rpc"></a>
1122
1123 The [check_rpc](https://www.monitoring-plugins.org/doc/man/check_rpc.html)
1124 plugin tests if a service is registered and running using `rpcinfo -H host -C rpc_command`.
1125
1126 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1127
1128 Name        | Description
1129 ---         | ---
1130 rpc_address | **Optional.** The rpc host address. Defaults to "$address$ if the host `address` attribute is set, "$address6$" otherwise.
1131 rpc_command | **Required.** The programm name (or number).
1132 rpc_port    | **Optional.** The port that should be checked.
1133 rpc_version | **Optional.** The version you want to check for (one or more).
1134 rpc_udp     | **Optional.** Use UDP test. Defaults to false.
1135 rpc_tcp     | **Optional.** Use TCP test. Defaults to false.
1136 rpc_verbose | **Optional.** Show verbose output. Defaults to false.
1137
1138 ### simap <a id="plugin-check-command-simap"></a>
1139
1140 The [check_simap](https://www.monitoring-plugins.org/doc/man/check_simap.html) plugin
1141 tests SIMAP connections with the specified host (or unix socket).
1142
1143 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1144
1145 Name                   | Description
1146 -----------------------|--------------
1147 simap_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1148 simap_port             | **Optional.** The port that should be checked. Defaults to 993.
1149 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.
1150 simap_send             | **Optional.** String to send to the server.
1151 simap_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1152 simap_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1153 simap_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1154 simap_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1155 simap_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1156 simap_jail             | **Optional.** Hide output from TCP socket.
1157 simap_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1158 simap_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1159 simap_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1160 simap_ssl              | **Optional.** Use SSL for the connection.
1161 simap_warning          | **Optional.** Response time to result in warning status (seconds).
1162 simap_critical         | **Optional.** Response time to result in critical status (seconds).
1163 simap_timeout          | **Optional.** Seconds before connection times out (default: 10).
1164 simap_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1165 simap_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1166
1167 ### smart <a id="plugin-check-command-smart"></a>
1168
1169 The [check_ide_smart](https://www.monitoring-plugins.org/doc/man/check_ide_smart.html) plugin
1170 checks a local hard drive with the (Linux specific) SMART interface. Requires installation of `smartctl`.
1171
1172 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1173
1174 Name            | Description
1175 ----------------|--------------
1176 smart_device    | **Required.** The name of a local hard drive to monitor.
1177
1178
1179 ### smtp <a id="plugin-check-command-smtp"></a>
1180
1181 The [check_smtp](https://www.monitoring-plugins.org/doc/man/check_smtp.html) plugin
1182 will attempt to open an SMTP connection with the host.
1183
1184 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1185
1186 Name                  | Description
1187 ----------------------|--------------
1188 smtp_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1189 smtp_port             | **Optional.** The port that should be checked. Defaults to 25.
1190 smtp_mail_from        | **Optional.** Test a MAIL FROM command with the given email address.
1191 smtp_expect           | **Optional.** String to expect in first line of server response (default: '220').
1192 smtp_command          | **Optional.** SMTP command (may be used repeatedly).
1193 smtp_response         | **Optional.** Expected response to command (may be used repeatedly).
1194 smtp_helo_fqdn        | **Optional.** FQDN used for HELO
1195 smtp_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1196 smtp_starttls         | **Optional.** Use STARTTLS for the connection.
1197 smtp_authtype         | **Optional.** SMTP AUTH type to check (default none, only LOGIN supported).
1198 smtp_authuser         | **Optional.** SMTP AUTH username.
1199 smtp_authpass         | **Optional.** SMTP AUTH password.
1200 smtp_ignore_quit      | **Optional.** Ignore failure when sending QUIT command to server.
1201 smtp_warning          | **Optional.** Response time to result in warning status (seconds).
1202 smtp_critical         | **Optional.** Response time to result in critical status (seconds).
1203 smtp_timeout          | **Optional.** Seconds before connection times out (default: 10).
1204 smtp_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1205 smtp_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1206
1207
1208 ### snmp <a id="plugin-check-command-snmp"></a>
1209
1210 The [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html) plugin
1211 checks the status of remote machines and obtains system information via SNMP.
1212
1213 **Note**: This plugin uses the `snmpget` command included with the NET-SNMP package.
1214
1215 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1216
1217 Name                | Description
1218 --------------------|--------------
1219 snmp_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1220 snmp_oid            | **Required.** The SNMP OID.
1221 snmp_community      | **Optional.** The SNMP community. Defaults to "public".
1222 snmp_port           | **Optional.** The SNMP port. Defaults to "161".
1223 snmp_retries        | **Optional.** Number of retries to be used in the SNMP requests.
1224 snmp_warn           | **Optional.** The warning threshold.
1225 snmp_crit           | **Optional.** The critical threshold.
1226 snmp_string         | **Optional.** Return OK state if the string matches exactly with the output value
1227 snmp_ereg           | **Optional.** Return OK state if extended regular expression REGEX matches with the output value
1228 snmp_eregi          | **Optional.** Return OK state if case-insensitive extended REGEX matches with the output value
1229 snmp_label          | **Optional.** Prefix label for output value
1230 snmp_invert_search  | **Optional.** Invert search result and return CRITICAL state if found
1231 snmp_units          | **Optional.** Units label(s) for output value (e.g., 'sec.').
1232 snmp_version        | **Optional.** Version to use. E.g. 1, 2, 2c or 3.
1233 snmp_miblist        | **Optional.** MIB's to use, comma separated. Defaults to "ALL".
1234 snmp_rate_multiplier | **Optional.** Converts rate per second. For example, set to 60 to convert to per minute.
1235 snmp_rate           | **Optional.** Boolean. Enable rate calculation.
1236 snmp_getnext        | **Optional.** Boolean. Use SNMP GETNEXT. Defaults to false.
1237 snmp_timeout        | **Optional.** The command timeout in seconds. Defaults to 10 seconds.
1238 snmp_offset         | **Optional.** Add/subtract the specified OFFSET to numeric sensor data.
1239 snmp_output_delimiter | **Optional.** Separates output on multiple OID requests.
1240 snmp_perf_oids      | **Optional.** Label performance data with OIDs instead of --label's.
1241
1242 ### snmpv3 <a id="plugin-check-command-snmpv3"></a>
1243
1244 Check command object for the [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html)
1245 plugin, using SNMPv3 authentication and encryption options.
1246
1247 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1248
1249 Name                 | Description
1250 ---------------------|--------------
1251 snmpv3_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1252 snmpv3_getnext       | **Optional.** Use SNMP GETNEXT instead of SNMP GET.
1253 snmpv3_seclevel      | **Optional.** The security level. Defaults to authPriv.
1254 snmpv3_auth_alg      | **Optional.** The authentication algorithm. Defaults to SHA.
1255 snmpv3_user          | **Required.** The username to log in with.
1256 snmpv3_auth_key      | **Required,** The authentication key. Required if `snmpv3_seclevel` is set to `authPriv` otherwise optional.
1257 snmpv3_priv_key      | **Required.** The encryption key.
1258 snmpv3_oid           | **Required.** The SNMP OID.
1259 snmpv3_priv_alg      | **Optional.** The encryption algorithm. Defaults to AES.
1260 snmpv3_warn          | **Optional.** The warning threshold.
1261 snmpv3_crit          | **Optional.** The critical threshold.
1262 snmpv3_string        | **Optional.** Return OK state (for that OID) if STRING is an exact match.
1263 snmpv3_ereg          | **Optional.** Return OK state (for that OID) if extended regular expression REGEX matches.
1264 snmpv3_eregi         | **Optional.** Return OK state (for that OID) if case-insensitive extended REGEX matches.
1265 snmpv3_invert_search | **Optional.** Invert search result and return CRITICAL if found
1266 snmpv3_label         | **Optional.** Prefix label for output value.
1267 snmpv3_units         | **Optional.** Units label(s) for output value (e.g., 'sec.').
1268 snmpv3_rate_multiplier | **Optional.** Converts rate per second. For example, set to 60 to convert to per minute.
1269 snmpv3_rate          | **Optional.** Boolean. Enable rate calculation.
1270 snmpv3_timeout       | **Optional.** The command timeout in seconds. Defaults to 10 seconds.
1271
1272 ### snmp-uptime <a id="plugin-check-command-snmp-uptime"></a>
1273
1274 Check command object for the [check_snmp](https://www.monitoring-plugins.org/doc/man/check_snmp.html)
1275 plugin, using the uptime OID by default.
1276
1277 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1278
1279 Name            | Description
1280 ----------------|--------------
1281 snmp_address    | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1282 snmp_oid        | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
1283 snmp_community  | **Optional.** The SNMP community. Defaults to "public".
1284
1285
1286 ### spop <a id="plugin-check-command-spop"></a>
1287
1288 The [check_spop](https://www.monitoring-plugins.org/doc/man/check_spop.html) plugin
1289 tests SPOP connections with the specified host (or unix socket).
1290
1291 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1292
1293 Name                  | Description
1294 ----------------------|--------------
1295 spop_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1296 spop_port             | **Optional.** The port that should be checked. Defaults to 995.
1297 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.
1298 spop_send             | **Optional.** String to send to the server.
1299 spop_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1300 spop_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1301 spop_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1302 spop_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1303 spop_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1304 spop_jail             | **Optional.** Hide output from TCP socket.
1305 spop_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1306 spop_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1307 spop_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1308 spop_ssl              | **Optional.** Use SSL for the connection.
1309 spop_warning          | **Optional.** Response time to result in warning status (seconds).
1310 spop_critical         | **Optional.** Response time to result in critical status (seconds).
1311 spop_timeout          | **Optional.** Seconds before connection times out (default: 10).
1312 spop_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1313 spop_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1314
1315
1316 ### ssh <a id="plugin-check-command-ssh"></a>
1317
1318 The [check_ssh](https://www.monitoring-plugins.org/doc/man/check_ssh.html) plugin
1319 connects to an SSH server at a specified host and port.
1320
1321 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1322
1323 Name            | Description
1324 ----------------|--------------
1325 ssh_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1326 ssh_port        | **Optional.** The port that should be checked. Defaults to 22.
1327 ssh_timeout     | **Optional.** Seconds before connection times out. Defaults to 10.
1328 ssh_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1329 ssh_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1330
1331
1332 ### ssl <a id="plugin-check-command-ssl"></a>
1333
1334 Check command object for the [check_tcp](https://www.monitoring-plugins.org/doc/man/check_tcp.html) plugin,
1335 using ssl-related options.
1336
1337 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1338
1339 Name                          | Description
1340 ------------------------------|--------------
1341 ssl_address                   | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1342 ssl_port                      | **Optional.** The port that should be checked. Defaults to 443.
1343 ssl_timeout                   | **Optional.** Timeout in seconds for the connect and handshake. The plugin default is 10 seconds.
1344 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.
1345 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.
1346 ssl_sni                       | **Optional.** The `server_name` that is send to select the SSL certificate to check. Important if SNI is used.
1347
1348
1349 ### ssmtp <a id="plugin-check-command-ssmtp"></a>
1350
1351 The [check_ssmtp](https://www.monitoring-plugins.org/doc/man/check_ssmtp.html) plugin
1352 tests SSMTP connections with the specified host (or unix socket).
1353
1354 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1355
1356 Name                   | Description
1357 -----------------------|--------------
1358 ssmtp_address          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1359 ssmtp_port             | **Optional.** The port that should be checked. Defaults to 465.
1360 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.
1361 ssmtp_send             | **Optional.** String to send to the server.
1362 ssmtp_expect           | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1363 ssmtp_all              | **Optional.** All expect strings need to occur in server response. Default is any.
1364 ssmtp_quit             | **Optional.** String to send server to initiate a clean close of the connection.
1365 ssmtp_refuse           | **Optional.** Accept TCP refusals with states ok, warn, crit (default: crit).
1366 ssmtp_mismatch         | **Optional.** Accept expected string mismatches with states ok, warn, crit (default: warn).
1367 ssmtp_jail             | **Optional.** Hide output from TCP socket.
1368 ssmtp_maxbytes         | **Optional.** Close connection once more than this number of bytes are received.
1369 ssmtp_delay            | **Optional.** Seconds to wait between sending string and polling for response.
1370 ssmtp_certificate_age  | **Optional.** Minimum number of days a certificate has to be valid.
1371 ssmtp_ssl              | **Optional.** Use SSL for the connection.
1372 ssmtp_warning          | **Optional.** Response time to result in warning status (seconds).
1373 ssmtp_critical         | **Optional.** Response time to result in critical status (seconds).
1374 ssmtp_timeout          | **Optional.** Seconds before connection times out (default: 10).
1375 ssmtp_ipv4             | **Optional.** Use IPv4 connection. Defaults to false.
1376 ssmtp_ipv6             | **Optional.** Use IPv6 connection. Defaults to false.
1377
1378
1379 ### swap <a id="plugin-check-command-swap"></a>
1380
1381 The [check_swap](https://www.monitoring-plugins.org/doc/man/check_swap.html) plugin
1382 checks the swap space on a local machine.
1383
1384 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1385
1386 Name            | Description
1387 ----------------|--------------
1388 swap_wfree      | **Optional.** The free swap space warning threshold in % (enable `swap_integer` for number values). Defaults to `50%`.
1389 swap_cfree      | **Optional.** The free swap space critical threshold in % (enable `swap_integer` for number values). Defaults to `25%`.
1390 swap_integer    | **Optional.** Specifies whether the thresholds are passed as number or percent value. Defaults to false (percent values).
1391 swap_allswaps   | **Optional.** Conduct comparisons for all swap partitions, one by one. Defaults to false.
1392 swap_noswap     | **Optional.** Resulting state when there is no swap regardless of thresholds. Possible values are "ok", "warning", "critical", "unknown". Defaults to "critical".
1393
1394
1395 ### tcp <a id="plugin-check-command-tcp"></a>
1396
1397 The [check_tcp](https://www.monitoring-plugins.org/doc/man/check_tcp.html) plugin
1398 tests TCP connections with the specified host (or unix socket).
1399
1400 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1401
1402 Name            | Description
1403 ----------------|--------------
1404 tcp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1405 tcp_port        | **Required.** The port that should be checked.
1406 tcp_expect      | **Optional.** String to expect in server response. Multiple strings must be defined as array.
1407 tcp_all         | **Optional.** All expect strings need to occur in server response. Defaults to false.
1408 tcp_escape_send | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in send string.
1409 tcp_send        | **Optional.** String to send to the server.
1410 tcp_escape_quit | **Optional.** Enable usage of \\n, \\r, \\t or \\\\ in quit string.
1411 tcp_quit        | **Optional.** String to send server to initiate a clean close of the connection.
1412 tcp_refuse      | **Optional.** Accept TCP refusals with states ok, warn, crit. Defaults to crit.
1413 tcp_mismatch    | **Optional.** Accept expected string mismatches with states ok, warn, crit. Defaults to warn.
1414 tcp_jail        | **Optional.** Hide output from TCP socket.
1415 tcp_maxbytes    | **Optional.** Close connection once more than this number of bytes are received.
1416 tcp_delay       | **Optional.** Seconds to wait between sending string and polling for response.
1417 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.
1418 tcp_ssl         | **Optional.** Use SSL for the connection. Defaults to false.
1419 tcp_wtime       | **Optional.** Response time to result in warning status (seconds).
1420 tcp_ctime       | **Optional.** Response time to result in critical status (seconds).
1421 tcp_timeout     | **Optional.** Seconds before connection times out. Defaults to 10.
1422 tcp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1423 tcp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1424
1425
1426 ### udp <a id="plugin-check-command-udp"></a>
1427
1428 The [check_udp](https://www.monitoring-plugins.org/doc/man/check_udp.html) plugin
1429 tests UDP connections with the specified host (or unix socket).
1430
1431 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1432
1433 Name            | Description
1434 ----------------|--------------
1435 udp_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1436 udp_port        | **Required.** The port that should be checked.
1437 udp_send        | **Required.** The payload to send in the UDP datagram.
1438 udp_expect      | **Required.** The payload to expect in the response datagram.
1439 udp_quit        | **Optional.** The payload to send to 'close' the session.
1440 udp_ipv4        | **Optional.** Use IPv4 connection. Defaults to false.
1441 udp_ipv6        | **Optional.** Use IPv6 connection. Defaults to false.
1442
1443
1444 ### ups <a id="plugin-check-command-ups"></a>
1445
1446 The [check_ups](https://www.monitoring-plugins.org/doc/man/check_ups.html) plugin
1447 tests the UPS service on the specified host. [Network UPS Tools](http://www.networkupstools.org)
1448  must be running for this plugin to work.
1449
1450 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1451
1452 Name            | Description
1453 ----------------|--------------
1454 ups_address     | **Required.** The address of the host running upsd. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1455 ups_name        | **Required.** The UPS name. Defaults to `ups`.
1456 ups_port        | **Optional.** The port to which to connect. Defaults to 3493.
1457 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`.
1458 ups_warning     | **Optional.** The warning threshold for the selected variable.
1459 ups_critical    | **Optional.** The critical threshold for the selected variable.
1460 ups_celsius     | **Optional.** Display the temperature in degrees Celsius instead of Fahrenheit. Defaults to `false`.
1461 ups_timeout     | **Optional.** The number of seconds before the connection times out. Defaults to 10.
1462
1463
1464 ### users <a id="plugin-check-command-users"></a>
1465
1466 The [check_users](https://www.monitoring-plugins.org/doc/man/check_users.html) plugin
1467 checks the number of users currently logged in on the local system and generates an
1468 error if the number exceeds the thresholds specified.
1469
1470 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1471
1472 Name            | Description
1473 ----------------|--------------
1474 users_wgreater  | **Optional.** The user count warning threshold. Defaults to 20.
1475 users_cgreater  | **Optional.** The user count critical threshold. Defaults to 50.
1476
1477
1478
1479 ## Windows Plugins for Icinga 2 <a id="windows-plugins"></a>
1480
1481 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.
1482
1483 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:
1484
1485         include <windows-plugins>
1486
1487 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.
1488
1489
1490 ### Threshold syntax <a id="windows-plugins-thresholds"></a>
1491
1492 So not specified differently the thresholds for the plugins all follow the same pattern
1493
1494 Threshold    | Meaning
1495 :------------|:----------
1496 "29"         | The threshold is 29.
1497 "!29"        | The threshold is 29, but the negative of the result is returned.
1498 "[10-40]"    | The threshold is a range from (including) 10 to 40, a value inside means the threshold has been exceeded.
1499 "![10-40]"   | Same as above, but the result is inverted.
1500
1501
1502 ### disk-windows <a id="windows-plugins-disk-windows"></a>
1503
1504 Check command object for the `check_disk.exe` plugin.
1505 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.).
1506 The data collection is instant and free disk space (default, see `disk_win_show_used`) is used for threshold computation.
1507
1508 > **Note**
1509 >
1510 > Percentage based thresholds can be used by adding a '%' to the threshold
1511 > value.
1512
1513 Custom attributes:
1514
1515 Name                  | Description
1516 :---------------------|:------------
1517 disk\_win\_warn       | **Optional**. The warning threshold. Defaults to "20%".
1518 disk\_win\_crit       | **Optional**. The critical threshold. Defaults to "10%".
1519 disk\_win\_path       | **Optional**. Check only these paths, default checks all.
1520 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.
1521 disk\_win\_exclude    | **Optional**. Exclude these drives from check.
1522 disk\_win\_show\_used | **Optional**. Use used instead of free space.
1523
1524 ### load-windows <a id="windows-plugins-load-windows"></a>
1525
1526 Check command object for the `check_load.exe` plugin.
1527 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).
1528
1529 Custom attributes:
1530
1531 Name            | Description
1532 :---------------|:------------
1533 load\_win\_warn | **Optional**. The warning threshold.
1534 load\_win\_crit | **Optional**. The critical threshold.
1535
1536
1537 ### memory-windows <a id="windows-plugins-memory-windows"></a>
1538
1539 Check command object for the `check_memory.exe` plugin.
1540 The memory collection is instant and free memory is used for threshold computation.
1541
1542 > **Note**
1543 >
1544 > Percentage based thresholds can be used by adding a '%' to the threshold
1545 > value. Keep in mind that memory\_win\_unit is applied before the
1546 > value is calculated.
1547
1548 Custom attributes:
1549
1550 Name              | Description
1551 :-----------------|:------------
1552 memory\_win\_warn | **Optional**. The warning threshold. Defaults to "10%".
1553 memory\_win\_crit | **Optional**. The critical threshold. Defaults to "5%".
1554 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.
1555 memory\_win\_show\_used | **Optional**. Show used memory instead of the free memory.
1556
1557
1558 ### network-windows <a id="windows-plugins-network-windows"></a>
1559
1560 Check command object for the `check_network.exe` plugin.
1561 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).
1562
1563 Custom attributes:
1564
1565 Name                | Description
1566 :-------------------|:------------
1567 network\_win\_warn  | **Optional**. The warning threshold.
1568 network\_win\_crit  | **Optional**. The critical threshold.
1569 network\_no\_isatap | **Optional**. Do not print ISATAP interfaces.
1570
1571
1572 ### perfmon-windows <a id="windows-plugins-perfmon-windows"></a>
1573
1574 Check command object for the `check_perfmon.exe` plugin.
1575 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`.
1576
1577 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"`
1578
1579 Custom attributes:
1580
1581 Name                  | Description
1582 :---------------------|:------------
1583 perfmon\_win\_warn    | **Optional**. The warning threshold.
1584 perfmon\_win\_crit    | **Optional**. The critical threshold.
1585 perfmon\_win\_counter | **Required**. The Performance Counter to use. Ex. `\Processor(_Total)\% Idle Time`.
1586 perfmon\_win\_wait    | **Optional**. Time in milliseconds to wait between data collection (default: 1000).
1587 perfmon\_win\_type    | **Optional**. Format in which to expect performance values. Possible are: long, int64 and double (default).
1588 perfmon\_win\_syntax  | **Optional**. Use this in the performance output instead of `perfmon\_win\_counter`. Exists for graphics compatibility reasons.
1589
1590
1591 ### ping-windows <a id="windows-plugins-ping-windows"></a>
1592
1593 Check command object for the `check_ping.exe` plugin.
1594 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.
1595
1596 Custom attributes:
1597
1598 Name               | Description
1599 :------------------|:------------
1600 ping\_win\_warn    | **Optional**. The warning threshold. RTA and package loss separated by comma.
1601 ping\_win\_crit    | **Optional**. The critical threshold. RTA and package loss separated by comma.
1602 ping\_win\_address | **Required**. An IPv4 or IPv6 address.
1603 ping\_win\_packets | **Optional**. Number of packages to send. Default: 5.
1604 ping\_win\_timeout | **Optional**. The timeout in milliseconds. Default: 1000
1605
1606
1607 ### procs-windows <a id="windows-plugins-procs-windows"></a>
1608
1609 Check command object for `check_procs.exe` plugin.
1610 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.
1611
1612 Custom attributes:
1613
1614 Name             | Description
1615 :----------------|:------------
1616 procs\_win\_warn | **Optional**. The warning threshold.
1617 procs\_win\_crit | **Optional**. The critical threshold.
1618 procs\_win\_user | **Optional**. Count this users processes.
1619
1620
1621 ### service-windows <a id="windows-plugins-service-windows"></a>
1622
1623 Check command object for `check_service.exe` plugin.
1624 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.
1625
1626 Custom attributes:
1627
1628 Name                      | Description
1629 :-------------------------|:------------
1630 service\_win\_warn        | **Optional**. Warn when service is not running.
1631 service\_win\_description | **Optional**. If this is set, `service\_win\_service` looks at the service description.
1632 service\_win\_service     | **Required**. Name of the service to check.
1633
1634
1635 ### swap-windows <a id="windows-plugins-swap-windows"></a>
1636
1637 Check command object for `check_swap.exe` plugin.
1638 The data collection is instant.
1639
1640 Custom attributes:
1641
1642 Name             | Description
1643 :--------------- | :------------
1644 swap\_win\_warn  | **Optional**. The warning threshold. Defaults to "10%".
1645 swap\_win\_crit  | **Optional**. The critical threshold. Defaults to "5%".
1646 swap\_win\_unit  | **Optional**. The unit to display the received value in, thresholds are interpreted in this unit. Defaults to "mb" (megabyte).
1647 swap\_win\_show\_used | **Optional**. Show used swap instead of the free swap.
1648
1649 ### update-windows <a id="windows-plugins-update-windows"></a>
1650
1651 Check command object for `check_update.exe` plugin.
1652 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.
1653
1654 > **Note**
1655 >
1656 > The Network Services Account which runs Icinga 2 by default does not have the required
1657 > permissions to run this check.
1658
1659 Custom attributes:
1660
1661 Name                | Description
1662 :-------------------|:------------
1663 update\_win\_warn   | **Optional**. The warning threshold.
1664 update\_win\_crit   | **Optional**. The critical threshold.
1665 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.
1666 ignore\_reboot      | **Optional**. Set to disable behavior of returning critical if any updates require a reboot.
1667
1668
1669 If a warning threshold is set but not a critical threshold, the critical threshold will be set to one greater than the set warning threshold.
1670 Unless the `ignore_reboot` flag is set, if any updates require a reboot the plugin will return critical.
1671
1672 > **Note**
1673 >
1674 > If they are enabled, performance data will be shown in the web interface.
1675 > If run without the optional parameters, the plugin will output critical if any important updates are available.
1676
1677
1678 ### uptime-windows <a id="windows-plugins-uptime-windows"></a>
1679
1680 Check command object for `check_uptime.exe` plugin.
1681 Uses GetTickCount64 to get the uptime, so boot time is not included.
1682
1683 Custom attributes:
1684
1685 Name              | Description
1686 :-----------------|:------------
1687 uptime\_win\_warn | **Optional**. The warning threshold.
1688 uptime\_win\_crit | **Optional**. The critical threshold.
1689 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).
1690
1691
1692 ### users-windows <a id="windows-plugins-users-windows"></a>
1693
1694 Check command object for `check_users.exe` plugin.
1695
1696 Custom attributes:
1697
1698 Name             | Description
1699 :----------------|:------------
1700 users\_win\_warn | **Optional**. The warning threshold.
1701 users\_win\_crit | **Optional**. The critical threshold.
1702
1703
1704 ## Plugin Check Commands for NSClient++ <a id="nscp-plugin-check-commands"></a>
1705
1706 There are two methods available for querying NSClient++:
1707
1708 * Query the [HTTP API](06-distributed-monitoring.md#distributed-monitoring-windows-nscp-check-api) locally from an Icinga 2 client (requires a running NSClient++ service)
1709 * Run a [local CLI check](10-icinga-template-library.md#nscp-check-local) (does not require NSClient++ as a service)
1710
1711 Both methods have their advantages and disadvantages. One thing to
1712 note: If you rely on performance counter delta calculations such as
1713 CPU utilization, please use the HTTP API instead of the CLI sample call.
1714
1715 For security reasons, it is advised to enable the NSClient++ HTTP API for local
1716 connection from the Icinga 2 client only. Remote connections to the HTTP API
1717 are not recommended with using the legacy HTTP API.
1718
1719 ### nscp_api <a id="nscp-check-api"></a>
1720
1721 `check_nscp_api` is part of the Icinga 2 plugins. This plugin is available for
1722 both, Windows and Linux/Unix.
1723
1724 Verify that the ITL CheckCommand is included in the [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1725
1726     vim /etc/icinga2/icinga2.conf
1727
1728     include <plugins>
1729
1730 `check_nscp_api` runs queries against the NSClient++ API. Therefore NSClient++ needs to have
1731 the `webserver` module enabled, configured and loaded.
1732
1733 You can install the webserver using the following CLI commands:
1734
1735     ./nscp.exe web install
1736     ./nscp.exe web password — –set icinga
1737
1738 Now you can define specific [queries](https://docs.nsclient.org/reference/check/CheckHelpers.html#queries)
1739 and integrate them into Icinga 2.
1740
1741 The check plugin `check_nscp_api` can be integrated with the `nscp_api` CheckCommand object:
1742
1743 Custom attributes:
1744
1745 Name                   | Description
1746 :----------------------|:----------------------
1747 nscp\_api\_host       | **Required**. NSCP API host address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1748 nscp\_api\_port       | **Optional**. NSCP API port. Defaults to `8443`.
1749 nscp\_api\_password   | **Required**. NSCP API password. Please check the NSCP documentation for setup details.
1750 nscp\_api\_query      | **Required**. NSCP API query endpoint. Refer to the NSCP documentation for possible values.
1751 nscp\_api\_arguments  | **Optional**. NSCP API arguments dictionary either as single strings or key-value pairs using `=`. Refer to the NSCP documentation.
1752
1753 `nscp_api_arguments` can be used to pass required thresholds to the executed check. The example below
1754 checks the CPU utilization and specifies warning and critical thresholds.
1755
1756 ```
1757 check_nscp_api --host 10.0.10.148 --password icinga --query check_cpu --arguments show-all warning='load>40' critical='load>30'
1758 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
1759 ```
1760
1761
1762 ### nscp-local <a id="nscp-check-local"></a>
1763
1764 Icinga 2 can use the `nscp client` command to run arbitrary NSClient++ checks locally on the client.
1765
1766 You can enable these check commands by adding the following the include directive in your
1767 [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1768
1769     include <nscp>
1770
1771 You can also optionally specify an alternative installation directory for NSClient++ by adding
1772 the NscpPath constant in your [constants.conf](04-configuring-icinga-2.md#constants-conf) configuration
1773 file:
1774
1775     const NscpPath = "C:\\Program Files (x86)\\NSClient++"
1776
1777 By default Icinga 2 uses the Microsoft Installer API to determine where NSClient++ is installed. It should
1778 not be necessary to manually set this constant.
1779
1780 Note that it is not necessary to run NSClient++ as a Windows service for these commands to work.
1781
1782 The check command object for NSClient++ is available as `nscp-local`.
1783
1784 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1785
1786 Name            | Description
1787 ----------------|--------------
1788 nscp_log_level  | **Optional.** The log level. Defaults to "critical".
1789 nscp_load_all   | **Optional.** Whether to load all modules. Defaults to false.
1790 nscp_modules    | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckSystem" ]`.
1791 nscp_boot       | **Optional.** Whether to use the --boot option. Defaults to true.
1792 nscp_query      | **Required.** The NSClient++ query. Try `nscp client -q x` for a list.
1793 nscp_arguments  | **Optional.** An array of query arguments.
1794 nscp_showall    | **Optional.** Shows more details in plugin output, default to false.
1795
1796 > **Tip**
1797 >
1798 > In order to measure CPU load, you'll need a running NSClient++ service.
1799 > Therefore it is advised to use a local [nscp-api](06-distributed-monitoring.md#distributed-monitoring-windows-nscp-check-api)
1800 > check against its REST API.
1801
1802 ### nscp-local-cpu <a id="nscp-check-local-cpu"></a>
1803
1804 Check command object for the `check_cpu` NSClient++ plugin.
1805
1806 Name                | Description
1807 --------------------|------------------
1808 nscp_cpu_time       | **Optional.** Calculate average usage for the given time intervals. Value has to be an array, default to [ "1m", "5m", "15m" ].
1809 nscp_cpu_warning    | **Optional.** Threshold for WARNING state in percent, default to 80.
1810 nscp_cpu_critical   | **Optional.** Threshold for CRITICAL state in percent, default to 90.
1811 nscp_cpu_arguments  | **Optional.** Additional arguments.
1812 nscp_cpu_showall    | **Optional.** Shows more details in plugin output, default to false.
1813
1814 ### nscp-local-memory <a id="nscp-check-local-memory"></a>
1815
1816 Check command object for the `check_memory` NSClient++ plugin.
1817
1818 Name                  | Description
1819 ----------------------|------------------
1820 nscp_memory_committed | **Optional.** Check for committed memory, default to false.
1821 nscp_memory_physical  | **Optional.** Check for physical memory, default to true.
1822 nscp_memory_free      | **Optional.** Switch between checking free (true) or used memory (false), default to false.
1823 nscp_memory_warning   | **Optional.** Threshold for WARNING state in percent or absolute (use MB, GB, ...), default to 80 (free=false) or 20 (free=true).
1824 nscp_memory_critical  | **Optional.** Threshold for CRITICAL state in percent or absolute (use MB, GB, ...), default to 90 (free=false) or 10 (free=true).
1825 nscp_memory_arguments | **Optional.** Additional arguments.
1826 nscp_memory_showall   | **Optional.** Shows more details in plugin output, default to false.
1827
1828 ### nscp-local-os-version <a id="nscp-check-local-os-version"></a>
1829
1830 Check command object for the `check_os_version` NSClient++ plugin.
1831
1832 This command has the same custom attributes like the `nscp-local` check command.
1833
1834 ### nscp-local-pagefile <a id="nscp-check-local-pagefile"></a>
1835
1836 Check command object for the `check_pagefile` NSClient++ plugin.
1837
1838 This command has the same custom attributes like the `nscp-local` check command.
1839
1840 ### nscp-local-process <a id="nscp-check-local-process"></a>
1841
1842 Check command object for the `check_process` NSClient++ plugin.
1843
1844 This command has the same custom attributes like the `nscp-local` check command.
1845
1846 ### nscp-local-service <a id="nscp-check-local-service"></a>
1847
1848 Check command object for the `check_service` NSClient++ plugin.
1849
1850 Name                   | Description
1851 -----------------------|------------------
1852 nscp_service_name      | **Required.** Name of service to check.
1853 nscp_service_type      | **Optional.** Type to check, default to state.
1854 nscp_service_ok        | **Optional.** State for return an OK, i.e. for type=state running, stopped, ...
1855 nscp_service_otype     | **Optional.** Dedicate type for nscp_service_ok, default to nscp_service_state.
1856 nscp_service_warning   | **Optional.** State for return an WARNING.
1857 nscp_service_wtype     | **Optional.** Dedicate type for nscp_service_warning, default to nscp_service_state.
1858 nscp_service_critical  | **Optional.** State for return an CRITICAL.
1859 nscp_service_ctype     | **Optional.** Dedicate type for nscp_service_critical, default to nscp_service_state.
1860 nscp_service_arguments | **Optional.** Additional arguments.
1861 nscp_service_showall   | **Optional.** Shows more details in plugin output, default to true.
1862
1863 ### nscp-local-uptime <a id="nscp-check-local-uptime"></a>
1864
1865 Check command object for the `check_uptime` NSClient++ plugin.
1866
1867 This command has the same custom attributes like the `nscp-local` check command.
1868
1869 ### nscp-local-version <a id="nscp-check-local-version"></a>
1870
1871 Check command object for the `check_version` NSClient++ plugin.
1872
1873 This command has the same custom attributes like the `nscp-local` check command.
1874 In addition to that the default value for `nscp_modules` is set to `[ "CheckHelpers" ]`.
1875
1876 ### nscp-local-disk <a id="nscp-check-local-disk"></a>
1877
1878 Check command object for the `check_drivesize` NSClient++ plugin.
1879
1880 Name                   | Description
1881 -----------------------|------------------
1882 nscp_disk_drive        | **Optional.** Drive character, default to all drives. Can be an array if multiple drives should be monitored.
1883 nscp_disk_exclude      | **Optional.** Drive character, default to none. Can be an array of drive characters if multiple drives should be excluded.
1884 nscp_disk_free         | **Optional.** Switch between checking free space (free=true) or used space (free=false), default to false.
1885 nscp_disk_warning      | **Optional.** Threshold for WARNING in percent or absolute (use MB, GB, ...), default to 80 (used) or 20 percent (free).
1886 nscp_disk_critical     | **Optional.** Threshold for CRITICAL in percent or absolute (use MB, GB, ...), default to 90 (used) or 10 percent (free).
1887 nscp_disk_arguments    | **Optional.** Additional arguments.
1888 nscp_disk_showall      | **Optional.** Shows more details in plugin output, default to true.
1889 nscp_modules           | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckDisk" ]`.
1890
1891 ### nscp-local-counter <a id="nscp-check-local-counter"></a>
1892
1893 Check command object for the `check_pdh` NSClient++ plugin.
1894
1895 Name                   | Description
1896 -----------------------|------------------
1897 nscp_counter_name      | **Required.** Performance counter name.
1898 nscp_counter_warning   | **Optional.** WARNING Threshold.
1899 nscp_counter_critical  | **Optional.** CRITICAL Threshold.
1900 nscp_counter_arguments | **Optional.** Additional arguments.
1901 nscp_counter_showall   | **Optional.** Shows more details in plugin output, default to false.
1902 nscp_counter_perfsyntax | **Optional.** Apply performance data label, e.g. `Total Processor Time` to avoid special character problems. Defaults to `nscp_counter_name`.
1903
1904 ### nscp-local-tasksched <a id="nscp-check-local-tasksched"></a>
1905
1906 Check Command object for the `check_tasksched` NSClient++ plugin.
1907 You can check for a single task or for a complete folder (and sub folders) of tasks.
1908
1909 Name                   | Description
1910 -----------------------|------------------
1911 nscp_tasksched_name         | **Optional.** Name of the task to check.
1912 nscp_tasksched_folder       | **Optional.** The folder in which the tasks to check reside.
1913 nscp_tasksched_recursive    | **Optional.** Recurse sub folder, defaults to true.
1914 nscp_tasksched_hidden       | **Optional.** Look for hidden tasks, defaults to false.
1915 nscp_tasksched_warning      | **Optional.** Filter which marks items which generates a warning state, defaults to `exit_code != 0`.
1916 nscp_tasksched_critical     | **Optional.** Filter which marks items which generates a critical state, defaults to `exit_code < 0`.
1917 nscp_tasksched_emptystate   | **Optional.** Return status to use when nothing matched filter, defaults to warning.
1918 nscp_tasksched_perfsyntax   | **Optional.** Performance alias syntax., defaults to `%(title)`
1919 nscp_tasksched_detailsyntax | **Optional.** Detail level syntax, defaults to `%(folder)/%(title): %(exit_code) != 0`
1920 nscp_tasksched_arguments    | **Optional.** Additional arguments.
1921 nscp_tasksched_showall      | **Optional.** Shows more details in plugin output, default to false.
1922 nscp_modules                | **Optional.** An array of NSClient++ modules to load. Defaults to `[ "CheckTaskSched" ]`.
1923
1924
1925 ## Plugin Check Commands for Manubulon SNMP <a id="snmp-manubulon-plugin-check-commands"></a>
1926
1927 The `SNMP Manubulon Plugin Check Commands` provide configuration for plugin check
1928 commands provided by the [SNMP Manubulon project](http://nagios.manubulon.com/index_snmp.html).
1929
1930 **Note:** Some plugin parameters are only available in Debian packages or in a
1931 [forked repository](https://github.com/dnsmichi/manubulon-snmp) with patches applied.
1932
1933 The SNMP manubulon plugin check commands assume that the global constant named `ManubulonPluginDir`
1934 is set to the path where the Manubublon SNMP plugins are installed.
1935
1936 You can enable these plugin check commands by adding the following the include directive in your
1937 [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf) configuration file:
1938
1939     include <manubulon>
1940
1941 ### Checks by Host Type
1942
1943 **N/A**      : Not available for this type.
1944
1945 **SNMP**     : Available for simple SNMP query.
1946
1947 **??**       : Untested.
1948
1949 **Specific** : Script name for platform specific checks.
1950
1951
1952   Host type               | Interface  | storage  | load/cpu  | mem | process  | env | specific
1953   ------------------------|------------|----------|-----------|-----|----------|-----|-------------------------
1954   Linux                   |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  |
1955   Windows                 |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  | check_snmp_win.pl
1956   Cisco router/switch     |   Yes      |   N/A    |   Yes     | Yes |   N/A    | Yes |
1957   HP router/switch        |   Yes      |   N/A    |   Yes     | Yes |   N/A    | No  |
1958   Bluecoat proxy          |   Yes      |   SNMP   |   Yes     | SNMP|   No     | Yes |
1959   CheckPoint on SPLAT     |   Yes      |   Yes    |   Yes     | Yes |   Yes    | No  | check_snmp_cpfw.pl
1960   CheckPoint on Nokia IP  |   Yes      |   Yes    |   Yes     | No  |   ??     | No  | check_snmp_vrrp.pl
1961   Boostedge               |   Yes      |   Yes    |   Yes     | Yes |   ??     | No  | check_snmp_boostedge.pl
1962   AS400                   |   Yes      |   Yes    |   Yes     | Yes |   No     | No  |
1963   NetsecureOne Netbox     |   Yes      |   Yes    |   Yes     | ??  |   Yes    | No  |
1964   Radware Linkproof       |   Yes      |   N/A    |   SNMP    | SNMP|   No     | No  | check_snmp_linkproof_nhr <br> check_snmp_vrrp.pl
1965   IronPort                |   Yes      |   SNMP   |   SNMP    | SNMP|   No     | Yes |
1966   Cisco CSS               |   Yes      |   ??     |   Yes     | Yes |   No     | ??  | check_snmp_css.pl
1967
1968
1969 ### snmp-env <a id="plugin-check-command-snmp-env"></a>
1970
1971 Check command object for the [check_snmp_env.pl](http://nagios.manubulon.com/snmp_env.html) plugin.
1972
1973 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
1974
1975
1976 Name                    | Description
1977 ------------------------|--------------
1978 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
1979 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
1980 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
1981 snmp_port               | **Optional.** The SNMP port connection.
1982 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
1983 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
1984 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
1985 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
1986 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
1987 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
1988 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
1989 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
1990 snmp_env_type           | **Optional.** Environment Type [cisco|nokia|bc|iron|foundry|linux]. Defaults to "cisco".
1991 snmp_env_fan            | **Optional.** Minimum fan rpm value (only needed for 'iron' & 'linux')
1992 snmp_env_celsius        | **Optional.** Maximum temp in degrees celsius (only needed for 'iron' & 'linux')
1993 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
1994 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
1995
1996 ### snmp-load <a id="plugin-check-command-snmp-load"></a>
1997
1998 Check command object for the [check_snmp_load.pl](http://nagios.manubulon.com/snmp_load.html) plugin.
1999
2000 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2001
2002
2003 Name                    | Description
2004 ------------------------|--------------
2005 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2006 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2007 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2008 snmp_port               | **Optional.** The SNMP port connection.
2009 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2010 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2011 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2012 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2013 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2014 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2015 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2016 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2017 snmp_warn               | **Optional.** The warning threshold. Change the `snmp_load_type` var to "netsl" for using 3 values.
2018 snmp_crit               | **Optional.** The critical threshold. Change the `snmp_load_type` var to "netsl" for using 3 values.
2019 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.
2020 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2021 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2022
2023 ### snmp-memory <a id="plugin-check-command-snmp-memory"></a>
2024
2025 Check command object for the [check_snmp_mem.pl](http://nagios.manubulon.com/snmp_mem.html) plugin.
2026
2027 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2028
2029 Name                    | Description
2030 ------------------------|--------------
2031 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2032 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2033 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2034 snmp_port               | **Optional.** The SNMP port connection.
2035 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2036 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2037 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2038 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2039 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2040 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2041 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2042 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2043 snmp_warn               | **Optional.** The warning threshold.
2044 snmp_crit               | **Optional.** The critical threshold.
2045 snmp_is_cisco           | **Optional.** Change OIDs for Cisco switches. Defaults to false.
2046 snmp_is_hp              | **Optional.** Change OIDs for HP/Procurve switches. Defaults to false.
2047 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2048 snmp_memcached          | **Optional.** Include cached memory in used memory, Defaults to false.
2049 snmp_membuffer          | **Optional.** Exclude buffered memory in used memory, Defaults to false.
2050 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2051
2052 ### snmp-storage <a id="plugin-check-command-snmp-storage"></a>
2053
2054 Check command object for the [check_snmp_storage.pl](http://nagios.manubulon.com/snmp_storage.html) plugin.
2055
2056 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2057
2058 Name                    | Description
2059 ------------------------|--------------
2060 snmp_address            | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2061 snmp_nocrypt            | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2062 snmp_community          | **Optional.** The SNMP community. Defaults to "public".
2063 snmp_port               | **Optional.** The SNMP port connection.
2064 snmp_v2                 | **Optional.** SNMP version to 2c. Defaults to false.
2065 snmp_v3                 | **Optional.** SNMP version to 3. Defaults to false.
2066 snmp_login              | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2067 snmp_password           | **Required.** SNMP version 3 password. No value defined as default.
2068 snmp_v3_use_privpass    | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2069 snmp_v3_use_authprotocol| **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2070 snmp_authprotocol       | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2071 snmp_privpass           | **Required.** SNMP version 3 priv password. No value defined as default.
2072 snmp_warn               | **Optional.** The warning threshold.
2073 snmp_crit               | **Optional.** The critical threshold.
2074 snmp_storage_name       | **Optional.** Storage name. Default to regex "^/$$". More options available in the [snmp storage](http://nagios.manubulon.com/snmp_storage.html) documentation.
2075 snmp_storage_type       | **Optional.** Filter by storage type. Valid options are Other, Ram, VirtualMemory, FixedDisk, RemovableDisk, FloppyDisk, CompactDisk, RamDisk, FlashMemory, or NetworkDisk. No value defined as default.
2076 snmp_perf               | **Optional.** Enable perfdata values. Defaults to true.
2077 snmp_exclude            | **Optional.** Select all storages except the one(s) selected by -m. No action on storage type selection.
2078 snmp_timeout            | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2079 snmp_storage_olength    | **Optional.** Max-size of the SNMP message, usefull in case of Too Long responses.
2080
2081 ### snmp-interface <a id="plugin-check-command-snmp-interface"></a>
2082
2083 Check command object for the [check_snmp_int.pl](http://nagios.manubulon.com/snmp_int.html) plugin.
2084
2085 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2086
2087 Name                        | Description
2088 ----------------------------|--------------
2089 snmp_address                | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2090 snmp_nocrypt                | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2091 snmp_community              | **Optional.** The SNMP community. Defaults to "public".
2092 snmp_port                   | **Optional.** The SNMP port connection.
2093 snmp_v2                     | **Optional.** SNMP version to 2c. Defaults to false.
2094 snmp_v3                     | **Optional.** SNMP version to 3. Defaults to false.
2095 snmp_login                  | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2096 snmp_password               | **Required.** SNMP version 3 password. No value defined as default.
2097 snmp_v3_use_privpass        | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2098 snmp_v3_use_authprotocol    | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2099 snmp_authprotocol           | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2100 snmp_privpass               | **Required.** SNMP version 3 priv password. No value defined as default.
2101 snmp_warn                   | **Optional.** The warning threshold.
2102 snmp_crit                   | **Optional.** The critical threshold.
2103 snmp_interface              | **Optional.** Network interface name. Default to regex "eth0".
2104 snmp_interface_inverse      | **Optional.** Inverse Interface check, down is ok. Defaults to false as it is missing.
2105 snmp_interface_perf         | **Optional.** Check the input/output bandwidth of the interface. Defaults to true.
2106 snmp_interface_label        | **Optional.** Add label before speed in output: in=, out=, errors-out=, etc.
2107 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.
2108 snmp_interface_percent      | **Optional.** Output performance data in % of max speed. Defaults to false.
2109 snmp_interface_kbits        | **Optional.** Make the warning and critical levels in KBits/s. Defaults to true.
2110 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.
2111 snmp_interface_64bit        | **Optional.** Use 64 bits counters instead of the standard counters when checking bandwidth & performance data for interface >= 1Gbps. Defaults to false.
2112 snmp_interface_errors       | **Optional.** Add error & discard to Perfparse output. Defaults to true.
2113 snmp_interface_noregexp     | **Optional.** Do not use regexp to match interface name in description OID. Defaults to false.
2114 snmp_interface_delta        | **Optional.** Delta time of perfcheck. Defaults to "300" (5 min).
2115 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.
2116 snmp_interface_ifname       | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifName when looking up the interface's name.
2117 snmp_interface_ifalias      | **Optional.** Switch from IF-MIB::ifDescr to IF-MIB::ifAlias when looking up the interface's name.
2118 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`.
2119 snmp_perf                   | **Optional.** Enable perfdata values. Defaults to true.
2120 snmp_timeout                | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2121
2122 ### snmp-process <a id="plugin-check-command-snmp-process"></a>
2123
2124 Check command object for the [check_snmp_process.pl](http://nagios.manubulon.com/snmp_process.html) plugin.
2125
2126 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2127
2128 Name                       | Description
2129 ---------------------------|--------------
2130 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2131 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2132 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2133 snmp_port                  | **Optional.** The SNMP port connection.
2134 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2135 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2136 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2137 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2138 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2139 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2140 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2141 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default..
2142 snmp_warn                  | **Optional.** The warning threshold.
2143 snmp_crit                  | **Optional.** The critical threshold.
2144 snmp_process_name          | **Optional.** Name of the process (regexp). No trailing slash!. Defaults to ".*".
2145 snmp_perf                  | **Optional.** Enable perfdata values. Defaults to true.
2146 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2147 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.
2148 snmp_process_mem_usage     | **Optional.** Define to check memory usage for the process. Defaults to false.
2149 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".
2150 snmp_process_cpu_usage     | **Optional.** Define to check CPU usage for the process. Defaults to false.
2151 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".
2152
2153 ### snmp-service <a id="plugin-check-command-snmp-service"></a>
2154
2155 Check command object for the [check_snmp_win.pl](http://nagios.manubulon.com/snmp_windows.html) plugin.
2156
2157 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2158
2159 Name                       | Description
2160 ---------------------------|--------------
2161 snmp_address               | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2162 snmp_nocrypt               | **Optional.** Define SNMP encryption. If set to `false`, `snmp_v3` needs to be enabled. Defaults to `true` (no encryption).
2163 snmp_community             | **Optional.** The SNMP community. Defaults to "public".
2164 snmp_port                  | **Optional.** The SNMP port connection.
2165 snmp_v2                    | **Optional.** SNMP version to 2c. Defaults to false.
2166 snmp_v3                    | **Optional.** SNMP version to 3. Defaults to false.
2167 snmp_login                 | **Optional.** SNMP version 3 username. Defaults to "snmpuser".
2168 snmp_password              | **Required.** SNMP version 3 password. No value defined as default.
2169 snmp_v3_use_privpass       | **Optional.** Define to use SNMP version 3 priv password. Defaults to false.
2170 snmp_v3_use_authprotocol   | **Optional.** Define to use SNMP version 3 authentication protocol. Defaults to false.
2171 snmp_authprotocol          | **Optional.** SNMP version 3 authentication protocol. Defaults to "md5,des".
2172 snmp_privpass              | **Required.** SNMP version 3 priv password. No value defined as default.
2173 snmp_timeout               | **Optional.** The command timeout in seconds. Defaults to 5 seconds.
2174 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 ".*".
2175 snmp_service_count         | **Optional.** Compare matching services with a specified number instead of the number of names provided.
2176 snmp_service_showall       | **Optional.** Show all services in the output, instead of only the non-active ones. Defaults to false.
2177 snmp_service_noregexp      | **Optional.** Do not use regexp to match NAME in service description. Defaults to false.
2178
2179
2180 ## Contributed Plugin Check Commands <a id="plugin-contrib"></a>
2181
2182 The contributed Plugin Check Commands provides various additional command definitions
2183 contributed by community members.
2184
2185 These check commands assume that the global constant named `PluginContribDir`
2186 is set to the path where the user installs custom plugins and can be enabled by
2187 uncommenting the corresponding line in [icinga2.conf](04-configuring-icinga-2.md#icinga2-conf):
2188
2189 ```
2190 vim /etc/icinga2/icinga2.conf
2191
2192 include <plugin-contrib>
2193 ```
2194
2195 This is enabled by default since Icinga 2 2.5.0.
2196
2197 ### Big Data <a id="plugin-contrib-big-data"></a>
2198
2199 This category contains plugins for various Big Data systems.
2200
2201 #### cloudera_service_status <a id="plugin-contrib-command-cloudera_service_status"></a>
2202
2203 The [cloudera_service_status](https://github.com/miso231/icinga2-cloudera-plugin) plugin
2204 uses Cloudera Manager API to monitor cluster services
2205
2206 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2207
2208 Name                  | Description
2209 ----------------------|-----------------------------------------------------------------
2210 cloudera_host         | **Required.** Hostname of cloudera server.
2211 cloudera_port         | **Optional.** Port where cloudera is listening. Defaults to 443.
2212 cloudera_user         | **Required.** The username for the API connection.
2213 cloudera_pass         | **Required.** The password for the API connection.
2214 cloudera_api_version  | **Required.** API version of cloudera.
2215 cloudera_cluster      | **Required.** The cluster name in cloudera manager.
2216 cloudera_service      | **Required.** Name of cluster service to be checked.
2217 cloudera_verify_ssl   | **Optional.** Verify SSL. Defaults to true.
2218
2219 #### cloudera_hdfs_space <a id="plugin-contrib-command-cloudera_hdfs_space"></a>
2220
2221 The [cloudera_hdfs_space](https://github.com/miso231/icinga2-cloudera-plugin) plugin
2222 connects to Hadoop Namenode and gets used capacity of selected disk
2223
2224 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2225
2226 Name                      | Description
2227 --------------------------|-----------------------------------------------------------------
2228 cloudera_hdfs_space_host  | **Required.** Namenode host to connect to.
2229 cloudera_hdfs_space_port  | **Optional.** Namenode port (default 50070).
2230 cloudera_hdfs_space_disk  | **Required.** HDFS disk to check.
2231 cloudera_hdfs_space_warn  | **Required.** Warning threshold in percent.
2232 cloudera_hdfs_space_crit  | **Required.** Critical threshold in percent.
2233
2234 #### cloudera_hdfs_files <a id="plugin-contrib-command-cloudera_hdfs_files"></a>
2235
2236 The [cloudera_hdfs_files](https://github.com/miso231/icinga2-cloudera-plugin) plugin
2237 connects to Hadoop Namenode and gets total number of files on HDFS
2238
2239 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2240
2241 Name                      | Description
2242 --------------------------|-----------------------------------------------------------------
2243 cloudera_hdfs_files_host  | **Required.** Namenode host to connect to.
2244 cloudera_hdfs_files_port  | **Optional.** Namenode port (default 50070).
2245 cloudera_hdfs_files_warn  | **Required.** Warning threshold.
2246 cloudera_hdfs_files_crit  | **Required.** Critical threshold.
2247 cloudera_hdfs_files_max   | **Required.** Max files count that causes problems (default 140,000,000).
2248
2249 ### Databases <a id="plugin-contrib-databases"></a>
2250
2251 This category contains plugins for various database servers.
2252
2253 #### db2_health <a id="plugin-contrib-command-db2_health"></a>
2254
2255 The [check_db2_health](https://labs.consol.de/nagios/check_db2_health/) plugin
2256 uses the `DBD::DB2` Perl library to monitor a [DB2](https://www.ibm.com/support/knowledgecenter/SSEPGG_11.1.0/)
2257 database.
2258
2259 The Git repository is located on [GitHub](https://github.com/lausser/check_db2_health).
2260
2261 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2262
2263 Name                             | Description
2264 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2265 db2_health_database           | **Required.** The name of the database. (If it was catalogued locally, this parameter and `db2_health_not_catalogued = false` are the only you need. Otherwise you must specify database, hostname and port)
2266 db2_health_username           | **Optional.** The username for the database connection.
2267 db2_health_password           | **Optional.** The password for the database connection.
2268 db2_health_port               | **Optional.** The port where DB2 is listening.
2269 db2_health_warning            | **Optional.** The warning threshold depending on the mode.
2270 db2_health_critical           | **Optional.** The critical threshold depending on the mode.
2271 db2_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-usage" or "sql".
2272 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).
2273 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.
2274 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.
2275 db2_health_regexp             | **Optional.** If set to true, "db2_health_name" will be interpreted as a regular expression. Defaults to false.
2276 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".
2277 db2_health_maxinactivity      | **Optional.** Used for the maximum amount of time a certain event has not happened.
2278 db2_health_mitigation         | **Optional.** Classifies the severity of an offline tablespace.
2279 db2_health_lookback           | **Optional.** How many days in the past db2_health check should look back to calculate exitcode.
2280 db2_health_report             | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2281 db2_health_not_catalogued     | **Optional.** Set this variable to false if you want to use a catalogued locally database. Defaults to `true`.
2282 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".
2283 db2_health_env_db2_version    | **Optional.** Specifies the DB2 version as environment variable `DB2_VERSION`.
2284
2285 #### mssql_health <a id="plugin-contrib-command-mssql_health"></a>
2286
2287 The [check_mssql_health](https://labs.consol.de/nagios/check_mssql_health/index.html) plugin
2288 uses the `DBD::Sybase` Perl library based on [FreeTDS](http://www.freetds.org/) to monitor a
2289 [MS SQL](https://www.microsoft.com/en-us/sql-server/) server.
2290
2291 The Git repository is located on [GitHub](https://github.com/lausser/check_mssql_health).
2292
2293 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2294
2295 Name                             | Description
2296 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2297 mssql_health_hostname            | **Optional.** Specifies the database hostname or address. No default because you typically use "mssql_health_server".
2298 mssql_health_username            | **Optional.** The username for the database connection.
2299 mssql_health_password            | **Optional.** The password for the database connection.
2300 mssql_health_port                | **Optional.** Specifies the database port. No default because you typically use "mssql_health_server".
2301 mssql_health_server              | **Optional.** The name of a predefined connection (in freetds.conf).
2302 mssql_health_currentdb           | **Optional.** The name of a database which is used as the current database for the connection.
2303 mssql_health_offlineok           | **Optional.** Set this to true if offline databases are perfectly ok for you. Defaults to false.
2304 mssql_health_nooffline           | **Optional.** Set this to true to ignore offline databases. Defaults to false.
2305 mssql_health_dbthresholds        | **Optional.** With this parameter thresholds are read from the database table check_mssql_health_thresholds.
2306 mssql_health_notemp              | **Optional.** Set this to true to ignore temporary databases/tablespaces. Defaults to false.
2307 mssql_health_commit              | **Optional.** Set this to true to turn on autocommit for the dbd::sybase module. Defaults to false.
2308 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).
2309 mssql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "database-free" or "sql".
2310 mssql_health_regexp              | **Optional.** If set to true, "mssql_health_name" will be interpreted as a regular expression. Defaults to false.
2311 mssql_health_warning             | **Optional.** The warning threshold depending on the mode.
2312 mssql_health_critical            | **Optional.** The critical threshold depending on the mode.
2313 mssql_health_warningx            | **Optional.** A possible override for the warning threshold.
2314 mssql_health_criticalx           | **Optional.** A possible override for the critical threshold.
2315 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".
2316 mssql_health_name                | **Optional.** Depending on the mode this could be the database name or a SQL statement.
2317 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.
2318 mssql_health_name3               | **Optional.** Additional argument used for 'database-file-free' mode for example.
2319 mssql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2320 mssql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2321 mssql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2322 mssql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2323 mssql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2324 mssql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2325 mssql_health_morphmessage        | **Optional.** Modify the final output message.
2326 mssql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2327 mssql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2328 mssql_health_report              | **Optional.** Report can be used to output only the bad news. Possible values are "short", "long", "html". Defaults to `short`.
2329 mssql_health_multiline           | **Optional.** Multiline output.
2330 mssql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2331 mssql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2332 mssql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2333 mssql_health_timeout             | **Optional.** Plugin timeout. Defaults to 15s.
2334
2335 #### mysql_health <a id="plugin-contrib-command-mysql_health"></a>
2336
2337 The [check_mysql_health](https://labs.consol.de/nagios/check_mysql_health/index.html) plugin
2338 uses the `DBD::MySQL` Perl library to monitor a
2339 [MySQL](https://dev.mysql.com/downloads/mysql/) or [MariaDB](https://mariadb.org/about/) database.
2340
2341 The Git repository is located on [GitHub](https://github.com/lausser/check_mysql_health).
2342
2343 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2344
2345 Name                             | Description
2346 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2347 mysql_health_hostname            | **Required.** Specifies the database hostname or address. Defaults to "$address$" or "$address6$" if the `address` attribute is not set.
2348 mysql_health_port                | **Optional.** Specifies the database port. Defaults to 3306 (or 1186 for "mysql_health_mode" cluster).
2349 mysql_health_socket              | **Optional.** Specifies the database unix socket. No default.
2350 mysql_health_username            | **Optional.** The username for the database connection.
2351 mysql_health_password            | **Optional.** The password for the database connection.
2352 mysql_health_database            | **Optional.** The database to connect to. Defaults to information_schema.
2353 mysql_health_warning             | **Optional.** The warning threshold depending on the mode.
2354 mysql_health_critical            | **Optional.** The critical threshold depending on the mode.
2355 mysql_health_warningx            | **Optional.** The extended warning thresholds depending on the mode.
2356 mysql_health_criticalx           | **Optional.** The extended critical thresholds depending on the mode.
2357 mysql_health_mode                | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "slave-lag" or "sql".
2358 mysql_health_method              | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Mysql (default), `mysql` for using the mysql-Tool).
2359 mysql_health_commit              | **Optional.** Turns on autocommit for the dbd::\* module.
2360 mysql_health_notemp              | **Optional.** Ignore temporary databases/tablespaces.
2361 mysql_health_nooffline           | **Optional.** Skip the offline databases.
2362 mysql_health_regexp              | **Optional.** Parameter name/name2/name3 will be interpreted as (perl) regular expression.
2363 mysql_health_name                | **Optional.** The name of a specific component to check.
2364 mysql_health_name2               | **Optional.** The secondary name of a component.
2365 mysql_health_name3               | **Optional.** The tertiary name of a component.
2366 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".
2367 mysql_health_labelformat         | **Optional.** One of those formats pnp4nagios or groundwork. Defaults to pnp4nagios.
2368 mysql_health_extraopts           | **Optional.** Read command line arguments from an external file.
2369 mysql_health_blacklist           | **Optional.** Blacklist some (missing/failed) components
2370 mysql_health_mitigation          | **Optional.** The parameter allows you to change a critical error to a warning.
2371 mysql_health_lookback            | **Optional.** The amount of time you want to look back when calculating average rates.
2372 mysql_health_environment         | **Optional.** Add a variable to the plugin's environment.
2373 mysql_health_morphmessage        | **Optional.** Modify the final output message.
2374 mysql_health_morphperfdata       | **Optional.** The parameter allows you to change performance data labels.
2375 mysql_health_selectedperfdata    | **Optional.** The parameter allows you to limit the list of performance data.
2376 mysql_health_report              | **Optional.** Can be used to shorten the output.
2377 mysql_health_multiline           | **Optional.** Multiline output.
2378 mysql_health_negate              | **Optional.** Emulate the negate plugin. --negate warning=critical --negate unknown=critical.
2379 mysql_health_withmymodulesdyndir | **Optional.** Add-on modules for the my-modes will be searched in this directory.
2380 mysql_health_statefilesdir       | **Optional.** An alternate directory where the plugin can save files.
2381 mysql_health_isvalidtime         | **Optional.** Signals the plugin to return OK if now is not a valid check time.
2382 mysql_health_timeout             | **Optional.** Plugin timeout. Defaults to 60s.
2383
2384 #### oracle_health <a id="plugin-contrib-command-oracle_health"></a>
2385
2386 The [check_oracle_health](https://labs.consol.de/nagios/check_oracle_health/index.html) plugin
2387 uses the `DBD::Oracle` Perl library to monitor an [Oracle](https://www.oracle.com/database/) database.
2388
2389 The Git repository is located on [GitHub](https://github.com/lausser/check_oracle_health).
2390
2391 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2392
2393 Name                             | Description
2394 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2395 oracle_health_connect            | **Required.** Specifies the database connection string (from tnsnames.ora).
2396 oracle_health_username           | **Optional.** The username for the database connection.
2397 oracle_health_password           | **Optional.** The password for the database connection.
2398 oracle_health_warning            | **Optional.** The warning threshold depending on the mode.
2399 oracle_health_critical           | **Optional.** The critical threshold depending on the mode.
2400 oracle_health_mode               | **Required.** The mode uses predefined keywords for the different checks. For example "connection-time", "flash-recovery-area-usage" or "sql".
2401 oracle_health_method             | **Optional.** How the plugin should connect to the database (`dbi` for using DBD::Oracle (default), `sqlplus` for using the sqlplus-Tool).
2402 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.
2403 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.
2404 oracle_health_regexp             | **Optional.** If set to true, "oracle_health_name" will be interpreted as a regular expression. Defaults to false.
2405 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".
2406 oracle_health_ident              | **Optional.** If set to true, outputs instance and database names. Defaults to false.
2407 oracle_health_commit             | **Optional.** Set this to true to turn on autocommit for the dbd::oracle module. Defaults to false.
2408 oracle_health_noperfdata         | **Optional.** Set this to true if you want to disable perfdata. Defaults to false.
2409 oracle_health_timeout            | **Optional.** Plugin timeout. Defaults to 60s.
2410 oracle_health_report             | **Optional.** Select the plugin output format. Can be short or long. Default to long.
2411
2412 Environment Macros:
2413
2414 Name                | Description
2415 --------------------|------------------------------------------------------------------------------------------------------------------------------------------
2416 ORACLE\_HOME         | **Required.** Specifies the location of the oracle instant client libraries. Defaults to "/usr/lib/oracle/11.2/client64/lib". Can be overridden by setting the custom attribute `oracle_home`.
2417 LD\_LIBRARY\_PATH    | **Required.** Specifies the location of the oracle instant client libraries for the run-time shared library loader. Defaults to "/usr/lib/oracle/11.2/client64/lib". Can be overridden by setting the custom attribute `oracle_ld_library_path`.
2418 TNS\_ADMIN           | **Required.** Specifies the location of the tnsnames.ora including the database connection strings. Defaults to "/etc/icinga2/plugin-configs". Can be overridden by setting the custom attribute `oracle_tns_admin`.
2419
2420 #### postgres <a id="plugin-contrib-command-postgres"></a>
2421
2422 The [check_postgres](https://bucardo.org/wiki/Check_postgres) plugin
2423 uses the `psql` binary to monitor a [PostgreSQL](https://www.postgresql.org/about/) database.
2424
2425 The Git repository is located on [GitHub](https://github.com/bucardo/check_postgres).
2426
2427 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2428
2429 Name                             | Description
2430 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2431 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.
2432 postgres_port        | **Optional.** Specifies the database port. Defaults to 5432.
2433 postgres_dbname      | **Optional.** Specifies the database name to connect to. Defaults to "postgres" or "template1".
2434 postgres_dbuser      | **Optional.** The username for the database connection. Defaults to "postgres".
2435 postgres_dbpass      | **Optional.** The password for the database connection. You can use a .pgpass file instead.
2436 postgres_dbservice   | **Optional.** Specifies the service name to use inside of pg_service.conf.
2437 postgres_warning     | **Optional.** Specifies the warning threshold, range depends on the action.
2438 postgres_critical    | **Optional.** Specifies the critical threshold, range depends on the action.
2439 postgres_include     | **Optional.** Specifies name(s) items to specifically include (e.g. tables), depends on the action.
2440 postgres_exclude     | **Optional.** Specifies name(s) items to specifically exclude (e.g. tables), depends on the action.
2441 postgres_includeuser | **Optional.** Include objects owned by certain users.
2442 postgres_excludeuser | **Optional.** Exclude objects owned by certain users.
2443 postgres_standby     | **Optional.** Assume that the server is in continuous WAL recovery mode if set to true. Defaults to false.
2444 postgres_production  | **Optional.** Assume that the server is in production mode if set to true. Defaults to false.
2445 postgres_action      | **Required.** Determines the test executed.
2446 postgres_unixsocket  | **Optional.** If "postgres_unixsocket" is set to true, the unix socket is used instead of an address. Defaults to false.
2447 postgres_query       | **Optional.** Query for "custom_query" action.
2448 postgres_valtype     | **Optional.** Value type of query result for "custom_query".
2449 postgres_reverse     | **Optional.** If "postgres_reverse" is set, warning and critical values are reversed for "custom_query" action.
2450 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).
2451
2452 #### mongodb <a id="plugin-contrib-command-mongodb"></a>
2453
2454 The [check_mongodb.py](https://github.com/mzupan/nagios-plugin-mongodb) plugin
2455 uses the `pymongo` Python library to monitor a [MongoDB](https://docs.mongodb.com/manual/) instance.
2456
2457 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2458
2459 Name                             | Description
2460 ---------------------------------|------------------------------------------------------------------------------------------------------------------------------
2461 mongodb_host                     | **Required.** Specifies the hostname or address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2462 mongodb_port                     | **Required.** The port mongodb is running on.
2463 mongodb_user                     | **Optional.** The username you want to login as.
2464 mongodb_passwd                   | **Optional.** The password you want to use for that user.
2465 mongodb_authdb                   | **Optional.** The database you want to authenticate against.
2466 mongodb_warning                  | **Optional.** The warning threshold we want to set.
2467 mongodb_critical                 | **Optional.** The critical threshold we want to set.
2468 mongodb_action                   | **Required.** The action you want to take.
2469 mongodb_maxlag                   | **Optional.** Get max replication lag (for replication_lag action only).
2470 mongodb_mappedmemory             | **Optional.** Get mapped memory instead of resident (if resident memory can not be read).
2471 mongodb_perfdata                 | **Optional.** Enable output of Nagios performance data.
2472 mongodb_database                 | **Optional.** Specify the database to check.
2473 mongodb_alldatabases             | **Optional.** Check all databases (action database_size).
2474 mongodb_ssl                      | **Optional.** Connect using SSL.
2475 mongodb_replicaset               | **Optional.** Connect to replicaset.
2476 mongodb_replcheck                | **Optional.** If set to true, will enable the mongodb_replicaset value needed for "replica_primary" check.
2477 mongodb_querytype                | **Optional.** The query type to check [query\|insert\|update\|delete\|getmore\|command] from queries_per_second.
2478 mongodb_collection               | **Optional.** Specify the collection to check.
2479 mongodb_sampletime               | **Optional.** Time used to sample number of pages faults.
2480
2481 #### elasticsearch <a id="plugin-contrib-command-elasticsearch"></a>
2482
2483 The [check_elasticsearch](https://github.com/anchor/nagios-plugin-elasticsearch) plugin
2484 uses the HTTP API to monitor an [Elasticsearch](https://www.elastic.co/products/elasticsearch) node.
2485
2486 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2487
2488 Name                         | Description
2489 -----------------------------|-------------------------------------------------------------------------------------------------------
2490 elasticsearch_host           | **Optional.** Hostname or network address to probe. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2491 elasticsearch_failuredomain  | **Optional.** A comma-separated list of ElasticSearch attributes that make up your cluster's failure domain.
2492 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.
2493 elasticsearch_port           | **Optional.** TCP port to probe.  The ElasticSearch API should be listening here. Defaults to 9200.
2494 elasticsearch_prefix         | **Optional.** Optional prefix (e.g. 'es') for the ElasticSearch API. Defaults to ''.
2495 elasticsearch_yellowcritical | **Optional.** Instead of issuing a 'warning' for a yellow cluster state, issue a 'critical' alert. Defaults to false.
2496
2497 #### redis <a id="plugin-contrib-command-redis"></a>
2498
2499 The [check_redis.pl](https://github.com/willixix/naglio-plugins/blob/master/check_redis.pl) plugin
2500 uses the `Redis` Perl library to monitor a [Redis](https://redis.io/) instance. The plugin can
2501 measure response time, hitrate, memory utilization, check replication synchronization, etc. It is
2502 also possible to test data in a specified key and calculate averages or summaries on ranges.
2503
2504 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2505
2506 Name                     | Description
2507 -------------------------|--------------------------------------------------------------------------------------------------------------
2508 redis_hostname           | **Required.** Hostname or IP Address to check. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2509 redis_port               | **Optional.** Port number to query. Default to "6379".
2510 redis_database           | **Optional.** Database name (usually a number) to query, needed for **redis_query**.
2511 redis_password           | **Optional.** Password for Redis authentication. Safer alternative is to put them in a file and use **redis_credentials**.
2512 redis_credentials        | **Optional.** Credentials file to read for Redis authentication.
2513 redis_timeout            | **Optional.** Allows to set timeout for execution of this plugin.
2514 redis_variables          | **Optional.** List of variables from info data to do threshold checks on.
2515 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.
2516 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.
2517 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.
2518 redis_perfvars           | **Optional.** This allows to list variables which values will go only into perfparse output (and not for threshold checking).
2519 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.
2520 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".
2521 redis_query              | **Optional.** Option specifies key to query and optional variable name to assign the results to after.
2522 redis_option             | **Optional.** Specifiers are separated by "," and must include NAME or PATTERN.
2523 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.
2524 redis_hitrate            | **Optional.** Calculates Hitrate and specify values are interpreted as WARNING and CRITICAL thresholds.
2525 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.
2526 redis_total_memory       | **Optional.** Amount of memory on a system for memory utilization calculation. Use system memory or max_memory setting of redis.
2527 redis_replication_delay  | **Optional.** Allows to set threshold on replication delay info.
2528
2529 #### proxysql <a id="plugin-contrib-command-proxysql"></a>
2530
2531 The [check_proxysql](https://github.com/sysown/proxysql-nagios) plugin,
2532 uses the `proxysql` binary to monitor [proxysql](https://proxysql.com/).
2533
2534 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2535
2536 Name                         | Description
2537 -----------------------------|----------------------------------------------------------------------------------
2538 proxysql_user                | **Optional.** ProxySQL admin username (default=admin)
2539 proxysql_password            | **Optional.** ProxySQL admin password (default=admin)
2540 proxysql_host                | **Optional.** ProxySQL hostname / IP (default=127.0.0.1)
2541 proxysql_port                | **Optional.** ProxySQL admin port (default=6032)
2542 proxysql_defaultfile         | **Optional.** ProxySQL defaults file
2543 proxysql_type                | **Required.** ProxySQL check type (one of conns,hg,rules,status,var)
2544 proxysql_name                | **Optional.** ProxySQL variable name to check
2545 proxysql_lower               | **Optional.** Alert if ProxySQL value are LOWER than defined WARN / CRIT thresholds (only applies to 'var' check type)
2546 proxysql_runtime             | **Optional.** Force ProxySQL Nagios check to query the runtime_mysql_XXX tables rather than the mysql_XXX tables
2547 proxysql_warning             | **Optional.** Warning threshold
2548 proxysql_critical            | **Optional.** Critical threshold
2549 proxysql\_include\_hostgroup | **Optional.** ProxySQL hostgroup(s) to include (only applies to '--type hg' checks, accepts comma-separated list)
2550 proxysql\_ignore\_hostgroup  | **Optional.** ProxySQL hostgroup(s) to ignore (only applies to '--type hg' checks, accepts comma-separated list)
2551
2552 ### Hardware <a id="plugin-contrib-hardware"></a>
2553
2554 This category includes all plugin check commands for various hardware checks.
2555
2556 #### hpasm <a id="plugin-contrib-command-hpasm"></a>
2557
2558 The [check_hpasm](https://labs.consol.de/de/nagios/check_hpasm/index.html) plugin
2559 monitors the hardware health of HP Proliant Servers, provided that the `hpasm`
2560 (HP Advanced Server Management) software is installed. It is also able to monitor
2561 the system health of HP Bladesystems and storage systems.
2562
2563 The plugin can run in two different ways:
2564
2565 1. Local execution using the `hpasmcli` command line tool.
2566 2. Remote SNMP query which invokes the HP Insight Tools on the remote node.
2567
2568 You can either set or omit `hpasm_hostname` custom attribute and select the corresponding node.
2569
2570 The `hpasm_remote` attribute enables the plugin to execute remote SNMP queries if set to `true`.
2571 For compatibility reasons this attribute uses `true` as default value, and ensures that
2572 specifying the `hpasm_hostname` always enables remote checks.
2573
2574 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2575
2576 Name                            | Description
2577 --------------------------------|-----------------------------------------------------------------------
2578 hpasm_hostname                  | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
2579 hpasm_community                 | **Optional.** SNMP community of the server (SNMP v1/2 only).
2580 hpasm_protocol                  | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
2581 hpasm_port                      | **Optional.** The SNMP port to use (default: 161).
2582 hpasm_blacklist                 | **Optional.** Blacklist some (missing/failed) components.
2583 hpasm_ignore-dimms              | **Optional.** Ignore "N/A"-DIMM status on misc. servers (e.g. older DL320).
2584 hpasm_ignore-fan-redundancy     | **Optional.** Ignore missing redundancy partners.
2585 hpasm_customthresholds          | **Optional.** Use custom thresholds for certain temperatures.
2586 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.
2587 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.
2588 hpasm_username                  | **Optional.** The securityName for the USM security model (SNMPv3 only).
2589 hpasm_authpassword              | **Optional.** The authentication password for SNMPv3.
2590 hpasm_authprotocol              | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
2591 hpasm_privpassword              | **Optional.** The password for authPriv security level.
2592 hpasm_privprotocol              | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
2593 hpasm_servertype                | **Optional.** The type of the server: proliant (default) or bladesystem.
2594 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.
2595 hpasm_remote                    | **Optional.** Run remote SNMP checks if enabled. Otherwise checks are executed locally using the `hpasmcli` binary. Defaults to `true`.
2596
2597 #### openmanage <a id="plugin-contrib-command-openmanage"></a>
2598
2599 The [check_openmanage](http://folk.uio.no/trondham/software/check_openmanage.html) plugin
2600 checks the hardware health of Dell PowerEdge (and some PowerVault) servers.
2601 It uses the Dell OpenManage Server Administrator (OMSA) software, which must be running on
2602 the monitored system. check_openmanage can be used remotely with SNMP or locally with icinga2 agent,
2603 check_by_ssh or similar, whichever suits your needs and particular taste.
2604
2605 The plugin checks the health of the storage subsystem, power supplies, memory modules,
2606 temperature probes etc., and gives an alert if any of the components are faulty or operate outside normal parameters.
2607
2608 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2609
2610 Name                            | Description
2611 --------------------------------|-----------------------------------------------------------------------
2612 openmanage_all                  | **Optional.** Check everything, even log content
2613 openmanage_blacklist            | **Optional.** Blacklist missing and/or failed components
2614 openmanage_check                | **Optional.** Fine-tune which components are checked
2615 openmanage_community            | **Optional.** SNMP community string [default=public]
2616 openmanage_config               | **Optional.** Specify configuration file
2617 openmanage_critical             | **Optional.** Custom temperature critical limits
2618 openmanage_extinfo              | **Optional.** Append system info to alerts
2619 openmanage_fahrenheit           | **Optional.** Use Fahrenheit as temperature unit
2620 openmanage_hostname             | **Optional.** Hostname or IP (required for SNMP)
2621 openmanage_htmlinfo             | **Optional.** HTML output with clickable links
2622 openmanage_info                 | **Optional.** Prefix any alerts with the service tag
2623 openmanage_ipv6                 | **Optional.** Use IPv6 instead of IPv4 [default=no]
2624 openmanage_legacy_perfdata      | **Optional.** Legacy performance data output
2625 openmanage_no_storage           | **Optional.** Don't check storage
2626 openmanage_only                 | **Optional.** Only check a certain component or alert type
2627 openmanage_perfdata             | **Optional.** Output performance data [default=no]
2628 openmanage_port                 | **Optional.** SNMP port number [default=161]
2629 openmanage_protocol             | **Optional.** SNMP protocol version [default=2c]
2630 openmanage_short_state          | **Optional.** Prefix alerts with alert state abbreviated
2631 openmanage_show_blacklist       | **Optional.** Show blacklistings in OK output
2632 openmanage_state                | **Optional.** Prefix alerts with alert state
2633 openmanage_tcp                  | **Optional.** Use TCP instead of UDP [default=no]
2634 openmanage_timeout              | **Optional.** Plugin timeout in seconds [default=30]
2635 openmanage_vdisk_critical       | **Optional.** Make any alerts on virtual disks critical
2636 openmanage_warning              | **Optional.** Custom temperature warning limits
2637
2638 #### lmsensors <a id="plugin-contrib-command-lmsensors"></a>
2639
2640 The [check_lmsensors](https://github.com/jackbenny/check_temp) plugin,
2641 uses the `lm-sensors` binary to monitor temperature sensors.
2642
2643 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2644
2645 Name                    | Description
2646 ------------------------|----------------------------------------------------------------------------------
2647 lmsensors_warning       | **Required.** Exit with WARNING status if above INTEGER degrees
2648 lmsensors_critical      | **Required.** Exit with CRITICAL status if above INTEGER degrees
2649 lmsensors_sensor        | **Optional.** Set what to monitor, for example CPU or MB (or M/B). Check sensors for the correct word. Default is CPU.
2650
2651 #### hddtemp <a id="plugin-contrib-command-hddtemp"></a>
2652
2653 The [check_hddtemp](https://github.com/vint21h/nagios-check-hddtemp) plugin,
2654 uses the `hddtemp` binary to monitor hard drive temperature.
2655
2656 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2657
2658 Name                    | Description
2659 ------------------------|----------------------------------------------------------------------------------
2660 hddtemp_server          | **Required.** server name or address
2661 hddtemp_port            | **Optional.** port number
2662 hddtemp_devices         | **Optional.** comma separated devices list, or empty for all devices in hddtemp response
2663 hddtemp_separator       | **Optional.** hddtemp separator
2664 hddtemp_warning         | **Required.** warning temperature
2665 hddtemp_critical        | **Required.** critical temperature
2666 hddtemp_timeout         | **Optional.** receiving data from hddtemp operation network timeout
2667 hddtemp_performance     | **Optional.** If set, return performance data
2668 hddtemp_quiet           | **Optional.** If set, be quiet
2669
2670 The following sane default value are specified:
2671 ```
2672 vars.hddtemp_server = "127.0.0.1"
2673 vars.hddtemp_warning = 55
2674 vars.hddtemp_critical = 60
2675 vars.hddtemp_performance = true
2676 vars.hddtemp_timeout = 5
2677 ```
2678
2679 #### adaptec-raid <a id="plugin-contrib-command-adaptec-raid"></a>
2680
2681 The [check_adaptec_raid](https://github.com/thomas-krenn/check_adaptec_raid) plugin
2682 uses the `arcconf` binary to monitor Adaptec RAID controllers.
2683
2684 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2685
2686 Name                            | Description
2687 --------------------------------|-----------------------------------------------------------------------
2688 adaptec_controller_number       | **Required.** Controller number to monitor.
2689 arcconf_path                    | **Required.** Path to the `arcconf` binary, e.g. "/sbin/arcconf".
2690
2691 #### lsi-raid <a id="plugin-contrib-command-lsi-raid"></a>
2692
2693 The [check_lsi_raid](https://github.com/thomas-krenn/check_lsi_raid) plugin
2694 uses the `storcli` binary to monitor MegaRAID RAID controllers.
2695
2696 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2697
2698 Name                            | Description
2699 --------------------------------|-----------------------------------------------------------------------
2700 lsi_controller_number           | **Optional.** Controller number to monitor.
2701 storcli_path                    | **Optional.** Path to the `storcli` binary, e.g. "/usr/sbin/storcli".
2702 lsi_enclosure_id                | **Optional.** Enclosure numbers to be checked, comma-separated.
2703 lsi_ld_id                       | **Optional.** Logical devices to be checked, comma-separated.
2704 lsi_pd_id                       | **Optional.** Physical devices to be checked, comma-separated.
2705 lsi_temp_warning                | **Optional.** RAID controller warning temperature.
2706 lsi_temp_critical               | **Optional.** RAID controller critical temperature.
2707 lsi_pd_temp_warning             | **Optional.** Disk warning temperature.
2708 lsi_pd_temp_critical            | **Optional.** Disk critical temperature.
2709 lsi_bbu_temp_warning            | **Optional.** Battery warning temperature.
2710 lsi_bbu_temp_critical           | **Optional.** Battery critical temperature.
2711 lsi_cv_temp_warning             | **Optional.** CacheVault warning temperature.
2712 lsi_cv_temp_critical            | **Optional.** CacheVault critical temperature.
2713 lsi_ignored_media_errors        | **Optional.** Warning threshold for media errors.
2714 lsi_ignored_other_errors        | **Optional.** Warning threshold for other errors.
2715 lsi_ignored_predictive_fails    | **Optional.** Warning threshold for predictive failures.
2716 lsi_ignored_shield_counters     | **Optional.** Warning threshold for shield counter.
2717 lsi_ignored_bbm_counters        | **Optional.** Warning threshold for BBM counter.
2718 lsi_bbu                         | **Optional.** Define if BBU is present and it's state should be checked.
2719 lsi_noenclosures                | **Optional.** If set to true, does not check enclosures.
2720 lsi_nosudo                      | **Optional.** If set to true, does not use sudo when running storcli.
2721 lsi_nocleanlogs                 | **Optional.** If set to true, does not clean up the log files after executing storcli checks.
2722
2723
2724 #### smart-attributes <a id="plugin-contrib-command-smart-attributes"></a>
2725
2726 The [check_smart_attributes](https://github.com/thomas-krenn/check_smart_attributes) plugin
2727 uses the `smartctl` binary to monitor SMART values of SSDs and HDDs.
2728
2729 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2730
2731 Name                            | Description
2732 --------------------------------|-----------------------------------------------------------------------
2733 smart_attributes_config_path    | **Required.** Path to the smart attributes config file (e.g. check_smartdb.json).
2734 smart_attributes_device         | **Required.** Device name (e.g. /dev/sda) to monitor.
2735
2736
2737 ### IcingaCLI <a id="plugin-contrib-icingacli"></a>
2738
2739 This category includes all plugins using the icingacli provided by Icinga Web 2.
2740
2741 The user running Icinga 2 needs sufficient permissions to read the Icinga Web 2 configuration directory. e.g. `usermod -a -G icingaweb2 icinga`. You need to restart, not reload Icinga 2 for the new group membership to work.
2742
2743 #### Business Process <a id="plugin-contrib-icingacli-businessprocess"></a>
2744
2745 This subcommand is provided by the [business process module](https://exchange.icinga.com/icinga/Business+Process)
2746 and executed as `icingacli businessprocess` CLI command.
2747
2748 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2749
2750 Name                                      | Description
2751 ------------------------------------------|-----------------------------------------------------------------------------------------
2752 icingacli_businessprocess_process         | **Required.** Business process to monitor.
2753 icingacli_businessprocess_config          | **Optional.** Configuration file containing your business process without file extension.
2754 icingacli_businessprocess_details         | **Optional.** Get details for root cause analysis. Defaults to false.
2755 icingacli_businessprocess_statetype       | **Optional.** Define which state type to look at, `soft` or `hard`. Overrides the default value inside the businessprocess module, if configured.
2756
2757 #### Director <a id="plugin-contrib-icingacli-director"></a>
2758
2759 This subcommand is provided by the [director module](https://github.com/Icinga/icingaweb2-module-director) > 1.4.2 and executed as `icingacli director health check`. Please refer to the [documentation](https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/60-CLI.md#health-check-plugin) for all available sub-checks.
2760
2761 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2762
2763 Name                                      | Description
2764 ------------------------------------------|-----------------------------------------------------------------------------------------
2765 icingacli_director_check                  | **Optional.** Run only a specific test suite.
2766 icingacli_director_db                     | **Optional.** Use a specific Icinga Web DB resource.
2767
2768 #### Elasticsearch <a id="plugin-contrib-icingacli-elasticsearch"></a>
2769
2770 This subcommand is provided by the [elasticsearch_module](https://github.com/Icinga/icingaweb2-module-elasticsearch) and executed as `icingacli elasticsearch check`.
2771
2772 * The value of `icingacli_elasticsearch_instance` is the same like in the configuration of the module.
2773 * The value of `icingacli_elasticsearch_filter` are filters for events in Icinga Web 2 syntax. e.g. `"beat.hostname=www.example.com" AND severity=critical`
2774 * The thresholds are just numerical values. They get checked against how many events match the filter within the given timeframe.
2775 * The value of `icingacli_elasticsearch_index` is an index pattern. e.g. `logstash*`
2776
2777 Name                                      | Description
2778 ------------------------------------------|-----------------------------------------------------------------------------------------
2779 icingacli_elasticsearch_instance          | **Required.** The Elasticsearch to connect to
2780 icingacli_elasticsearch_index             | **Required.** Index pattern to use when searching
2781 icingacli_elasticsearch_critical          | **Required.** Critical threshold
2782 icingacli_elasticsearch_warning           | **Required.** Warning threshold
2783 icingacli_elasticsearch_filter            | **Required.** Filter for events
2784 icingacli_elasticsearch_from              | **Optional.** Negative value of time to search from now (Default: -5m)
2785
2786 ### IPMI Devices <a id="plugin-contrib-ipmi"></a>
2787
2788 This category includes all plugins for IPMI devices.
2789
2790 #### ipmi-sensor <a id="plugin-contrib-command-ipmi-sensor"></a>
2791
2792 The [check_ipmi_sensor](https://github.com/thomas-krenn/check_ipmi_sensor_v3) plugin
2793 uses the `ipmimonitoring` binary to monitor sensor data for IPMI devices. Please
2794 read the [documentation](https://www.thomas-krenn.com/en/wiki/IPMI_Sensor_Monitoring_Plugin)
2795 for installation and configuration details.
2796
2797 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2798
2799 Name                             | Description
2800 ---------------------------------|-----------------------------------------------------------------------------------------------------
2801 ipmi_address                     | **Required.** Specifies the remote host (IPMI device) to check. Defaults to "$address$".
2802 ipmi_config_file                 | **Optional.** Path to the FreeIPMI configuration file. It should contain IPMI username, IPMI password, and IPMI privilege-level.
2803 ipmi_username                    | **Optional.** The IPMI username.
2804 ipmi_password                    | **Optional.** The IPMI password.
2805 ipmi_privilege_level             | **Optional.** The IPMI privilege level of the IPMI user.
2806 ipmi_backward_compatibility_mode | **Optional.** Enable backward compatibility mode, useful for FreeIPMI 0.5.\* (this omits FreeIPMI options "--quiet-cache" and "--sdr-cache-recreate").
2807 ipmi_sensor_type                 | **Optional.** Limit sensors to query based on IPMI sensor type. Examples for IPMI sensor types are 'Fan', 'Temperature' and 'Voltage'.
2808 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.
2809 ipmi_exclude_sensor_id           | **Optional.** Exclude sensor matching ipmi_sensor_id.
2810 ipmi_exclude_sensor              | **Optional.** Exclude sensor based on IPMI sensor type. (Comma-separated)
2811 ipmi_exclude_sel                 | **Optional.** Exclude SEL entries of specific sensor types. (comma-separated list).
2812 ipmi_sensor_id                   | **Optional.** Include sensor matching ipmi_sensor_id.
2813 ipmi_protocol_lan_version        | **Optional.** Change the protocol LAN version. Defaults to "LAN_2_0".
2814 ipmi_number_of_active_fans       | **Optional.** Number of fans that should be active. Otherwise a WARNING state is returned.
2815 ipmi_show_fru                    | **Optional.** Print the product serial number if it is available in the IPMI FRU data.
2816 ipmi_no_sel_checking             | **Optional.** Turn off system event log checking via ipmi-sel.
2817 ipmi_no_thresholds               | **Optional.** Turn off performance data thresholds from output-sensor-thresholds.
2818 ipmi_verbose                     | **Optional.** Be Verbose multi line output, also with additional details for warnings.
2819 ipmi_debug                       | **Optional.** Be Verbose debugging output, followed by normal multi line output.
2820 ipmi_unify_file                  | **Optional.** Path to the unify file to unify sensor names.
2821
2822 #### ipmi-alive <a id="plugin-contrib-command-ipmi-alive"></a>
2823
2824 The `ipmi-alive` check commands allows you to create a ping check for the IPMI Interface.
2825
2826 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2827
2828 Name                             | Description
2829 ---------------------------------|-----------------------------------------------------------------------------------------------------
2830 ping_address                     | **Optional.** The address of the IPMI interface. Defaults to "$address$" if the IPMI interface's `address` attribute is set, "$address6$" otherwise.
2831 ping_wrta                        | **Optional.** The RTA warning threshold in milliseconds. Defaults to 5000.
2832 ping_wpl                         | **Optional.** The packet loss warning threshold in %. Defaults to 100.
2833 ping_crta                        | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
2834 ping_cpl                         | **Optional.** The packet loss critical threshold in %. Defaults to 100.
2835 ping_packets                     | **Optional.** The number of packets to send. Defaults to 1.
2836 ping_timeout                     | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
2837
2838
2839 ### Log Management <a id="plugins-contrib-log-management"></a>
2840
2841 This category includes all plugins for log management, for example [Logstash](https://www.elastic.co/products/logstash).
2842
2843 #### logstash <a id="plugins-contrib-command-logstash"></a>
2844
2845 The [logstash](https://github.com/widhalmt/check_logstash) plugin connects to
2846 the Node API of Logstash. This plugin requires at least Logstash version 5.0.x.
2847
2848 The Node API is not activated by default. You have to configure your Logstash
2849 installation in order to allow plugin connections.
2850
2851 Name                       | Description
2852 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2853 logstash_hostname          | **Optional.** Hostname where Logstash is running. Defaults to `check_address`
2854 logstash_port              | **Optional.** Port where Logstash is listening for API requests. Defaults to 9600
2855 logstash_filedesc_warn     | **Optional.** Warning threshold of file descriptor usage in percent. Defaults to 85 (percent).
2856 logstash_filedesc_crit     | **Optional.** Critical threshold of file descriptor usage in percent. Defaults to 95 (percent).
2857 logstash_heap_warn         | **Optional.** Warning threshold of heap usage in percent. Defaults to 70 (percent).
2858 logstash_heap_crit         | **Optional.** Critical threshold of heap usage in percent Defaults to 80 (percent).
2859 logstash_inflight_warn     | **Optional.** Warning threshold of inflight events.
2860 logstash_inflight_crit     | **Optional.** Critical threshold of inflight events.
2861 logstash_cpu_warn          | **Optional.** Warning threshold for cpu usage in percent.
2862 logstash_cpu_crit          | **Optional.** Critical threshold for cpu usage in percent.
2863
2864
2865 ### Metrics <a id="plugin-contrib-metrics"></a>
2866
2867 This category includes all plugins for metric-based checks.
2868
2869 #### graphite <a id="plugin-contrib-command-graphite"></a>
2870
2871 The [check_graphite](https://github.com/obfuscurity/nagios-scripts) plugin
2872 uses the `rest-client` Ruby library to monitor a [Graphite](https://graphiteapp.org) instance.
2873
2874 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2875
2876 Name                                | Description
2877 ------------------------------------|-----------------------------------------------------------------------------------------------------
2878 graphite_url                        | **Required.** Target url.
2879 graphite_metric                     | **Required.** Metric path string.
2880 graphite_shortname                  | **Optional.** Metric short name (used for performance data).
2881 graphite_duration                   | **Optional.** Length, in minute of data to parse (default: 5).
2882 graphite_function                   | **Optional.** Function applied to metrics for thresholds (default: average).
2883 graphite_warning                    | **Required.** Warning threshold.
2884 graphite_critical                   | **Required.** Critical threshold.
2885 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.
2886 graphite_message                    | **Optional.** Text message to output (default: "metric count:").
2887 graphite_zero_on_error              | **Optional.** Return 0 on a graphite 500 error.
2888 graphite_link_graph                 | **Optional.** Add a link in the plugin output, showing a 24h graph for this metric in graphite.
2889
2890 ### Network Components <a id="plugin-contrib-network-components"></a>
2891
2892 This category includes all plugins for various network components like routers, switches and firewalls.
2893
2894 #### interfacetable <a id="plugin-contrib-command-interfacetable"></a>
2895
2896 The [check_interfacetable_v3t](http://www.tontonitch.com/tiki/tiki-index.php?page=Nagios+plugins+-+interfacetable_v3t) plugin
2897 generates a html page containing information about the monitored node and all of its interfaces.
2898
2899 The Git repository is located on [GitHub](https://github.com/Tontonitch/interfacetable_v3t).
2900
2901 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2902
2903 Name                                | Description
2904 ------------------------------------|-----------------------------------------------------------------------------------------------------
2905 interfacetable_hostquery            | **Required.** Specifies the remote host to poll. Defaults to "$address$".
2906 interfacetable_hostdisplay          | **Optional.** Specifies the hostname to display in the HTML link. Defaults to "$host.display_name$".
2907 interfacetable_regex                | **Optional.** Interface names and property names for some other options will be interpreted as regular expressions. Defaults to false.
2908 interfacetable_outputshort          | **Optional.** Reduce the verbosity of the plugin output. Defaults to false.
2909 interfacetable_exclude              | **Optional.** Comma separated list of interfaces globally excluded from the monitoring.
2910 interfacetable_include              | **Optional.** Comma separated list of interfaces globally included in the monitoring.
2911 interfacetable_aliasmatching        | **Optional.** Allow you to specify alias in addition to interface names. Defaults to false.
2912 interfacetable_excludetraffic       | **Optional.** Comma separated list of interfaces excluded from traffic checks.
2913 interfacetable_includetraffic       | **Optional.** Comma separated list of interfaces included for traffic checks.
2914 interfacetable_warningtraffic       | **Optional.** Interface traffic load percentage leading to a warning alert.
2915 interfacetable_criticaltraffic      | **Optional.** Interface traffic load percentage leading to a critical alert.
2916 interfacetable_pkt                  | **Optional.** Add unicast/non-unicast pkt stats for each interface.
2917 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.
2918 interfacetable_trackproperty        | **Optional.** List of tracked properties.
2919 interfacetable_excludeproperty      | **Optional.** Comma separated list of interfaces excluded from the property tracking.
2920 interfacetable_includeproperty      | **Optional.** Comma separated list of interfaces included in the property tracking.
2921 interfacetable_community            | **Optional.** Specifies the snmp v1/v2c community string. Defaults to "public" if using snmp v1/v2c, ignored using v3.
2922 interfacetable_snmpv2               | **Optional.** Use snmp v2c. Defaults to false.
2923 interfacetable_login                | **Optional.** Login for snmpv3 authentication.
2924 interfacetable_passwd               | **Optional.** Auth password for snmpv3 authentication.
2925 interfacetable_privpass             | **Optional.** Priv password for snmpv3 authentication.
2926 interfacetable_protocols            | **Optional.** Authentication protocol,Priv protocol for snmpv3 authentication.
2927 interfacetable_domain               | **Optional.** SNMP transport domain.
2928 interfacetable_contextname          | **Optional.** Context name for the snmp requests.
2929 interfacetable_port                 | **Optional.** SNMP port. Defaults to standard port.
2930 interfacetable_64bits               | **Optional.** Use SNMP 64-bits counters. Defaults to false.
2931 interfacetable_maxrepetitions       | **Optional.** Increasing this value may enhance snmp query performances by gathering more results at one time.
2932 interfacetable_snmptimeout          | **Optional.** Define the Transport Layer timeout for the snmp queries.
2933 interfacetable_snmpretries          | **Optional.** Define the number of times to retry sending a SNMP message.
2934 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.
2935 interfacetable_unixsnmp             | **Optional.** Use unix snmp utilities for snmp requests. Defaults to false, which means use the perl bindings.
2936 interfacetable_enableperfdata       | **Optional.** Enable port performance data. Defaults to false.
2937 interfacetable_perfdataformat       | **Optional.** Define which performance data will be generated. Possible values are "full" (default), "loadonly", "globalonly".
2938 interfacetable_perfdatathreshold    | **Optional.** Define which thresholds are printed in the generated performance data. Possible values are "full" (default), "loadonly", "globalonly".
2939 interfacetable_perfdatadir          | **Optional.** When specified, the performance data are also written directly to a file, in the specified location.
2940 interfacetable_perfdataservicedesc  | **Optional.** Specify additional parameters for output performance data to PNP. Defaults to "$service.name$", only affects **interfacetable_perfdatadir**.
2941 interfacetable_grapher              | **Optional.** Specify the used graphing solution. Possible values are "pnp4nagios" (default), "nagiosgrapher", "netwaysgrapherv2" and "ingraph".
2942 interfacetable_grapherurl           | **Optional.** Graphing system url. Default depends on **interfacetable_grapher**.
2943 interfacetable_portperfunit         | **Optional.** Traffic could be reported in bits (counters) or in bps (calculated value).
2944 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".
2945 interfacetable_duplex               | **Optional.** Add the duplex mode property for each interface in the interface table. Defaults to false.
2946 interfacetable_stp                  | **Optional.** Add the stp state property for each interface in the interface table. Defaults to false.
2947 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"
2948 interfacetable_noipinfo             | **Optional.** Remove the ip information for each interface from the interface table. Defaults to false.
2949 interfacetable_alias                | **Optional.** Add the alias information for each interface in the interface table. Defaults to false.
2950 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.
2951 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.
2952 interfacetable_delta                | **Optional.** Set the delta used for interface throughput calculation in seconds.
2953 interfacetable_ifs                  | **Optional.** Input field separator. Defaults to ",".
2954 interfacetable_cache                | **Optional.** Define the retention time of the cached data in seconds.
2955 interfacetable_noifloadgradient     | **Optional.** Disable color gradient from green over yellow to red for the load percentage. Defaults to false.
2956 interfacetable_nohuman              | **Optional.** Do not translate bandwidth usage in human readable format. Defaults to false.
2957 interfacetable_snapshot             | **Optional.** Force the plugin to run like if it was the first launch. Defaults to false.
2958 interfacetable_timeout              | **Optional.** Define the global timeout limit of the plugin in seconds. Defaults to "15s".
2959 interfacetable_css                  | **Optional.** Define the css stylesheet used by the generated html files. Possible values are "classic", "icinga" or "icinga-alternate1".
2960 interfacetable_config               | **Optional.** Specify a config file to load.
2961 interfacetable_noconfigtable        | **Optional.** Disable configuration table on the generated HTML page. Defaults to false.
2962 interfacetable_notips               | **Optional.** Disable the tips in the generated html tables. Defaults to false.
2963 interfacetable_defaulttablesorting  | **Optional.** Default table sorting can be "index" (default) or "name".
2964 interfacetable_tablesplit           | **Optional.** Generate multiple interface tables, one per interface type. Defaults to false.
2965 interfacetable_notype               | **Optional.** Remove the interface type for each interface. Defaults to false.
2966
2967 #### iftraffic <a id="plugin-contrib-command-iftraffic"></a>
2968
2969 The [check_iftraffic](https://exchange.icinga.com/exchange/iftraffic) plugin
2970 checks the utilization of a given interface name using the SNMP protocol.
2971
2972 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2973
2974 Name                    | Description
2975 ------------------------|---------------------------------------------------------
2976 iftraffic_address       | **Required.** Specifies the remote host. Defaults to "$address$".
2977 iftraffic_community     | **Optional.** SNMP community. Defaults to "public'" if omitted.
2978 iftraffic_interface     | **Required.** Queried interface name.
2979 iftraffic_bandwidth     | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2980 iftraffic_units         | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2981 iftraffic_warn          | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
2982 iftraffic_crit          | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
2983 iftraffic_max_counter   | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
2984
2985 #### iftraffic64 <a id="plugin-contrib-command-iftraffic64"></a>
2986
2987 The [check_iftraffic64](https://exchange.icinga.com/exchange/iftraffic64) plugin
2988 checks the utilization of a given interface name using the SNMP protocol.
2989
2990 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
2991
2992 Name                    | Description
2993 ------------------------|---------------------------------------------------------
2994 iftraffic64_address     | **Required.** Specifies the remote host. Defaults to "$address$".
2995 iftraffic64_community   | **Optional.** SNMP community. Defaults to "public'" if omitted.
2996 iftraffic64_interface   | **Required.** Queried interface name.
2997 iftraffic64_bandwidth   | **Required.** Interface maximum speed in kilo/mega/giga/bits per second.
2998 iftraffic64_units       | **Optional.** Interface units can be one of these values: `g` (gigabits/s),`m` (megabits/s), `k` (kilobits/s),`b` (bits/s)
2999 iftraffic64_warn        | **Optional.** Percent of bandwidth usage necessary to result in warning status (defaults to `85`).
3000 iftraffic64_crit        | **Optional.** Percent of bandwidth usage necessary to result in critical status (defaults to `98`).
3001 iftraffic64_max_counter | **Optional.** Maximum counter value of net devices in kilo/mega/giga/bytes.
3002
3003 #### interfaces <a id="plugin-contrib-command-interfaces"></a>
3004
3005 The [check_interfaces](https://git.netways.org/plugins/check_interfaces) plugin
3006 uses SNMP to monitor network interfaces and their utilization.
3007
3008 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3009
3010 Name                      | Description
3011 --------------------------|---------------------------------------------------------
3012 interfaces_address        | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
3013 interfaces_regex          | **Optional.** Interface list regexp.
3014 interfaces_exclude_regex  | **Optional.** Interface list negative regexp.
3015 interfaces_errors         | **Optional.** Number of in errors (CRC errors for cisco) to consider a warning (default 50).
3016 interface_out_errors      | **Optional.** Number of out errors (collisions for cisco) to consider a warning (default same as in errors).
3017 interfaces_perfdata       | **Optional.** perfdata from last check result.
3018 interfaces_prefix         | **Optional.** Prefix interface names with this label.
3019 interfaces_lastcheck      | **Optional.** Last checktime (unixtime).
3020 interfaces_bandwidth      | **Optional.** Bandwidth warn level in percent.
3021 interfaces_speed          | **Optional.** Override speed detection with this value (bits per sec).
3022 interfaces_trim           | **Optional.** Cut this number of characters from the start of interface descriptions.
3023 interfaces_mode           | **Optional.** Special operating mode (default,cisco,nonbulk,bintec).
3024 interfaces_auth_proto     | **Optional.** SNMPv3 Auth Protocol (SHA\|MD5)
3025 interfaces_auth_phrase    | **Optional.** SNMPv3 Auth Phrase
3026 interfaces_priv_proto     | **Optional.** SNMPv3 Privacy Protocol (AES\|DES)
3027 interfaces_priv_phrase    | **Optional.** SNMPv3 Privacy Phrase
3028 interfaces_user           | **Optional.** SNMPv3 User
3029 interfaces_down_is_ok     | **Optional.** Disables critical alerts for down interfaces.
3030 interfaces_aliases        | **Optional.** Retrieves the interface description.
3031 interfaces_match_aliases  | **Optional.** Also match against aliases (Option --aliases automatically enabled).
3032 interfaces_timeout        | **Optional.** Sets the SNMP timeout (in ms).
3033 interfaces_sleep          | **Optional.** Sleep between every SNMP query (in ms).
3034 interfaces_names          | **Optional.** If set to true, use ifName instead of ifDescr.
3035
3036 #### nwc_health <a id="plugin-contrib-command-nwc_health"></a>
3037
3038 The [check_nwc_health](https://labs.consol.de/de/nagios/check_nwc_health/index.html) plugin
3039 uses SNMP to monitor network components. The plugin is able to generate interface statistics,
3040 check hardware (CPU, memory, fan, power, etc.), monitor firewall policies, HRSP, load-balancer
3041 pools, processor and memory usage.
3042
3043 Currently the following network components are supported: Cisco IOS, Cisco Nexus, Cisco ASA,
3044 Cisco PIX, F5 BIG-IP, CheckPoint Firewall1, Juniper NetScreen, HP Procurve, Nortel, Brocade 4100/4900,
3045 EMC DS 4700, EMC DS 24, Allied Telesyn. Blue Coat SG600, Cisco Wireless Lan Controller 5500,
3046 Brocade ICX6610-24-HPOE, Cisco UC Telefonzeugs, FOUNDRY-SN-AGENT-MIB, FRITZ!BOX 7390, FRITZ!DECT 200,
3047 Juniper IVE, Pulse-Gateway MAG4610, Cisco IronPort AsyncOS, Foundry, etc. A complete list can be
3048 found in the plugin [documentation](https://labs.consol.de/nagios/check_nwc_health/index.html).
3049
3050 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3051
3052 Name                            | Description
3053 --------------------------------|---------------------------------------------------------
3054 nwc_health_hostname             | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
3055 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).
3056 nwc_health_timeout              | **Optional.** Seconds before plugin times out (default: 15)
3057 nwc_health_blacklist            | **Optional.** Blacklist some (missing/failed) components.
3058 nwc_health_port                 | **Optional.** The SNMP port to use (default: 161).
3059 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).
3060 nwc_health_protocol             | **Optional.** The SNMP protocol to use (default: 2c, other possibilities: 1,3).
3061 nwc_health_community            | **Optional.** SNMP community of the server (SNMP v1/2 only).
3062 nwc_health_username             | **Optional.** The securityName for the USM security model (SNMPv3 only).
3063 nwc_health_authpassword         | **Optional.** The authentication password for SNMPv3.
3064 nwc_health_authprotocol         | **Optional.** The authentication protocol for SNMPv3 (md5\|sha).
3065 nwc_health_privpassword         | **Optional.** The password for authPriv security level.
3066 nwc_health_privprotocol         | **Optional.** The private protocol for SNMPv3 (des\|aes\|aes128\|3des\|3desde).
3067 nwc_health_contextengineid      | **Optional.** The context engine id for SNMPv3 (10 to 64 hex characters).
3068 nwc_health_contextname          | **Optional.** The context name for SNMPv3 (empty represents the default context).
3069 nwc_health_name                 | **Optional.** The name of an interface (ifDescr).
3070 nwc_health_drecksptkdb          | **Optional.** This parameter must be used instead of --name, because Devel::ptkdb is stealing the latter from the command line.
3071 nwc_health_alias                | **Optional.** The alias name of a 64bit-interface (ifAlias)
3072 nwc_health_regexp               | **Optional.** A flag indicating that --name is a regular expression
3073 nwc_health_ifspeedin            | **Optional.** Override the ifspeed oid of an interface (only inbound)
3074 nwc_health_ifspeedout           | **Optional.** Override the ifspeed oid of an interface (only outbound)
3075 nwc_health_ifspeed              | **Optional.** Override the ifspeed oid of an interface
3076 nwc_health_units                | **Optional.** One of %, B, KB, MB, GB, Bit, KBi, MBi, GBi. (used for e.g. mode interface-usage)
3077 nwc_health_name2                | **Optional.** The secondary name of a component.
3078 nwc_health_role                 | **Optional.** The role of this device in a hsrp group (active/standby/listen).
3079 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)
3080 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.
3081 nwc_health_warning              | **Optional.** The warning threshold
3082 nwc_health_critical             | **Optional.** The critical threshold
3083 nwc_health_warningx             | **Optional.** The extended warning thresholds
3084 nwc_health_criticalx            | **Optional.** The extended critical thresholds
3085 nwc_health_mitigation           | **Optional.** The parameter allows you to change a critical error to a warning (1) or ok (0).
3086 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.
3087 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'
3088 nwc_health_negate               | **Optional.** The parameter allows you to map exit levels, such as warning=critical.
3089 nwc_health_mymodules-dyn-dir    | **Optional.** A directory where own extensions can be found.
3090 nwc_health_servertype           | **Optional.** The type of the network device: cisco (default). Use it if auto-detection is not possible.
3091 nwc_health_statefilesdir        | **Optional.** An alternate directory where the plugin can save files.
3092 nwc_health_oids                 | **Optional.** A list of oids which are downloaded and written to a cache file. Use it together with --mode oidcache.
3093 nwc_health_offline              | **Optional.** The maximum number of seconds since the last update of cache file before it is considered too old.
3094 nwc_health_multiline            | **Optional.** Multiline output
3095
3096 ### Network Services <a id="plugin-contrib-network-services"></a>
3097
3098 This category contains plugins which receive details about network services
3099
3100 #### lsyncd <a id="plugin-contrib-command-lsyncd"></a>
3101
3102 The [check_lsyncd](https://github.com/ohitz/check_lsyncd) plugin,
3103 uses the `lsyncd` status file to monitor [lsyncd](https://axkibe.github.io/lsyncd/).
3104
3105 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3106
3107 Name                    | Description
3108 ------------------------|---------------------------------------------------------------------------
3109 lsyncd_statfile         | **Optional.** Set status file path (default: /var/run/lsyncd.status).
3110 lsyncd_warning          | **Optional.** Warning if more than N delays (default: 10).
3111 lsyncd_critical         | **Optional.** Critical if more then N delays (default: 100).
3112
3113 #### fail2ban <a id="plugin-contrib-command-fail2ban"></a>
3114
3115 The [check_fail2ban](https://github.com/fail2ban/fail2ban/tree/master/files/nagios) plugin
3116 uses the `fail2ban-client` binary to monitor [fail2ban](http://www.fail2ban.org) jails.
3117
3118 The plugin requires `sudo` permissions.
3119 You can add a sudoers file to allow your monitoring user to use the plugin, i.e. edit /etc/sudoers.d/icinga and add:
3120 ```
3121 icinga ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_fail2ban
3122 ```
3123
3124 and set the correct permissions:
3125 ```bash
3126 chown -c root: /etc/sudoers.d/icinga
3127 chmod -c 0440 /etc/sudoers.d/icinga
3128 ```
3129
3130 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3131
3132 Name                    | Description
3133 ------------------------|---------------------------------------------------------------------------
3134 fail2ban_display        | **Optional.** To modify the output display, default is 'CHECK FAIL2BAN ACTIVITY'
3135 fail2ban_path           | **Optional.** Specify the path to the tw_cli binary, default value is /usr/bin/fail2ban-client
3136 fail2ban_warning        | **Optional.** Specify a warning threshold, default is 1
3137 fail2ban_critical       | **Optional.** Specify a critical threshold, default is 2
3138 fail2ban_socket         | **Optional.** Specify a socket path, default is unset
3139 fail2ban_perfdata       | **Optional.** If set to true, activate the perfdata output, default value for the plugin is set to true.
3140
3141 ### Operating System <a id="plugin-contrib-operating-system"></a>
3142
3143 This category contains plugins which receive details about your operating system
3144 or the guest system.
3145
3146 #### mem <a id="plugin-contrib-command-mem"></a>
3147
3148 The [check_mem.pl](https://github.com/justintime/nagios-plugins) plugin checks the
3149 memory usage on linux and unix hosts. It is able to count cache memory as free when
3150 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).
3151
3152 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3153
3154 Name         | Description
3155 -------------|-----------------------------------------------------------------------------------------------------------------------
3156 mem_used     | **Optional.** Tell the plugin to check for used memory in opposite of **mem_free**. Must specify one of these as true.
3157 mem_free     | **Optional.** Tell the plugin to check for free memory in opposite of **mem_used**. Must specify one of these as true.
3158 mem_cache    | **Optional.** If set to true, plugin will count cache as free memory. Defaults to false.
3159 mem_warning  | **Required.** Specify the warning threshold as number interpreted as percent.
3160 mem_critical | **Required.** Specify the critical threshold as number interpreted as percent.
3161
3162 #### running_kernel <a id="plugin-contrib-command-running_kernel"></a>
3163
3164 The [check_running_kernel](https://packages.debian.org/stretch/nagios-plugins-contrib) plugin
3165 is provided by the `nagios-plugin-contrib` package on Debian/Ubuntu.
3166
3167 Custom attributes:
3168
3169 Name                       | Description
3170 ---------------------------|-------------
3171 running\_kernel\_use\_sudo | Whether to run the plugin with `sudo`. Defaults to false except on Ubuntu where it defaults to true.
3172
3173 #### iostats <a id="plugin-contrib-command-iostats"></a>
3174
3175 The [check_iostats](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostats) plugin
3176 uses the `iostat` binary to monitor I/O on a Linux host. The default thresholds are rather high
3177 so you can use a grapher for baselining before setting your own.
3178
3179 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3180
3181 Name           | Description
3182 ---------------|-----------------------------------------------------------------------------------------------------------------------
3183 iostats\_disk            | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
3184 iostats\_warning\_tps    | **Required.** Warning threshold for tps (default: 3000).
3185 iostats\_warning\_read   | **Required.** Warning threshold for KB/s reads (default: 50000).
3186 iostats\_warning\_write  | **Required.** Warning threshold for KB/s writes (default: 10000).
3187 iostats\_warning\_wait   | **Required.** Warning threshold for % iowait (default: 50).
3188 iostats\_critical\_tps   | **Required.** Critical threshold for tps (default: 5000).
3189 iostats\_critical\_read  | **Required.** Critical threshold for KB/s reads (default: 80000).
3190 iostats\_critical\_write | **Required.** Critical threshold for KB/s writes (default: 25000).
3191 iostats\_critical\_wait  | **Required.** Critical threshold for % iowait (default: 80).
3192
3193 #### iostat <a id="plugin-contrib-command-iostat"></a>
3194
3195 The [check_iostat](https://github.com/dnsmichi/icinga-plugins/blob/master/scripts/check_iostat) plugin
3196 uses the `iostat` binary to monitor disk I/O on a Linux host. The default thresholds are rather high
3197 so you can use a grapher for baselining before setting your own.
3198
3199 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3200
3201 Name           | Description
3202 ---------------|-----------------------------------------------------------------------------------------------------------------------
3203 iostat\_disk   | **Required.** The device to monitor without path. e.g. sda or vda. (default: sda).
3204 iostat\_wtps   | **Required.** Warning threshold for tps (default: 100).
3205 iostat\_wread  | **Required.** Warning threshold for KB/s reads (default: 100).
3206 iostat\_wwrite | **Required.** Warning threshold for KB/s writes (default: 100).
3207 iostat\_ctps   | **Required.** Critical threshold for tps (default: 200).
3208 iostat\_cread  | **Required.** Critical threshold for KB/s reads (default: 200).
3209 iostat\_cwrite | **Required.** Critical threshold for KB/s writes (default: 200).
3210
3211 #### yum <a id="plugin-contrib-command-yum"></a>
3212
3213 The [check_yum](https://github.com/calestyo/check_yum) plugin checks the YUM package
3214 management system for package updates.
3215 The plugin requires the `yum-plugin-security` package to differentiate between security and normal updates.
3216
3217 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3218
3219 Name                    | Description
3220 ------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3221 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.
3222 yum_warn_on_any_update  | **Optional.** Set to true to warn if there are any (non-security) package updates available. Defaults to false.
3223 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.
3224 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.
3225 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.
3226 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.
3227 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.
3228 yum_installroot         | **Optional.** Specifies another installation root directory (for example a chroot).
3229 yum_timeout             | **Optional.** Set a timeout in seconds after which the plugin will exit (defaults to 55 seconds).
3230
3231 ### Storage <a id="plugins-contrib-storage"></a>
3232
3233 This category includes all plugins for various storage and object storage technologies.
3234
3235 #### glusterfs <a id="plugins-contrib-command-glusterfs"></a>
3236
3237 The [glusterfs](https://www.unixadm.org/software/nagios-stuff/checks/check_glusterfs) plugin
3238 is used to check the GlusterFS storage health on the server.
3239 The plugin requires `sudo` permissions.
3240
3241 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3242
3243 Name                       | Description
3244 ---------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3245 glusterfs_perfdata         | **Optional.** Print perfdata of all or the specified volume.
3246 glusterfs_warnonfailedheal | **Optional.** Warn if the *heal-failed* log contains entries. The log can be cleared by restarting glusterd.
3247 glusterfs_volume           | **Optional.** Only check the specified *VOLUME*. If --volume is not set, all volumes are checked.
3248 glusterfs_disk_warning     | **Optional.** Warn if disk usage is above *DISKWARN*. Defaults to 90 (percent).
3249 glusterfs_disk_critical    | **Optional.** Return a critical error if disk usage is above *DISKCRIT*. Defaults to 95 (percent).
3250 glusterfs_inode_warning    | **Optional.** Warn if inode usage is above *DISKWARN*. Defaults to 90 (percent).
3251 glusterfs_inode_critical   | **Optional.** Return a critical error if inode usage is above *DISKCRIT*. Defaults to 95 (percent).
3252
3253 #### ceph <a id="plugins-contrib-command-ceph"></a>
3254
3255 The [ceph plugin](https://github.com/ceph/ceph-nagios-plugins)
3256 is used to check the Ceph storage health on the server.
3257
3258 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3259
3260 Name             | Description
3261 -----------------|---------------------------------------------------------
3262 ceph_exec_dir    | **Optional.** Ceph executable. Default /usr/bin/ceph.
3263 ceph_conf_file   | **Optional.** Alternative ceph conf file.
3264 ceph_mon_address | **Optional.** Ceph monitor address[:port].
3265 ceph_client_id   | **Optional.** Ceph client id.
3266 ceph_client_name | **Optional.** Ceph client name.
3267 ceph_client_key  | **Optional.** Ceph client keyring file.
3268 ceph_whitelist   | **Optional.** Whitelist regexp for ceph health warnings.
3269 ceph_details     | **Optional.** Run 'ceph health detail'.
3270
3271 #### btrfs <a id="plugins-contrib-command-btrfs"></a>
3272
3273 The [btrfs plugin](https://github.com/knorrie/python-btrfs/)
3274 is used to check the btrfs storage health on the server.
3275
3276 The plugin requires `sudo` permissions.
3277 You can add a sudoers file to allow your monitoring user to use the plugin, i.e. edit /etc/sudoers.d/icinga and add:
3278 ```
3279 icinga ALL=(root) NOPASSWD:/usr/lib/nagios/plugins/check_btrfs
3280 ```
3281
3282 and set the correct permissions:
3283 ```bash
3284 chown -c root: /etc/sudoers.d/icinga
3285 chmod -c 0440 /etc/sudoers.d/icinga
3286 ```
3287
3288 [monitoring-plugins-btrfs](https://packages.debian.org/monitoring-plugins-btrfs) provide the necessary binary on debian/ubuntu.
3289
3290 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3291
3292 Name             | Description
3293 -----------------|---------------------------------------------------------
3294 btrfs_awg        | **Optional.** Exit with WARNING status if less than the specified amount of disk space (in GiB) is unallocated
3295 btrfs_acg        | **Optional.** Exit with CRITICAL status if less than the specified amount of disk space (in GiB) is unallocated
3296 btrfs_awp        | **Optional.** Exit with WARNING status if more than the specified percent of disk space is allocated
3297 btrfs_acp        | **Optional.** Exit with CRITICAL status if more than the specified percent of disk space is allocated
3298 btrfs_mountpoint | **Required.** Path to the BTRFS mountpoint
3299
3300 ### Virtualization <a id="plugin-contrib-virtualization"></a>
3301
3302 This category includes all plugins for various virtualization technologies.
3303
3304 #### esxi_hardware <a id="plugin-contrib-command-esxi-hardware"></a>
3305
3306 The [check_esxi_hardware.py](https://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php) plugin
3307 uses the [pywbem](https://pywbem.github.io/pywbem/) Python library to monitor the hardware of ESXi servers
3308 through the [VMWare API](https://www.vmware.com/support/pubs/sdk_pubs.html) and CIM service.
3309
3310 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3311
3312 Name                    | Description
3313 ------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3314 esxi_hardware_host      | **Required.** Specifies the host to monitor. Defaults to "$address$".
3315 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.
3316 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.
3317 esxi_hardware_port      | **Optional.** Specifies the CIM port to connect to. Defaults to 5989.
3318 esxi_hardware_vendor    | **Optional.** Defines the vendor of the server: "auto", "dell", "hp", "ibm", "intel", "unknown" (default).
3319 esxi_hardware_html      | **Optional.** Add web-links to hardware manuals for Dell servers (use your country extension). Only useful with **esxi_hardware_vendor** = dell.
3320 esxi_hardware_ignore    | **Optional.** Comma separated list of elements to ignore.
3321 esxi_hardware_perfdata  | **Optional.** Add performcedata for graphers like PNP4Nagios to the output. Defaults to false.
3322 esxi_hardware_nopower   | **Optional.** Do not collect power performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3323 esxi_hardware_novolts   | **Optional.** Do not collect voltage performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3324 esxi_hardware_nocurrent | **Optional.** Do not collect current performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3325 esxi_hardware_notemp    | **Optional.** Do not collect temperature performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3326 esxi_hardware_nofan     | **Optional.** Do not collect fan performance data, when **esxi_hardware_perfdata** is set to true. Defaults to false.
3327 esxi_hardware_nolcd     | **Optional.** Do not collect lcd/display status data. Defaults to false.
3328
3329 #### VMware <a id="plugin-contrib-vmware"></a>
3330
3331 Check commands for the [check_vmware_esx](https://github.com/BaldMansMojo/check_vmware_esx) plugin.
3332
3333 **vmware-esx-dc-volumes**
3334
3335 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
3336
3337 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3338
3339 Name                    | Description
3340 ------------------------|--------------
3341 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3342 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3343 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3344 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3345 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3346 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3347 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3348 vmware_sessionfile      | **Optional.** Session file name enhancement.
3349 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3350 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3351 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3352 vmware_password         | **Optional.** The username's password. No value defined as default.
3353 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3354 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3355 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3356 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3357 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3358 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3359 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3360 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3361 vmware_dc_volume_used   | **Optional.** Output used space instead of free. Defaults to "true".
3362 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3363 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
3364
3365
3366 **vmware-esx-dc-runtime-info**
3367
3368 Check command object for the `check_vmware_esx` plugin. Shows all runtime info for the datacenter/Vcenter.
3369
3370 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3371
3372 Name                    | Description
3373 ------------------------|--------------
3374 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3375 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3376 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3377 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3378 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3379 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3380 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3381 vmware_sessionfile      | **Optional.** Session file name enhancement.
3382 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3383 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3384 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3385 vmware_password         | **Optional.** The username's password. No value defined as default.
3386 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3387
3388
3389 **vmware-esx-dc-runtime-listvms**
3390
3391 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.
3392
3393 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3394
3395 Name                    | Description
3396 ------------------------|--------------
3397 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3398 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3399 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3400 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3401 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3402 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3403 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3404 vmware_sessionfile      | **Optional.** Session file name enhancement.
3405 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3406 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3407 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3408 vmware_password         | **Optional.** The username's password. No value defined as default.
3409 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3410 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3411 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
3412 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
3413 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3414 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.
3415
3416
3417 **vmware-esx-dc-runtime-listhost**
3418
3419 Check command object for the `check_vmware_esx` plugin. List of VMware ESX hosts and their power state.
3420
3421 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3422
3423 Name                    | Description
3424 ------------------------|--------------
3425 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3426 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3427 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3428 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3429 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3430 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3431 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3432 vmware_sessionfile      | **Optional.** Session file name enhancement.
3433 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3434 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3435 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3436 vmware_password         | **Optional.** The username's password. No value defined as default.
3437 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3438 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3439 vmware_exclude          | **Optional.** Blacklist VMware ESX hosts. No value defined as default.
3440 vmware_include          | **Optional.** Whitelist VMware ESX hosts. No value defined as default.
3441 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3442 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.
3443
3444
3445 **vmware-esx-dc-runtime-listcluster**
3446
3447 Check command object for the `check_vmware_esx` plugin. List of VMware clusters and their states.
3448
3449 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3450
3451 Name                    | Description
3452 ------------------------|--------------
3453 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3454 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3455 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3456 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3457 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3458 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3459 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3460 vmware_sessionfile      | **Optional.** Session file name enhancement.
3461 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3462 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3463 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3464 vmware_password         | **Optional.** The username's password. No value defined as default.
3465 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3466 vmware_alertonly        | **Optional.** List only alerting hosts. Important here to avoid masses of data.
3467 vmware_exclude          | **Optional.** Blacklist VMware cluster. No value defined as default.
3468 vmware_include          | **Optional.** Whitelist VMware cluster. No value defined as default.
3469 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3470 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.
3471
3472
3473 **vmware-esx-dc-runtime-issues**
3474
3475 Check command object for the `check_vmware_esx` plugin. All issues for the host.
3476
3477 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3478
3479 Name                    | Description
3480 ------------------------|--------------
3481 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3482 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3483 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3484 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3485 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3486 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3487 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3488 vmware_sessionfile      | **Optional.** Session file name enhancement.
3489 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3490 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3491 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3492 vmware_password         | **Optional.** The username's password. No value defined as default.
3493 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3494 vmware_exclude          | **Optional.** Blacklist issues. No value defined as default.
3495 vmware_include          | **Optional.** Whitelist issues. No value defined as default.
3496 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3497 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.
3498
3499
3500 **vmware-esx-dc-runtime-status**
3501
3502 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
3503
3504 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3505
3506 Name                    | Description
3507 ------------------------|--------------
3508 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3509 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3510 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3511 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3512 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3513 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3514 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3515 vmware_sessionfile      | **Optional.** Session file name enhancement.
3516 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3517 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3518 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3519 vmware_password         | **Optional.** The username's password. No value defined as default.
3520 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3521
3522
3523 **vmware-esx-dc-runtime-tools**
3524
3525 Check command object for the `check_vmware_esx` plugin. Vmware Tools status.
3526
3527 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3528
3529 Name                    | Description
3530 ------------------------|--------------
3531 vmware_datacenter       | **Required.** Datacenter/vCenter hostname.
3532 vmware_cluster          | **Optional.** ESX or ESXi clustername.
3533 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3534 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3535 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3536 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3537 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3538 vmware_sessionfile      | **Optional.** Session file name enhancement.
3539 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3540 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3541 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3542 vmware_password         | **Optional.** The username's password. No value defined as default.
3543 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3544 vmware_poweredonly      | **Optional.** List only VMs which are powered on. No value defined as default.
3545 vmware_alertonly        | **Optional.** List only alerting VMs. Important here to avoid masses of data.
3546 vmware_exclude          | **Optional.** Blacklist VMs. No value defined as default.
3547 vmware_include          | **Optional.** Whitelist VMs. No value defined as default.
3548 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3549 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.
3550 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
3551
3552
3553 **vmware-esx-soap-host-check**
3554
3555 Check command object for the `check_vmware_esx` plugin. Simple check to verify a successful connection to VMware SOAP API.
3556
3557 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3558
3559 Name                    | Description
3560 ------------------------|--------------
3561 vmware_host             | **Required.** ESX or ESXi hostname.
3562 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3563 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3564 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3565 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3566 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3567 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3568 vmware_sessionfile      | **Optional.** Session file name enhancement.
3569 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3570 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3571 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3572 vmware_password         | **Optional.** The username's password. No value defined as default.
3573 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3574
3575
3576 **vmware-esx-soap-host-uptime**
3577
3578 Check command object for the `check_vmware_esx` plugin. Displays uptime of the VMware host.
3579
3580 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3581
3582 Name                    | Description
3583 ------------------------|--------------
3584 vmware_host             | **Required.** ESX or ESXi hostname.
3585 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3586 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3587 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3588 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3589 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3590 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3591 vmware_sessionfile      | **Optional.** Session file name enhancement.
3592 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3593 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3594 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3595 vmware_password         | **Optional.** The username's password. No value defined as default.
3596 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3597
3598
3599 **vmware-esx-soap-host-cpu**
3600
3601 Check command object for the `check_vmware_esx` plugin. CPU usage in percentage.
3602
3603 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3604
3605 Name                    | Description
3606 ------------------------|--------------
3607 vmware_host             | **Required.** ESX or ESXi hostname.
3608 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3609 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3610 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3611 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3612 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3613 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3614 vmware_sessionfile      | **Optional.** Session file name enhancement.
3615 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3616 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3617 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3618 vmware_password         | **Optional.** The username's password. No value defined as default.
3619 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3620 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3621 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3622
3623
3624 **vmware-esx-soap-host-cpu-ready**
3625
3626 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.
3627
3628 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3629
3630 Name                    | Description
3631 ------------------------|--------------
3632 vmware_host             | **Required.** ESX or ESXi hostname.
3633 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3634 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3635 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3636 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3637 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3638 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3639 vmware_sessionfile      | **Optional.** Session file name enhancement.
3640 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3641 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3642 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3643 vmware_password         | **Optional.** The username's password. No value defined as default.
3644 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3645
3646
3647 **vmware-esx-soap-host-cpu-wait**
3648
3649 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.
3650
3651 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3652
3653 Name                    | Description
3654 ------------------------|--------------
3655 vmware_host             | **Required.** ESX or ESXi hostname.
3656 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3657 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3658 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3659 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3660 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3661 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3662 vmware_sessionfile      | **Optional.** Session file name enhancement.
3663 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3664 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3665 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3666 vmware_password         | **Optional.** The username's password. No value defined as default.
3667 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3668
3669
3670 **vmware-esx-soap-host-cpu-usage**
3671
3672 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.
3673
3674 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3675
3676 Name                    | Description
3677 ------------------------|--------------
3678 vmware_host             | **Required.** ESX or ESXi hostname.
3679 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3680 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3681 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3682 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3683 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3684 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3685 vmware_sessionfile      | **Optional.** Session file name enhancement.
3686 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3687 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3688 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3689 vmware_password         | **Optional.** The username's password. No value defined as default.
3690 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3691 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3692 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3693
3694
3695 **vmware-esx-soap-host-mem**
3696
3697 Check command object for the `check_vmware_esx` plugin. All mem info(except overall and no thresholds).
3698
3699 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3700
3701 Name                    | Description
3702 ------------------------|--------------
3703 vmware_host             | **Required.** ESX or ESXi hostname.
3704 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3705 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3706 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3707 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3708 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3709 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3710 vmware_sessionfile      | **Optional.** Session file name enhancement.
3711 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3712 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3713 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3714 vmware_password         | **Optional.** The username's password. No value defined as default.
3715 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3716
3717
3718 **vmware-esx-soap-host-mem-usage**
3719
3720 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage.
3721
3722 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3723
3724 Name                    | Description
3725 ------------------------|--------------
3726 vmware_host             | **Required.** ESX or ESXi hostname.
3727 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3728 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3729 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3730 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3731 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3732 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3733 vmware_sessionfile      | **Optional.** Session file name enhancement.
3734 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3735 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3736 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3737 vmware_password         | **Optional.** The username's password. No value defined as default.
3738 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3739 vmware_warn             | **Optional.** The warning threshold in percent. Defaults to "80%".
3740 vmware_crit             | **Optional.** The critical threshold in percent. Defaults to "90%".
3741
3742
3743 **vmware-esx-soap-host-mem-consumed**
3744
3745 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.
3746
3747 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3748
3749 Name                    | Description
3750 ------------------------|--------------
3751 vmware_host             | **Required.** ESX or ESXi hostname.
3752 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3753 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3754 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3755 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3756 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3757 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3758 vmware_sessionfile      | **Optional.** Session file name enhancement.
3759 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3760 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3761 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3762 vmware_password         | **Optional.** The username's password. No value defined as default.
3763 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3764 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3765 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3766
3767
3768 **vmware-esx-soap-host-mem-swapused**
3769
3770 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.
3771
3772 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3773
3774 Name                    | Description
3775 ------------------------|--------------
3776 vmware_host             | **Required.** ESX or ESXi hostname.
3777 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3778 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3779 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3780 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3781 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3782 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3783 vmware_sessionfile      | **Optional.** Session file name enhancement.
3784 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3785 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3786 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3787 vmware_password         | **Optional.** The username's password. No value defined as default.
3788 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3789 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3790 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3791 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.
3792
3793
3794 **vmware-esx-soap-host-mem-overhead**
3795
3796 Check command object for the `check_vmware_esx` plugin. Additional mem used by VM Server in MB.
3797
3798 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3799
3800 Name                    | Description
3801 ------------------------|--------------
3802 vmware_host             | **Required.** ESX or ESXi hostname.
3803 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3804 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3805 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3806 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3807 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3808 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3809 vmware_sessionfile      | **Optional.** Session file name enhancement.
3810 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3811 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3812 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3813 vmware_password         | **Optional.** The username's password. No value defined as default.
3814 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
3815 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3816 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3817
3818
3819 **vmware-esx-soap-host-mem-memctl**
3820
3821 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.
3822
3823 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3824
3825 Name                    | Description
3826 ------------------------|--------------
3827 vmware_host             | **Required.** ESX or ESXi hostname.
3828 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3829 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3830 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3831 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3832 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3833 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3834 vmware_sessionfile      | **Optional.** Session file name enhancement.
3835 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3836 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3837 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3838 vmware_password         | **Optional.** The username's password. No value defined as default.
3839 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3840 vmware_warn             | **Optional.** The warning threshold in percent. No value defined as default.
3841 vmware_crit             | **Optional.** The critical threshold in percent. No value defined as default.
3842 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.
3843
3844
3845 **vmware-esx-soap-host-net**
3846
3847 Check command object for the `check_vmware_esx` plugin. Shows net info.
3848
3849 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3850
3851 Name                    | Description
3852 ------------------------|--------------
3853 vmware_host             | **Required.** ESX or ESXi hostname.
3854 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3855 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3856 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3857 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3858 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3859 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3860 vmware_sessionfile      | **Optional.** Session file name enhancement.
3861 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3862 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3863 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3864 vmware_password         | **Optional.** The username's password. No value defined as default.
3865 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3866 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3867 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3868
3869
3870 **vmware-esx-soap-host-net-usage**
3871
3872 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
3873
3874 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3875
3876 Name                    | Description
3877 ------------------------|--------------
3878 vmware_host             | **Required.** ESX or ESXi hostname.
3879 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3880 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3881 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3882 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3883 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3884 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3885 vmware_sessionfile      | **Optional.** Session file name enhancement.
3886 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3887 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3888 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3889 vmware_password         | **Optional.** The username's password. No value defined as default.
3890 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3891 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3892 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3893
3894
3895 **vmware-esx-soap-host-net-receive**
3896
3897 Check command object for the `check_vmware_esx` plugin. Data receive in KBps(Kilobytes per Second).
3898
3899 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3900
3901 Name                    | Description
3902 ------------------------|--------------
3903 vmware_host             | **Required.** ESX or ESXi hostname.
3904 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3905 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3906 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3907 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3908 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3909 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3910 vmware_sessionfile      | **Optional.** Session file name enhancement.
3911 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3912 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3913 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3914 vmware_password         | **Optional.** The username's password. No value defined as default.
3915 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3916 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3917 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3918
3919
3920 **vmware-esx-soap-host-net-send**
3921
3922 Check command object for the `check_vmware_esx` plugin. Data send in KBps(Kilobytes per Second).
3923
3924 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3925
3926 Name                    | Description
3927 ------------------------|--------------
3928 vmware_host             | **Required.** ESX or ESXi hostname.
3929 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3930 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3931 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3932 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3933 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3934 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3935 vmware_sessionfile      | **Optional.** Session file name enhancement.
3936 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3937 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3938 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3939 vmware_password         | **Optional.** The username's password. No value defined as default.
3940 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3941 vmware_warn             | **Optional.** The warning threshold in KBps(Kilobytes per Second). No value defined as default.
3942 vmware_crit             | **Optional.** The critical threshold in KBps(Kilobytes per Second). No value defined as default.
3943
3944
3945 **vmware-esx-soap-host-net-nic**
3946
3947 Check command object for the `check_vmware_esx` plugin. Check all active NICs.
3948
3949 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3950
3951 Name                    | Description
3952 ------------------------|--------------
3953 vmware_host             | **Required.** ESX or ESXi hostname.
3954 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3955 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3956 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3957 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3958 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3959 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3960 vmware_sessionfile      | **Optional.** Session file name enhancement.
3961 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3962 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3963 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3964 vmware_password         | **Optional.** The username's password. No value defined as default.
3965 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3966 vmware_exclude          | **Optional.** Blacklist NICs. No value defined as default.
3967 vmware_isregexp         | **Optional.** Treat blacklist expression as regexp.
3968
3969
3970 **vmware-esx-soap-host-volumes**
3971
3972 Check command object for the `check_vmware_esx` plugin. Shows all datastore volumes info.
3973
3974 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
3975
3976 Name                    | Description
3977 ------------------------|--------------
3978 vmware_host             | **Required.** ESX or ESXi hostname.
3979 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
3980 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
3981 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
3982 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
3983 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
3984 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
3985 vmware_sessionfile      | **Optional.** Session file name enhancement.
3986 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
3987 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
3988 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
3989 vmware_password         | **Optional.** The username's password. No value defined as default.
3990 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
3991 vmware_subselect        | **Optional.** Volume name to be checked the free space.
3992 vmware_gigabyte         | **Optional.** Output in GB instead of MB.
3993 vmware_usedspace        | **Optional.** Output used space instead of free. Defaults to "false".
3994 vmware_alertonly        | **Optional.** List only alerting volumes. Defaults to "false".
3995 vmware_exclude          | **Optional.** Blacklist volumes name. No value defined as default.
3996 vmware_include          | **Optional.** Whitelist volumes name. No value defined as default.
3997 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
3998 vmware_warn             | **Optional.** The warning threshold for volumes. Defaults to "80%".
3999 vmware_crit             | **Optional.** The critical threshold for volumes. Defaults to "90%".
4000 vmware_spaceleft        | **Optional.** This has to be used in conjunction with thresholds as mentioned above.
4001
4002
4003 **vmware-esx-soap-host-io**
4004
4005 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.
4006
4007 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4008
4009 Name                    | Description
4010 ------------------------|--------------
4011 vmware_host             | **Required.** ESX or ESXi hostname.
4012 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4013 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4014 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4015 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4016 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4017 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4018 vmware_sessionfile      | **Optional.** Session file name enhancement.
4019 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4020 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4021 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4022 vmware_password         | **Optional.** The username's password. No value defined as default.
4023 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4024
4025
4026 **vmware-esx-soap-host-io-aborted**
4027
4028 Check command object for the `check_vmware_esx` plugin. Number of aborted SCSI commands.
4029
4030 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4031
4032 Name                    | Description
4033 ------------------------|--------------
4034 vmware_host             | **Required.** ESX or ESXi hostname.
4035 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4036 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4037 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4038 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4039 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4040 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4041 vmware_sessionfile      | **Optional.** Session file name enhancement.
4042 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4043 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4044 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4045 vmware_password         | **Optional.** The username's password. No value defined as default.
4046 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4047 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4048 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4049
4050
4051 **vmware-esx-soap-host-io-resets**
4052
4053 Check command object for the `check_vmware_esx` plugin. Number of SCSI bus resets.
4054
4055 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4056
4057 Name                    | Description
4058 ------------------------|--------------
4059 vmware_host             | **Required.** ESX or ESXi hostname.
4060 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4061 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4062 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4063 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4064 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4065 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4066 vmware_sessionfile      | **Optional.** Session file name enhancement.
4067 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4068 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4069 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4070 vmware_password         | **Optional.** The username's password. No value defined as default.
4071 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4072 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4073 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4074
4075
4076 **vmware-esx-soap-host-io-read**
4077
4078 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
4079
4080 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4081
4082 Name                    | Description
4083 ------------------------|--------------
4084 vmware_host             | **Required.** ESX or ESXi hostname.
4085 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4086 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4087 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4088 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4089 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4090 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4091 vmware_sessionfile      | **Optional.** Session file name enhancement.
4092 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4093 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4094 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4095 vmware_password         | **Optional.** The username's password. No value defined as default.
4096 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4097 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4098 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4099
4100
4101 **vmware-esx-soap-host-io-read-latency**
4102
4103 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.
4104
4105 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4106
4107 Name                    | Description
4108 ------------------------|--------------
4109 vmware_host             | **Required.** ESX or ESXi hostname.
4110 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4111 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4112 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4113 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4114 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4115 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4116 vmware_sessionfile      | **Optional.** Session file name enhancement.
4117 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4118 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4119 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4120 vmware_password         | **Optional.** The username's password. No value defined as default.
4121 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4122 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4123 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4124
4125
4126 **vmware-esx-soap-host-io-write**
4127
4128 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
4129
4130 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4131
4132 Name                    | Description
4133 ------------------------|--------------
4134 vmware_host             | **Required.** ESX or ESXi hostname.
4135 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4136 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4137 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4138 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4139 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4140 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4141 vmware_sessionfile      | **Optional.** Session file name enhancement.
4142 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4143 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4144 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4145 vmware_password         | **Optional.** The username's password. No value defined as default.
4146 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4147 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4148 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4149
4150
4151 **vmware-esx-soap-host-io-write-latency**
4152
4153 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.
4154
4155 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4156
4157 Name                    | Description
4158 ------------------------|--------------
4159 vmware_host             | **Required.** ESX or ESXi hostname.
4160 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4161 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4162 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4163 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4164 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4165 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4166 vmware_sessionfile      | **Optional.** Session file name enhancement.
4167 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4168 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4169 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4170 vmware_password         | **Optional.** The username's password. No value defined as default.
4171 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4172 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4173 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4174
4175
4176 **vmware-esx-soap-host-io-usage**
4177
4178 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.
4179
4180 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4181
4182 Name                    | Description
4183 ------------------------|--------------
4184 vmware_host             | **Required.** ESX or ESXi hostname.
4185 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4186 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4187 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4188 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4189 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4190 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4191 vmware_sessionfile      | **Optional.** Session file name enhancement.
4192 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4193 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4194 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4195 vmware_password         | **Optional.** The username's password. No value defined as default.
4196 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4197 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4198 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4199
4200
4201 **vmware-esx-soap-host-io-kernel-latency**
4202
4203 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent by VMkernel processing each SCSI command.
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_warn             | **Optional.** The warning threshold. No value defined as default.
4223 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4224
4225
4226 **vmware-esx-soap-host-io-device-latency**
4227
4228 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) to complete a SCSI command from the physical device.
4229
4230 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4231
4232 Name                    | Description
4233 ------------------------|--------------
4234 vmware_host             | **Required.** ESX or ESXi hostname.
4235 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4236 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4237 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4238 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4239 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4240 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4241 vmware_sessionfile      | **Optional.** Session file name enhancement.
4242 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4243 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4244 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4245 vmware_password         | **Optional.** The username's password. No value defined as default.
4246 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4247 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4248 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4249
4250
4251 **vmware-esx-soap-host-io-queue-latency**
4252
4253 Check command object for the `check_vmware_esx` plugin. Average amount of time (ms) spent in the VMkernel queue.
4254
4255 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4256
4257 Name                    | Description
4258 ------------------------|--------------
4259 vmware_host             | **Required.** ESX or ESXi hostname.
4260 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4261 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4262 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4263 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4264 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4265 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4266 vmware_sessionfile      | **Optional.** Session file name enhancement.
4267 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4268 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4269 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4270 vmware_password         | **Optional.** The username's password. No value defined as default.
4271 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4272 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4273 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4274
4275
4276 **vmware-esx-soap-host-io-total-latency**
4277
4278 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.
4279
4280 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4281
4282 Name                    | Description
4283 ------------------------|--------------
4284 vmware_host             | **Required.** ESX or ESXi hostname.
4285 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4286 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4287 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4288 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4289 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4290 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4291 vmware_sessionfile      | **Optional.** Session file name enhancement.
4292 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4293 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4294 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4295 vmware_password         | **Optional.** The username's password. No value defined as default.
4296 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4297 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4298 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4299
4300
4301 **vmware-esx-soap-host-media**
4302
4303 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.
4304
4305 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4306
4307 Name                    | Description
4308 ------------------------|--------------
4309 vmware_host             | **Required.** ESX or ESXi hostname.
4310 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4311 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4312 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4313 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4314 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4315 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4316 vmware_sessionfile      | **Optional.** Session file name enhancement.
4317 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4318 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4319 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4320 vmware_password         | **Optional.** The username's password. No value defined as default.
4321 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4322 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4323 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4324 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4325 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.
4326
4327
4328 **vmware-esx-soap-host-service**
4329
4330 Check command object for the `check_vmware_esx` plugin. Shows host service info.
4331
4332 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4333
4334 Name                    | Description
4335 ------------------------|--------------
4336 vmware_host             | **Required.** ESX or ESXi hostname.
4337 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4338 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4339 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4340 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4341 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4342 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4343 vmware_sessionfile      | **Optional.** Session file name enhancement.
4344 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4345 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4346 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4347 vmware_password         | **Optional.** The username's password. No value defined as default.
4348 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4349 vmware_exclude          | **Optional.** Blacklist services name. No value defined as default.
4350 vmware_include          | **Optional.** Whitelist services name. No value defined as default.
4351 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4352 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.
4353
4354
4355 **vmware-esx-soap-host-runtime**
4356
4357 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.
4358
4359 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4360
4361 Name                    | Description
4362 ------------------------|--------------
4363 vmware_host             | **Required.** ESX or ESXi hostname.
4364 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4365 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4366 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4367 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4368 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4369 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4370 vmware_sessionfile      | **Optional.** Session file name enhancement.
4371 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4372 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4373 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4374 vmware_password         | **Optional.** The username's password. No value defined as default.
4375 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4376 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4377 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4378 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4379
4380
4381 **vmware-esx-soap-host-runtime-con**
4382
4383 Check command object for the `check_vmware_esx` plugin. Shows connection state.
4384
4385 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4386
4387 Name                    | Description
4388 ------------------------|--------------
4389 vmware_host             | **Required.** ESX or ESXi hostname.
4390 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4391 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4392 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4393 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4394 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4395 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4396 vmware_sessionfile      | **Optional.** Session file name enhancement.
4397 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4398 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4399 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4400 vmware_password         | **Optional.** The username's password. No value defined as default.
4401 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4402
4403
4404 **vmware-esx-soap-host-runtime-listvms**
4405
4406 Check command object for the `check_vmware_esx` plugin. List of VMware machines and their status.
4407
4408 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4409
4410 Name                    | Description
4411 ------------------------|--------------
4412 vmware_host             | **Required.** ESX or ESXi hostname.
4413 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4414 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4415 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4416 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4417 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4418 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4419 vmware_sessionfile      | **Optional.** Session file name enhancement.
4420 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4421 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4422 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4423 vmware_password         | **Optional.** The username's password. No value defined as default.
4424 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4425 vmware_exclude          | **Optional.** Blacklist VMs name. No value defined as default.
4426 vmware_include          | **Optional.** Whitelist VMs name. No value defined as default.
4427 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4428 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.
4429
4430
4431 **vmware-esx-soap-host-runtime-status**
4432
4433 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
4434
4435 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4436
4437 Name                    | Description
4438 ------------------------|--------------
4439 vmware_host             | **Required.** ESX or ESXi hostname.
4440 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4441 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4442 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4443 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4444 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4445 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4446 vmware_sessionfile      | **Optional.** Session file name enhancement.
4447 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4448 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4449 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4450 vmware_password         | **Optional.** The username's password. No value defined as default.
4451 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4452
4453
4454 **vmware-esx-soap-host-runtime-health**
4455
4456 Check command object for the `check_vmware_esx` plugin. Checks cpu/storage/memory/sensor status.
4457
4458 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4459
4460 Name                    | Description
4461 ------------------------|--------------
4462 vmware_host             | **Required.** ESX or ESXi hostname.
4463 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4464 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4465 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4466 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4467 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4468 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4469 vmware_sessionfile      | **Optional.** Session file name enhancement.
4470 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4471 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4472 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4473 vmware_password         | **Optional.** The username's password. No value defined as default.
4474 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4475 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4476 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4477 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4478
4479
4480 **vmware-esx-soap-host-runtime-health-listsensors**
4481
4482 Check command object for the `check_vmware_esx` plugin. List all available sensors(use for listing purpose only).
4483
4484 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4485
4486 Name                    | Description
4487 ------------------------|--------------
4488 vmware_host             | **Required.** ESX or ESXi hostname.
4489 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4490 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4491 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4492 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4493 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4494 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4495 vmware_sessionfile      | **Optional.** Session file name enhancement.
4496 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4497 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4498 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4499 vmware_password         | **Optional.** The username's password. No value defined as default.
4500 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4501 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4502 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4503 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4504
4505
4506 **vmware-esx-soap-host-runtime-health-nostoragestatus**
4507
4508 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**.
4509
4510 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4511
4512 Name                    | Description
4513 ------------------------|--------------
4514 vmware_host             | **Required.** ESX or ESXi hostname.
4515 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4516 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4517 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4518 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4519 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4520 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4521 vmware_sessionfile      | **Optional.** Session file name enhancement.
4522 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4523 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4524 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4525 vmware_password         | **Optional.** The username's password. No value defined as default.
4526 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4527 vmware_exclude          | **Optional.** Blacklist status name. No value defined as default.
4528 vmware_include          | **Optional.** Whitelist status name. No value defined as default.
4529 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4530
4531
4532 **vmware-esx-soap-host-runtime-storagehealth**
4533
4534 Check command object for the `check_vmware_esx` plugin. Local storage status check.
4535
4536 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4537
4538 Name                    | Description
4539 ------------------------|--------------
4540 vmware_host             | **Required.** ESX or ESXi hostname.
4541 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4542 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4543 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4544 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4545 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4546 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4547 vmware_sessionfile      | **Optional.** Session file name enhancement.
4548 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4549 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4550 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4551 vmware_password         | **Optional.** The username's password. No value defined as default.
4552 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4553 vmware_exclude          | **Optional.** Blacklist storage name. No value defined as default.
4554 vmware_include          | **Optional.** Whitelist storage name. No value defined as default.
4555 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4556 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.
4557
4558
4559 **vmware-esx-soap-host-runtime-temp**
4560
4561 Check command object for the `check_vmware_esx` plugin. Lists all temperature sensors.
4562
4563 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4564
4565 Name                    | Description
4566 ------------------------|--------------
4567 vmware_host             | **Required.** ESX or ESXi hostname.
4568 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4569 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4570 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4571 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4572 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4573 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4574 vmware_sessionfile      | **Optional.** Session file name enhancement.
4575 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4576 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4577 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4578 vmware_password         | **Optional.** The username's password. No value defined as default.
4579 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4580 vmware_exclude          | **Optional.** Blacklist sensor name. No value defined as default.
4581 vmware_include          | **Optional.** Whitelist sensor name. No value defined as default.
4582 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4583 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.
4584
4585
4586 **vmware-esx-soap-host-runtime-issues**
4587
4588 Check command object for the `check_vmware_esx` plugin. Lists all configuration issues for the host.
4589
4590 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4591
4592 Name                    | Description
4593 ------------------------|--------------
4594 vmware_host             | **Required.** ESX or ESXi hostname.
4595 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4596 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4597 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4598 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4599 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4600 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4601 vmware_sessionfile      | **Optional.** Session file name enhancement.
4602 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4603 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4604 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4605 vmware_password         | **Optional.** The username's password. No value defined as default.
4606 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4607 vmware_exclude          | **Optional.** Blacklist configuration issues. No value defined as default.
4608 vmware_include          | **Optional.** Whitelist configuration issues. No value defined as default.
4609 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4610 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.
4611
4612
4613 **vmware-esx-soap-host-storage**
4614
4615 Check command object for the `check_vmware_esx` plugin. Shows Host storage info.
4616
4617 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4618
4619 Name                    | Description
4620 ------------------------|--------------
4621 vmware_host             | **Required.** ESX or ESXi hostname.
4622 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4623 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4624 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4625 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4626 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4627 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4628 vmware_sessionfile      | **Optional.** Session file name enhancement.
4629 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4630 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4631 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4632 vmware_password         | **Optional.** The username's password. No value defined as default.
4633 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4634 vmware_exclude          | **Optional.** Blacklist adapters, luns and paths. No value defined as default.
4635 vmware_include          | **Optional.** Whitelist adapters, luns and paths. No value defined as default.
4636 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4637
4638
4639 **vmware-esx-soap-host-storage-adapter**
4640
4641 Check command object for the `check_vmware_esx` plugin. List host bus adapters.
4642
4643 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4644
4645 Name                    | Description
4646 ------------------------|--------------
4647 vmware_host             | **Required.** ESX or ESXi hostname.
4648 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4649 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4650 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4651 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4652 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4653 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4654 vmware_sessionfile      | **Optional.** Session file name enhancement.
4655 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4656 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4657 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4658 vmware_password         | **Optional.** The username's password. No value defined as default.
4659 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4660 vmware_exclude          | **Optional.** Blacklist adapters. No value defined as default.
4661 vmware_include          | **Optional.** Whitelist adapters. No value defined as default.
4662 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4663 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.
4664
4665
4666 **vmware-esx-soap-host-storage-lun**
4667
4668 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.
4669
4670 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4671
4672 Name                    | Description
4673 ------------------------|--------------
4674 vmware_host             | **Required.** ESX or ESXi hostname.
4675 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4676 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4677 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4678 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4679 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4680 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4681 vmware_sessionfile      | **Optional.** Session file name enhancement.
4682 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4683 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4684 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4685 vmware_password         | **Optional.** The username's password. No value defined as default.
4686 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4687 vmware_exclude          | **Optional.** Blacklist luns. No value defined as default.
4688 vmware_include          | **Optional.** Whitelist luns. No value defined as default.
4689 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4690 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.
4691
4692
4693 **vmware-esx-soap-host-storage-path**
4694
4695 Check command object for the `check_vmware_esx` plugin. List multipaths and the associated paths.
4696
4697 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4698
4699 Name                    | Description
4700 ------------------------|--------------
4701 vmware_host             | **Required.** ESX or ESXi hostname.
4702 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. In case the check is done through a Datacenter/vCenter host.
4703 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4704 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4705 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4706 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4707 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4708 vmware_sessionfile      | **Optional.** Session file name enhancement.
4709 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4710 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4711 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4712 vmware_password         | **Optional.** The username's password. No value defined as default.
4713 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4714 vmware_alertonly        | **Optional.** List only alerting units. Important here to avoid masses of data. Defaults to "false".
4715 vmware_exclude          | **Optional.** Blacklist paths. No value defined as default.
4716 vmware_include          | **Optional.** Whitelist paths. No value defined as default.
4717 vmware_isregexp         | **Optional.** Treat blacklist and whitelist expressions as regexp.
4718 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.
4719 vmware_standbyok        | **Optional.** For storage systems where a standby multipath is ok and not a warning. Defaults to false.
4720
4721
4722 **vmware-esx-soap-vm-cpu**
4723
4724 Check command object for the `check_vmware_esx` plugin. Shows all CPU usage info.
4725
4726 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4727
4728 Name                    | Description
4729 ------------------------|--------------
4730 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4731 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4732 vmware_vmname           | **Required.** Virtual machine name.
4733 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4734 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4735 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4736 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4737 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4738 vmware_sessionfile      | **Optional.** Session file name enhancement.
4739 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4740 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4741 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4742 vmware_password         | **Optional.** The username's password. No value defined as default.
4743 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4744
4745
4746
4747 **vmware-esx-soap-vm-cpu-ready**
4748
4749 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.
4750
4751 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4752
4753 Name                    | Description
4754 ------------------------|--------------
4755 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4756 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4757 vmware_vmname           | **Required.** Virtual machine name.
4758 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4759 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4760 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4761 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4762 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4763 vmware_sessionfile      | **Optional.** Session file name enhancement.
4764 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4765 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4766 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4767 vmware_password         | **Optional.** The username's password. No value defined as default.
4768 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4769 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4770 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4771
4772
4773 **vmware-esx-soap-vm-cpu-wait**
4774
4775 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.
4776
4777 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4778
4779 Name                    | Description
4780 ------------------------|--------------
4781 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4782 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4783 vmware_vmname           | **Required.** Virtual machine name.
4784 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4785 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4786 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4787 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4788 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4789 vmware_sessionfile      | **Optional.** Session file name enhancement.
4790 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4791 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4792 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4793 vmware_password         | **Optional.** The username's password. No value defined as default.
4794 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4795 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4796 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4797
4798
4799 **vmware-esx-soap-vm-cpu-usage**
4800
4801 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.
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 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4822 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4823
4824
4825 **vmware-esx-soap-vm-mem**
4826
4827 Check command object for the `check_vmware_esx` plugin. Shows all memory info, except overall.
4828
4829 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4830
4831 Name                    | Description
4832 ------------------------|--------------
4833 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4834 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4835 vmware_vmname           | **Required.** Virtual machine name.
4836 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4837 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4838 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4839 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4840 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4841 vmware_sessionfile      | **Optional.** Session file name enhancement.
4842 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4843 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4844 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4845 vmware_password         | **Optional.** The username's password. No value defined as default.
4846 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4847
4848
4849 **vmware-esx-soap-vm-mem-usage**
4850
4851 Check command object for the `check_vmware_esx` plugin. Average mem usage in percentage of configured virtual machine "physical" memory.
4852
4853 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4854
4855 Name                    | Description
4856 ------------------------|--------------
4857 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4858 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4859 vmware_vmname           | **Required.** Virtual machine name.
4860 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4861 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4862 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4863 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4864 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4865 vmware_sessionfile      | **Optional.** Session file name enhancement.
4866 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4867 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4868 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4869 vmware_password         | **Optional.** The username's password. No value defined as default.
4870 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4871 vmware_warn             | **Optional.** Warning threshold in percent. Defaults to "80%".
4872 vmware_crit             | **Optional.** Critical threshold in percent. Defaults to "90%".
4873
4874
4875 **vmware-esx-soap-vm-mem-consumed**
4876
4877 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>
4878 **vm consumed memory = memory granted -- memory saved**
4879
4880 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4881
4882 Name                    | Description
4883 ------------------------|--------------
4884 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4885 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4886 vmware_vmname           | **Required.** Virtual machine name.
4887 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4888 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4889 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4890 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4891 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4892 vmware_sessionfile      | **Optional.** Session file name enhancement.
4893 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4894 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4895 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4896 vmware_password         | **Optional.** The username's password. No value defined as default.
4897 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4898 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4899 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4900
4901
4902 **vmware-esx-soap-vm-mem-memctl**
4903
4904 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.
4905
4906 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4907
4908 Name                    | Description
4909 ------------------------|--------------
4910 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4911 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4912 vmware_vmname           | **Required.** Virtual machine name.
4913 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4914 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4915 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4916 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4917 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4918 vmware_sessionfile      | **Optional.** Session file name enhancement.
4919 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4920 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4921 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4922 vmware_password         | **Optional.** The username's password. No value defined as default.
4923 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4924 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4925 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4926
4927
4928
4929 **vmware-esx-soap-vm-net**
4930
4931 Check command object for the `check_vmware_esx` plugin. Shows net info.
4932
4933 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4934
4935 Name                    | Description
4936 ------------------------|--------------
4937 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4938 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4939 vmware_vmname           | **Required.** Virtual machine name.
4940 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4941 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4942 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4943 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4944 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4945 vmware_sessionfile      | **Optional.** Session file name enhancement.
4946 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4947 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4948 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4949 vmware_password         | **Optional.** The username's password. No value defined as default.
4950 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4951
4952
4953 **vmware-esx-soap-vm-net-usage**
4954
4955 Check command object for the `check_vmware_esx` plugin. Overall network usage in KBps(Kilobytes per Second).
4956
4957 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4958
4959 Name                    | Description
4960 ------------------------|--------------
4961 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4962 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4963 vmware_vmname           | **Required.** Virtual machine name.
4964 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4965 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4966 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4967 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4968 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4969 vmware_sessionfile      | **Optional.** Session file name enhancement.
4970 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4971 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4972 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4973 vmware_password         | **Optional.** The username's password. No value defined as default.
4974 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
4975 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
4976 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
4977
4978
4979 **vmware-esx-soap-vm-net-receive**
4980
4981 Check command object for the `check_vmware_esx` plugin. Receive in KBps(Kilobytes per Second).
4982
4983 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
4984
4985 Name                    | Description
4986 ------------------------|--------------
4987 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
4988 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
4989 vmware_vmname           | **Required.** Virtual machine name.
4990 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
4991 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
4992 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
4993 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
4994 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
4995 vmware_sessionfile      | **Optional.** Session file name enhancement.
4996 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
4997 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
4998 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
4999 vmware_password         | **Optional.** The username's password. No value defined as default.
5000 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5001 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5002 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5003
5004
5005 **vmware-esx-soap-vm-net-send**
5006
5007 Check command object for the `check_vmware_esx` plugin. Send in KBps(Kilobytes per Second).
5008
5009 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5010
5011 Name                    | Description
5012 ------------------------|--------------
5013 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5014 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5015 vmware_vmname           | **Required.** Virtual machine name.
5016 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5017 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5018 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5019 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5020 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5021 vmware_sessionfile      | **Optional.** Session file name enhancement.
5022 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5023 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5024 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5025 vmware_password         | **Optional.** The username's password. No value defined as default.
5026 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5027 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5028 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5029
5030
5031 **vmware-esx-soap-vm-io**
5032
5033 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.
5034
5035 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5036
5037 Name                    | Description
5038 ------------------------|--------------
5039 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5040 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5041 vmware_vmname           | **Required.** Virtual machine name.
5042 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5043 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5044 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5045 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5046 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5047 vmware_sessionfile      | **Optional.** Session file name enhancement.
5048 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5049 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5050 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5051 vmware_password         | **Optional.** The username's password. No value defined as default.
5052 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5053
5054
5055 **vmware-esx-soap-vm-io-read**
5056
5057 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes read from the disk each second.
5058
5059 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5060
5061 Name                    | Description
5062 ------------------------|--------------
5063 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5064 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5065 vmware_vmname           | **Required.** Virtual machine name.
5066 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5067 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5068 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5069 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5070 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5071 vmware_sessionfile      | **Optional.** Session file name enhancement.
5072 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5073 vmware_nosession        | **Optional.** No auth session - IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5074 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5075 vmware_password         | **Optional.** The username's password. No value defined as default.
5076 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5077 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5078 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5079
5080
5081 **vmware-esx-soap-vm-io-write**
5082
5083 Check command object for the `check_vmware_esx` plugin. Average number of kilobytes written to disk each second.
5084
5085 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5086
5087 Name                    | Description
5088 ------------------------|--------------
5089 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5090 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5091 vmware_vmname           | **Required.** Virtual machine name.
5092 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5093 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5094 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5095 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5096 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5097 vmware_sessionfile      | **Optional.** Session file name enhancement.
5098 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5099 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5100 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5101 vmware_password         | **Optional.** The username's password. No value defined as default.
5102 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5103 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5104 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5105
5106
5107 **vmware-esx-soap-vm-io-usage**
5108
5109 Check command object for the `check_vmware_esx` plugin. Aggregated disk I/O rate.
5110
5111 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5112
5113 Name                    | Description
5114 ------------------------|--------------
5115 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5116 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5117 vmware_vmname           | **Required.** Virtual machine name.
5118 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5119 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5120 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5121 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5122 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5123 vmware_sessionfile      | **Optional.** Session file name enhancement.
5124 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5125 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5126 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5127 vmware_password         | **Optional.** The username's password. No value defined as default.
5128 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5129 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5130 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5131
5132
5133 **vmware-esx-soap-vm-runtime**
5134
5135 Check command object for the `check_vmware_esx` plugin. Shows virtual machine runtime info.
5136
5137 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5138
5139 Name                    | Description
5140 ------------------------|--------------
5141 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5142 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5143 vmware_vmname           | **Required.** Virtual machine name.
5144 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5145 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5146 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5147 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5148 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5149 vmware_sessionfile      | **Optional.** Session file name enhancement.
5150 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5151 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5152 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5153 vmware_password         | **Optional.** The username's password. No value defined as default.
5154 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5155
5156
5157 **vmware-esx-soap-vm-runtime-con**
5158
5159 Check command object for the `check_vmware_esx` plugin. Shows the connection state.
5160
5161 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5162
5163 Name                    | Description
5164 ------------------------|--------------
5165 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5166 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5167 vmware_vmname           | **Required.** Virtual machine name.
5168 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5169 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5170 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5171 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5172 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5173 vmware_sessionfile      | **Optional.** Session file name enhancement.
5174 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5175 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5176 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5177 vmware_password         | **Optional.** The username's password. No value defined as default.
5178 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5179
5180
5181 **vmware-esx-soap-vm-runtime-powerstate**
5182
5183 Check command object for the `check_vmware_esx` plugin. Shows virtual machine power state: poweredOn, poweredOff or suspended.
5184
5185 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5186
5187 Name                    | Description
5188 ------------------------|--------------
5189 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5190 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5191 vmware_vmname           | **Required.** Virtual machine name.
5192 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5193 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5194 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5195 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5196 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5197 vmware_sessionfile      | **Optional.** Session file name enhancement.
5198 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5199 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5200 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5201 vmware_password         | **Optional.** The username's password. No value defined as default.
5202 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5203
5204
5205 **vmware-esx-soap-vm-runtime-status**
5206
5207 Check command object for the `check_vmware_esx` plugin. Overall object status (gray/green/red/yellow).
5208
5209 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5210
5211 Name                    | Description
5212 ------------------------|--------------
5213 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5214 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5215 vmware_vmname           | **Required.** Virtual machine name.
5216 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5217 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5218 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5219 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5220 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5221 vmware_sessionfile      | **Optional.** Session file name enhancement.
5222 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5223 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5224 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5225 vmware_password         | **Optional.** The username's password. No value defined as default.
5226 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5227
5228
5229 **vmware-esx-soap-vm-runtime-consoleconnections**
5230
5231 Check command object for the `check_vmware_esx` plugin. Console connections to virtual machine.
5232
5233 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5234
5235 Name                    | Description
5236 ------------------------|--------------
5237 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5238 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5239 vmware_vmname           | **Required.** Virtual machine name.
5240 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5241 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5242 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5243 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5244 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5245 vmware_sessionfile      | **Optional.** Session file name enhancement.
5246 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5247 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5248 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5249 vmware_password         | **Optional.** The username's password. No value defined as default.
5250 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5251 vmware_warn             | **Optional.** The warning threshold. No value defined as default.
5252 vmware_crit             | **Optional.** The critical threshold. No value defined as default.
5253
5254
5255 **vmware-esx-soap-vm-runtime-gueststate**
5256
5257 Check command object for the `check_vmware_esx` plugin. Guest OS status. Needs VMware Tools installed and running.
5258
5259 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5260
5261 Name                    | Description
5262 ------------------------|--------------
5263 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5264 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5265 vmware_vmname           | **Required.** Virtual machine name.
5266 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5267 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5268 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5269 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5270 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5271 vmware_sessionfile      | **Optional.** Session file name enhancement.
5272 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5273 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5274 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5275 vmware_password         | **Optional.** The username's password. No value defined as default.
5276 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5277
5278 **vmware-esx-soap-vm-runtime-tools**
5279
5280 Check command object for the `check_vmware_esx` plugin. Guest OS status. VMware tools  status.
5281
5282 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5283
5284 Name                    | Description
5285 ------------------------|--------------
5286 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5287 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5288 vmware_vmname           | **Required.** Virtual machine name.
5289 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5290 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5291 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5292 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5293 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5294 vmware_sessionfile      | **Optional.** Session file name enhancement.
5295 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5296 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5297 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5298 vmware_password         | **Optional.** The username's password. No value defined as default.
5299 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5300 vmware_openvmtools      | **Optional** Prevent CRITICAL state for installed and running Open VM Tools.
5301
5302
5303 **vmware-esx-soap-vm-runtime-issues**
5304
5305 Check command object for the `check_vmware_esx` plugin. All issues for the virtual machine.
5306
5307 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5308
5309 Name                    | Description
5310 ------------------------|--------------
5311 vmware_datacenter       | **Optional.** Datacenter/vCenter hostname. Conflicts with **vmware_host**.
5312 vmware_host             | **Optional.** ESX or ESXi hostname. Conflicts with **vmware_datacenter**.
5313 vmware_vmname           | **Required.** Virtual machine name.
5314 vmware_sslport          | **Optional.** SSL port connection. Defaults to "443".
5315 vmware_ignoreunknown    | **Optional.** Sometimes 3 (unknown) is returned from a component. But the check itself is ok. With this option the plugin will return OK (0) instead of UNKNOWN (3). Defaults to "false".
5316 vmware_ignorewarning    | **Optional.** Sometimes 2 (warning) is returned from a component. But the check itself is ok (from an operator view). With this option the plugin will return OK (0) instead of WARNING (1). Defaults to "false".
5317 vmware_timeout          | **Optional.** Seconds before plugin times out. Defaults to "90".
5318 vmware_trace            | **Optional.** Set verbosity level of vSphere API request/respond trace.
5319 vmware_sessionfile      | **Optional.** Session file name enhancement.
5320 vmware_sessionfiledir   | **Optional.** Path to store the **vmware_sessionfile** file. Defaults to "/var/spool/icinga2/tmp".
5321 vmware_nosession        | **Optional.** No auth session -- IT SHOULD BE USED FOR TESTING PURPOSES ONLY!. Defaults to "false".
5322 vmware_username         | **Optional.** The username to connect to Host or vCenter server. No value defined as default.
5323 vmware_password         | **Optional.** The username's password. No value defined as default.
5324 vmware_authfile         | **Optional.** Use auth file instead username/password to session connect. No effect if **vmware_username** and **vmware_password** are defined <br> **Authentication file content:** <br>  username=vmuser <br> password=p@ssw0rd
5325 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.
5326
5327
5328 ### Web <a id="plugin-contrib-web"></a>
5329
5330 This category includes all plugins for web-based checks.
5331
5332 #### apache-status <a id="plugin-contrib-command-apache-status"></a>
5333
5334 The [check_apache_status.pl](https://github.com/lbetz/check_apache_status) plugin
5335 uses the [/server-status](https://httpd.apache.org/docs/current/mod/mod_status.html)
5336 HTTP endpoint to monitor status metrics for the Apache webserver.
5337
5338 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5339
5340 Name                            | Description
5341 --------------------------------|----------------------------------------------------------------------------------
5342 apache_status_address           | **Optional.** Host address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5343 apache_status_port              | **Optional.** HTTP port.
5344 apache_status_uri               | **Optional.** URL to use, instead of the default (http://`apache_status_address`/server-status).
5345 apache_status_ssl               | **Optional.** Set to use SSL connection.
5346 apache_status_no_validate       | **Optional.** Skip SSL certificate validation.
5347 apache_status_username          | **Optional.** Username for basic auth.
5348 apache_status_password          | **Optional.** Password for basic auth.
5349 apache_status_timeout           | **Optional.** Timeout in seconds.
5350 apache_status_unreachable       | **Optional.** Return CRITICAL if socket timed out or http code >= 500.
5351 apache_status_warning           | **Optional.** Warning threshold (number of open slots, busy workers and idle workers that will cause a WARNING) like ':20,50,:50'.
5352 apache_status_critical          | **Optional.** Critical threshold (number of open slots, busy workers and idle workers that will cause a CRITICAL) like ':10,25,:20'.
5353
5354
5355 #### ssl_cert <a id="plugin-check-command-ssl_cert"></a>
5356
5357 The [check_ssl_cert](https://github.com/matteocorti/check_ssl_cert) plugin
5358 uses the openssl binary (and optional curl) to check a X.509 certificate.
5359
5360 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5361
5362 Name                      | Description
5363 --------------------------|--------------
5364 ssl_cert_address              | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5365 ssl_cert_port                 | **Optional.** TCP port number (default: 443).
5366 ssl_cert_file                 | **Optional.** Local file path. Works only if `ssl_cert_address` is set to "localhost".
5367 ssl_cert_warn                 | **Optional.** Minimum number of days a certificate has to be valid.
5368 ssl_cert_critical             | **Optional.** Minimum number of days a certificate has to be valid to issue a critical status.
5369 ssl_cert_cn                   | **Optional.** Pattern to match the CN of the certificate.
5370 ssl_cert_altnames             | **Optional.** Matches the pattern specified in -n with alternate
5371 ssl_cert_issuer               | **Optional.** Pattern to match the issuer of the certificate.
5372 ssl_cert_org                  | **Optional.** Pattern to match the organization of the certificate.
5373 ssl_cert_email                | **Optional.** Pattern to match the email address contained in the certificate.
5374 ssl_cert_serial               | **Optional.** Pattern to match the serial number.
5375 ssl_cert_noauth               | **Optional.** Ignore authority warnings (expiration only)
5376 ssl_cert_match_host           | **Optional.** Match CN with the host name.
5377 ssl_cert_selfsigned           | **Optional.** Allow self-signed certificate.
5378 ssl_cert_sni                  | **Optional.** Sets the TLS SNI (Server Name Indication) extension.
5379 ssl_cert_timeout              | **Optional.** Seconds before connection times out (default: 15)
5380 ssl_cert_protocol             | **Optional.** Use the specific protocol {http,smtp,pop3,imap,ftp,xmpp,irc,ldap} (default: http).
5381 ssl_cert_clientcert           | **Optional.** Use client certificate to authenticate.
5382 ssl_cert_clientpass           | **Optional.** Set passphrase for client certificate.
5383 ssl_cert_ssllabs              | **Optional.** SSL Labs assessment
5384 ssl_cert_ssllabs_nocache      | **Optional.** Forces a new check by SSL Labs
5385 ssl_cert_rootcert             | **Optional.** Root certificate or directory to be used for certificate validation.
5386 ssl_cert_ignore_signature     | **Optional.** Do not check if the certificate was signed with SHA1 od MD5.
5387 ssl_cert_ssl_version          | **Optional.** Force specific SSL version out of {ssl2,ssl3,tls1,tls1_1,tls1_2}.
5388 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.
5389 ssl_cert_cipher               | **Optional.** Cipher selection: force {ecdsa,rsa} authentication.
5390 ssl_cert_ignore_expiration    | **Optional.** Ignore expiration date.
5391 ssl_cert_ignore_ocsp          | **Optional.** Do not check revocation with OCSP.
5392
5393
5394 #### jmx4perl <a id="plugin-contrib-command-jmx4perl"></a>
5395
5396 The [check_jmx4perl](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl) plugin
5397 uses the HTTP API exposed by the [Jolokia](https://jolokia.org)
5398 web application and queries Java message beans on an application server. It is
5399 part of the `JMX::Jmx4Perl` Perl module which includes detailed
5400 [documentation](http://search.cpan.org/~roland/jmx4perl/scripts/check_jmx4perl).
5401
5402 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5403
5404 Name                         | Description
5405 -----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------
5406 jmx4perl_url                 | **Required.** URL to agent web application. Defaults to "http://$address$:8080/jolokia".
5407 jmx4perl_product             | **Optional.** Name of app server product (e.g. jboss), by default is uses an auto detection facility.
5408 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.
5409 jmx4perl_mbean               | **Optional.** MBean name (e.g. java.lang:type=Memory).
5410 jmx4perl_attribute           | **Optional.** Attribute name (e.g. HeapMemoryUsage).
5411 jmx4perl_operation           | **Optional.** Operation to execute.
5412 jmx4perl_value               | **Optional.** Shortcut for specifying mbean/attribute/path. Slashes within names must be escaped with backslash.
5413 jmx4perl_delta               | **Optional.** Switches on incremental mode. Optional argument are seconds used for normalizing.
5414 jmx4perl_path                | **Optional.** Inner path for extracting a single value from a complex attribute or return value (e.g. used).
5415 jmx4perl_target              | **Optional.** JSR-160 Service URL specifing the target server.
5416 jmx4perl_target_user         | **Optional.** Username to use for JSR-160 connection.
5417 jmx4perl_target_password     | **Optional.** Password to use for JSR-160 connection.
5418 jmx4perl_proxy               | **Optional.** Proxy to use.
5419 jmx4perl_user                | **Optional.** User for HTTP authentication.
5420 jmx4perl_password            | **Optional.** Password for HTTP authentication.
5421 jmx4perl_name                | **Optional.** Name to use for output, by default a standard value based on the MBean and attribute will be used.
5422 jmx4perl_method              | **Optional.** HTTP method to use, either get or post. By default a method is determined automatically based on the request type.
5423 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.
5424 jmx4perl_base_mbean          | **Optional.** Base MBean name, interprets critical and warning values as relative in the range 0 .. 100%. Requires "jmx4perl_base_attribute".
5425 jmx4perl_base_attribute      | **Optional.** Base attribute for a relative check. Requires "jmx4perl_base_mbean".
5426 jmx4perl_base_path           | **Optional.** Base path for relative checks, where this path is used on the base attribute's value.
5427 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.
5428 jmx4perl_null                | **Optional.** Value which should be used in case of a null return value of an operation or attribute. Defaults to null.
5429 jmx4perl_string              | **Optional.** Force string comparison for critical and warning checks. Defaults to false.
5430 jmx4perl_numeric             | **Optional.** Force numeric comparison for critical and warning checks. Defaults to false.
5431 jmx4perl_critical            | **Optional.** Critical threshold for value.
5432 jmx4perl_warning             | **Optional.** Warning threshold for value.
5433 jmx4perl_label               | **Optional.** Label to be used for printing out the result of the check. For placeholders which can be used see the documentation.
5434 jmx4perl_perfdata            | **Optional.** Whether performance data should be omitted, which are included by default. Defaults to "on" for numeric values, to "off" for strings.
5435 jmx4perl_unknown_is_critical | **Optional.** Map UNKNOWN errors to errors with a CRITICAL status. Defaults to false.
5436 jmx4perl_timeout             | **Optional.** Seconds before plugin times out. Defaults to "15".
5437 jmx4perl_config              | **Optional.** Path to configuration file.
5438 jmx4perl_server              | **Optional.** Symbolic name of server url to use, which needs to be configured in the configuration file.
5439 jmx4perl_check               | **Optional.** Name of a check configuration as defined in the configuration file, use array if you need arguments.
5440
5441
5442 #### kdc <a id="plugin-contrib-command-kdc"></a>
5443
5444 The [check_kdc](https://exchange.nagios.org/directory/Plugins/Security/check_kdc/details) plugin
5445 uses the Kerberos `kinit` binary to monitor Kerberos 5 KDC by acquiring a ticket.
5446
5447 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5448
5449 Name            | Description
5450 ----------------|--------------------------------------------------------------------------
5451 kdc_address     | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5452 kdc_port        | **Optional** Port on which KDC runs (default 88).
5453 kdc_principal   | **Required** Principal name to authenticate as (including realm).
5454 kdc_keytab      | **Required** Keytab file containing principal's key.
5455
5456
5457 #### nginx_status <a id="plugin-contrib-command-nginx_status"></a>
5458
5459 The [check_nginx_status.pl](https://github.com/regilero/check_nginx_status) plugin
5460 uses the [/nginx_status](https://nginx.org/en/docs/http/ngx_http_stub_status_module.html)
5461 HTTP endpoint which provides metrics for monitoring Nginx.
5462
5463 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5464
5465 Name                            | Description
5466 --------------------------------|----------------------------------------------------------------------------------
5467 nginx_status_host_address       | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, `address6` otherwise.
5468 nginx_status_port               | **Optional.** the http port.
5469 nginx_status_url                | **Optional.** URL to use, instead of the default (http://`nginx_status_hostname`/nginx_status).
5470 nginx_status_servername         | **Optional.** ServerName to use if you specified an IP to match the good Virtualhost in your target.
5471 nginx_status_ssl                | **Optional.** set to use ssl connection.
5472 nginx_status_disable_sslverify          | **Optional.** set to disable SSL hostname verification.
5473 nginx_status_user               | **Optional.** Username for basic auth.
5474 nginx_status_pass               | **Optional.** Password for basic auth.
5475 nginx_status_realm              | **Optional.** Realm for basic auth.
5476 nginx_status_maxreach           | **Optional.** Number of max processes reached (since last check) that should trigger an alert.
5477 nginx_status_timeout            | **Optional.** timeout in seconds.
5478 nginx_status_warn               | **Optional.** Warning threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a WARNING) like '10000,100,200'.
5479 nginx_status_critical           | **Optional.** Critical threshold (number of active connections, ReqPerSec or ConnPerSec that will cause a CRITICAL) like '20000,200,300'.
5480
5481
5482 #### rbl <a id="plugin-contrib-command-rbl"></a>
5483
5484 The [check_rbl](https://github.com/matteocorti/check_rbl) plugin
5485 uses the `Net::DNS` Perl library to check whether your SMTP server
5486 is blacklisted.
5487
5488 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5489
5490 Name            | Description
5491 ----------------|--------------------------------------------------------------------------
5492 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.
5493 rbl_server      | **Required** List of RBL servers as an array.
5494 rbl_warning     | **Optional** Number of blacklisting servers for a warning.
5495 rbl_critical    | **Optional** Number of blacklisting servers for a critical.
5496 rbl_timeout     | **Optional** Seconds before plugin times out (default: 15).
5497
5498
5499 #### squid <a id="plugin-contrib-command-squid"></a>
5500
5501 The [check_squid](https://exchange.icinga.com/exchange/check_squid) plugin
5502 uses the `squidclient` binary to monitor a [Squid proxy](http://www.squid-cache.org).
5503
5504 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5505
5506 Name                    | Description
5507 ------------------------|----------------------------------------------------------------------------------
5508 squid_hostname          | **Optional.** The host's address. Defaults to "$address$" if the host's `address` attribute is set, "$address6$" otherwise.
5509 squid_data              | **Optional.** Data to fetch (default: Connections) available data: Connections Cache Resources Memory FileDescriptors.
5510 squid_port              | **Optional.** Port number (default: 3128).
5511 squid_user              | **Optional.** WWW user.
5512 squid_password          | **Optional.** WWW password.
5513 squid_warning           | **Optional.** Warning threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5514 squid_critical          | **Optional.** Critical threshold. See http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT for the threshold format.
5515 squid_client            | **Optional.** Path of squidclient (default: /usr/bin/squidclient).
5516 squid_timeout           | **Optional.** Seconds before plugin times out (default: 15).
5517
5518
5519 #### webinject <a id="plugin-contrib-command-webinject"></a>
5520
5521 The [check_webinject](https://labs.consol.de/de/nagios/check_webinject/index.html) plugin
5522 uses [WebInject](http://www.webinject.org/manual.html) to test web applications
5523 and web services in an automated fashion.
5524 It can be used to test individual system components that have HTTP interfaces
5525 (JSP, ASP, CGI, PHP, AJAX, Servlets, HTML Forms, XML/SOAP Web Services, REST, etc),
5526 and can be used as a test harness to create a suite of HTTP level automated functional,
5527 acceptance, and regression tests. A test harness allows you to run many test cases
5528 and collect/report your results. WebInject offers real-time results
5529 display and may also be used for monitoring system response times.
5530
5531 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5532
5533 Name                    | Description
5534 ------------------------|--------------
5535 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.
5536 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.
5537 webinject_no_output     | **Optional.** Suppresses all output to STDOUT except the results summary.
5538 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.
5539 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.
5540 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.
5541
5542 #### varnish <a id="plugin-contrib-command-varnish"></a>
5543
5544 The [check_varnish](https://github.com/varnish/varnish-nagios) plugin,
5545 also available in the [monitoring-plugins-contrib](https://packages.debian.org/sid/nagios-plugins-contrib) on debian,
5546 uses the `varnishstat` binary to monitor [varnish](https://varnish-cache.org/).
5547
5548 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5549
5550 Name                    | Description
5551 ------------------------|----------------------------------------------------------------------------------
5552 varnish_name            | **Optional.** Specify the Varnish instance name
5553 varnish_param           | **Optional.** Specify the parameter to check (see below). The default is 'ratio'.
5554 varnish_critical        | **Optional.** Set critical threshold: [@][lo:]hi
5555 varnish_warning         | **Optional.** Set warning threshold: [@][lo:]hi
5556
5557 For *varnish_param*, all items reported by varnishstat(1) are available - use the
5558 identifier listed in the left column by `varnishstat -l`.  In
5559 addition, the following parameters are available:
5560
5561 Name                    | Description
5562 ------------------------|----------------------------------------------------------------------------------
5563 uptime                  | How long the cache has been running (in seconds)
5564 ratio                   | The cache hit ratio expressed as a percentage of hits to hits + misses.  Default thresholds are 95 and 90.
5565 usage                   | Cache file usage as a percentage of the total cache space.
5566
5567 #### haproxy <a id="plugin-contrib-command-haproxy"></a>
5568
5569 The [check_haproxy](https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/blob/master/check_haproxy/check_haproxy) plugin,
5570 also available in the [monitoring-plugins-contrib](https://packages.debian.org/nagios-plugins-contrib) on debian,
5571 uses the `haproxy` csv statistics page to monitor [haproxy](http://www.haproxy.org/) response time. The plugin outputa performance data for backends sessions and statistics response time.
5572
5573 This plugin need to access the csv statistics page. You can configure it in haproxy by adding a new frontend:
5574 ```
5575 frontend stats
5576     bind 127.0.0.1:80
5577     stats enablestats
5578     stats uri /stats
5579 ```
5580
5581 The statistics page will be available at `http://127.0.0.1/stats;csv;norefresh`.
5582
5583 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5584
5585 Name                    | Description
5586 ------------------------|----------------------------------------------------------------------------------
5587 haproxy_username        | **Optional.** Username for HTTP Auth
5588 haproxy_password        | **Optional.** Password for HTTP Auth
5589 haproxy_url             | **Required.** URL of the HAProxy csv statistics page.
5590 haproxy_timeout         | **Optional.** Seconds before plugin times out (default: 10)
5591 haproxy_warning         | **Optional.** Warning request time threshold (in seconds)
5592 haproxy_critical        | **Optional.** Critical request time threshold (in seconds)
5593
5594 #### haproxy_status <a id="plugin-contrib-command-haproxy_status"></a>
5595
5596 The [check_haproxy_status](https://github.com/jonathanio/monitoring-nagios-haproxy) plugin,
5597 uses the `haproxy` statistics socket to monitor [haproxy](http://www.haproxy.org/) frontends/backends.
5598
5599 This plugin need read/write access to the statistics socket with an operator level. You can configure it in the global section of haproxy to allow icinga user to use it:
5600 ```
5601 stats socket /run/haproxy/admin.sock user haproxy group icinga mode 660 level operator
5602 ```
5603
5604 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5605
5606 Name                        | Description
5607 ----------------------------|----------------------------------------------------------------------------------
5608 haproxy\_status\_default    | **Optional.** Set/Override the defaults which will be applied to all checks (unless specifically set by --overrides).
5609 haproxy\_status\_frontends  | **Optional.** Enable checks for the frontends in HAProxy (that they're marked as OPEN and the session limits haven't been reached).
5610 haproxy\_status\_nofrontends| **Optional.** Disable checks for the frontends in HAProxy (that they're marked as OPEN and the session limits haven't been reached).
5611 haproxy\_status\_backends   | **Optional.** Enable checks for the backends in HAProxy (that they have the required quorum of servers, and that the session limits haven't been reached).
5612 haproxy\_status\_nobackends | **Optional.** Disable checks for the backends in HAProxy (that they have the required quorum of servers, and that the session limits haven't been reached).
5613 haproxy\_status\_servers    | **Optional.** Enable checks for the servers in HAProxy (that they haven't reached the limits for the sessions or for queues).
5614 haproxy\_status\_noservers  | **Optional.** Disable checks for the servers in HAProxy (that they haven't reached the limits for the sessions or for queues).
5615 haproxy\_status\_overrides  | **Optional.** Override the defaults for a particular frontend or backend, in the form {name}:{override}, where {override} is the same format as --defaults above.
5616 haproxy\_status\_socket     | **Required.** Path to the socket check_haproxy should connect to
5617
5618 #### phpfpm_status <a id="plugin-contrib-command-phpfpm_status"></a>
5619
5620 The [check_phpfpm_status](http://github.com/regilero/check_phpfpm_status) plugin,
5621 uses the `php-fpm` status page to monitor php-fpm.
5622
5623 Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
5624
5625 Name                      | Description
5626 --------------------------|----------------------------------------------------------------------------------
5627 phpfpm\_status\_hostname  | **Required.** name or IP address of host to check
5628 phpfpm\_status\_port      | **Optional.** Http port, or Fastcgi port when using --fastcgi
5629 phpfpm\_status\_url       | **Optional.** Specific URL (only the path part of it in fact) to use, instead of the default /fpm-status
5630 phpfpm\_status\_servername| **Optional.** ServerName, (host header of HTTP request) use it if you specified an IP in -H to match the good Virtualhost in your target
5631 phpfpm\_status\_fastcgi   | **Optional.** If set, connect directly to php-fpm via network or local socket, using fastcgi protocol instead of HTTP.
5632 phpfpm\_status\_user      | **Optional.** Username for basic auth
5633 phpfpm\_status\_pass      | **Optional.** Password for basic auth
5634 phpfpm\_status\_realm     | **Optional.** Realm for basic auth
5635 phpfpm\_status\_debug     | **Optional.** If set, debug mode (show http request response)
5636 phpfpm\_status\_timeout   | **Optional.** timeout in seconds (Default: 15)
5637 phpfpm\_status\_ssl       | **Optional.** Wether we should use HTTPS instead of HTTP. Note that you can give some extra parameters to this settings. Default value is 'TLSv1' but you could use things like 'TLSv1_1' or 'TLSV1_2' (or even 'SSLv23:!SSLv2:!SSLv3' for old stuff).
5638 phpfpm\_status\_verifyssl | **Optional.** If set, verify certificate and hostname from ssl cert, default is 0 (no security), set it to 1 to really make SSL peer name and certificater checks.
5639 phpfpm\_status\_cacert    | **Optional.** Full path to the cacert.pem certificate authority used to verify ssl certificates (use with --verifyssl). if not given the cacert from Mozilla::CA cpan plugin will be used.
5640 phpfpm\_status\_warn      | **Optional.** MIN_AVAILABLE_PROCESSES,PROC_MAX_REACHED,QUEUE_MAX_REACHED number of available workers, or max states reached that will cause a warning. -1 for no warning
5641 phpfpm\_status\_critical  | **Optional.** MIN_AVAILABLE_PROCESSES,PROC_MAX_REACHED,QUEUE_MAX_REACHED number of available workers, or max states reached that will cause an error, -1 for no CRITICAL