Icinga Web no hosts/services showing up
Please check the whether the web user has access to view the hosts/services that you've added. This can be set using the Icinga roles. For icinga2 have a look at /etc/icingaweb2/roles.ini
. The link has more information.
For icinga classic web locate cgi.cgi
inside icinga web root and add the new user to authorized_for_*
directives wherever you want to allow the user access.
Related videos on Youtube
Andrew
Updated on September 18, 2022Comments
-
Andrew almost 2 years
After a fresh install of icinga 1.8 and icinga web I've added a few hosts/services and restarted the icinga service. Next I cleared the cache in icinga web through the web interface by clicking on admin at the top of the screen and clear cache. then reloaded the icinga-web interface and the newly added host/services were not displayed.
The icinga logs do not show any issues, I've also run
/etc/init.d/icinga showerrors
and no errors or warnings displayed.I've searched everywhere for a solution and I've read all the documentation from icinga but haven't found any references to this issue anywhere.
-
bortzmeyer over 11 yearsI raised the question on the IRC channel and the first questions are "Do you use ido2db?" "If so, is the database running?" "If so, are new hosts appearing in the database?"
-
dnsmichi over 11 yearsthere's a dedicated wiki page to cover most of the things you can and should do in such cases. wiki.icinga.org/display/testing/Icinga+Web+Testing
-
Jak about 11 yearsJust for completeness I had a similar issue and found the solution here: serverfault.com/questions/334070/…
-
Jesse Adelman about 7 yearsPossible duplicate of Icinga-web doesn't update when i change configuration
-