I´ve installed the newly great x509 module. Is there any check_command, which I could use the old way round? I´ve checked the documentation, but didn´t find any check_command, which I could use at the service definition. I´m not using icinga director till now because we´ve got many hosts and services, which were created the old / classic way (= conf files).
Just a note: The Vagrant boxes use snapshot packages which is why the CheckCommand already is available inside the Director/ITL. Adding it manually e.g. in global-templates/commands.conf with 2.10 doesn’t hurt. If you’re using the Director, add it, restart Icinga 2 and re-run the kickstart wizard to see it under Commands > External Commands.
Thanks, I could set the object command, but it seems to be a further problem to execute this command:
ERROR: Cannot read enabled modules. Config directory “/etc/icingaweb2” is not readable
icingaweb2 is set to apache:icingaweb2 and read access is granted. Does icingacli run with a different user? The x509 module is available at enabledModules and modules with config.ini placed. So I don´t know, why this error occurs.