in icingaweb2 the module responsible for monitoring is either “monitoring” or icingadb.
in one or both of these modules there is a configuration page for a transport layer.
there you have to fill out a icinga2 api user
here are some useful links:
I have this problem in my web interface, as in the title - both when I click Check now and when I try to open the Source tab, where I see the following stack trace:
Can't send external Icinga command: 401 Unauthorized. Please check your user credentials.
#0 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/Command/Transport/ApiCommandTransport.php(301): Icinga\Module\Icingadb\Command\Transport\ApiCommandTransport->sendCommand()
#1 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/C…
https://icinga.com/docs/icinga-web/latest/modules/monitoring/doc/05-Command-Transports/
Hello everyone, couldn’t find anything about this issue so I gotta ask.
When I use the “Check Now” in the Icinga Web 2 Interface with Icinga DB I get this error:
No command transports have been configured in "/etc/icingaweb2/modules/icingadb/commandtransports.ini".
But when I go to the terminal to check the file out it does not even exist. So I don’t really have anything else to show you. Sorry about that. There is only a config.ini which states the resource.