document macro for hostname
This commit is contained in:
@@ -246,6 +246,11 @@ icinga2::custom_service:
|
||||
|
||||
Possible commands are [`http`](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#plugin-check-command-http), [`tcp`](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#plugin-check-command-tcp), [`udp`](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#plugin-check-command-udp), [`ssl`](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#plugin-check-command-ssl), [`ssh`](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#plugin-check-command-ssh) or [`ftp`](https://icinga.com/docs/icinga-2/latest/doc/10-icinga-template-library/#plugin-check-command-ftp).
|
||||
|
||||
Note if you want to reference the hostname, you might use a macro, e.g.:
|
||||
```
|
||||
http_vhost: '$host.name$'
|
||||
```
|
||||
|
||||
The actual service name is up to you, it only needs to be unique.
|
||||
|
||||
### Other Custom Checks
|
||||
|
||||
Reference in New Issue
Block a user