Applying commands/command template to hosts, e.g., check_https or check_http --ssl

Just installed Director and I just can’t find how to do some basic things such as a check for a URL with a custom port, e.g., 8443, and SSL is reachable. This was pretty easy outside of Director. I also want to exclude this error: DISK CRITICAL - /run/user/xxx/doc is not accessible: Permission denied (xxx happens to be my Unix user ID in /etc/passwd)

I’ve tried adding commands in Director → Commands → Command Templates and Director → Commands → Commands but then don’t know what to do with them.

And where would the check_https option be? Why doesn’t “Add new Icinga Service template” have check_https as an option?

  • Director version (System - About): 1.8.1
  • Icinga Web 2 version and modules (System - About): 2.9.3
  • Icinga 2 version (icinga2 --version):
icinga2 - The Icinga 2 network monitoring daemon (version: 2.13.1-1)

Copyright (c) 2012-2021 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
  Platform: Fedora
  Platform version: 34 (Server Edition)
  Kernel: Linux
  Kernel version: 5.13.19-200.fc34.x86_64
  Architecture: x86_64

Build information:
  Compiler: GNU 11.2.1
  Build host: unknown
  OpenSSL version: OpenSSL 1.1.1l  FIPS 24 Aug 2021

Application information:

General paths:
  Config directory: /etc/icinga2
  Data directory: /var/lib/icinga2
  Log directory: /var/log/icinga2
  Cache directory: /var/cache/icinga2
  Spool directory: /var/spool/icinga2
  Run directory: /run/icinga2

Old paths (deprecated):
  Installation root: /usr
  Sysconf directory: /etc
  Run directory (base): /run
  Local state directory: /var

Internal paths:
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid
  • Operating System and version: Fedora 34
  • Webserver, PHP versions: Apache, PHP 7.4.24