Hi,
I have a bunch of cpanel server where I am trying to install the icinga2 agent. I have done this before using the director script without any issues. However on these servers where I have just taken over monitoring, it just fails without any log.
Trying to troubleshoot, I am doing it manually, but the node wizard fails the same place.
I am running this as root.
/home/etma ❯ icinga2 node wizard
Welcome to the Icinga 2 Setup Wizard!We will guide you through all required configuration details.
Please specify if this is an agent/satellite setup (‘n’ installs a master setup) [Y/n]: y
Starting the Agent/Satellite setup routine…
Please specify the common name (CN) [server.localdomain]:
Please specify the parent endpoint(s) (master or satellite) where this node should connect to:
Master/Satellite Common Name (CN from your master/satellite node): [FQDN for server] (cannot input links because I am a new member)Do you want to establish a connection to the parent node from this node? [Y/n]: y
Please specify the master/satellite connection information:
Master/Satellite endpoint host (IP address or FQDN): [FQDN for server]
Master/Satellite endpoint port [5665]:Add more master/satellite endpoints? [y/N]: n
critical/cli: Failed to create new self-signed certificate for CN ‘server.localdomain’. Please try again.I have also tried with a FQDN where the DNS points to this server. Same issue.
There are no logs being created anywhere, not in cwd, /var/logs/ or /var/logs/icinga2.
Can this be some missing dependencies that are not marked or maybe some wrong versions of a dependency?
This is the output of icinga2 --version
/home/etma ❯ icinga2 --version
icinga2 - The Icinga 2 network monitoring daemon (version: 2.11.0-1)Copyright (c) 2012-2019 Icinga GmbH ([link omitted])
License GPLv2+: GNU GPL version 2 or later http://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: CentOS Linux
Platform version: 7 (Core)
Kernel: Linux
Kernel version: 3.10.0-229.14.1.el7.centos.onapp.x86_64
Architecture: x86_64Build information:
Compiler: GNU 4.8.5
Build host: runner-LTrJQZ9N-project-322-concurrent-0Application 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/icinga2Old paths (deprecated):
Installation root: /usr
Sysconf directory: /etc
Run directory (base): /run
Local state directory: /varInternal 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
Please let me know if you need anything else in order to help.