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