Page 1 of 1

Missing dashboards and filters after manual install

Posted: Fri Dec 06, 2024 2:12 pm
by sfarrell
I did find an old post where it was said if you server was in SELinux enforcing this could cause a problems with dashboards installing properly. This is probably what happened... However, where can i get and install the default dashboards and filters/queries?


Thanks

Re: Missing dashboards and filters after manual install

Posted: Fri Dec 06, 2024 3:38 pm
by gwesterman
Hi @sfarrell,

I believe the default dashboards should be in /var/www/html/nagioslogserver/application/dashboards and the default queries should be in /var/www/html/nagioslogserver/application/queries. They are in json files that you should be able to import (as a dashboard or a query, respectively). If you have an NLS with these defaults, you could also export and import them between servers.

Let us know if you run into any issues or if this works for you.

Thank you!

Re: Missing dashboards and filters after manual install

Posted: Fri Dec 06, 2024 4:08 pm
by sfarrell
Thanks for you response. I was able to find the dashboards and queries and import the dashboards. However, I am unable to locate how to import the queries. Can you assist on that?


R/

Re: Missing dashboards and filters after manual install

Posted: Wed Dec 11, 2024 5:38 pm
by gwesterman
Hi @sfarrell,

On the dashboard page, there is magnifying glass icon in the top right. Click this to open the Manage Queries dialog. Within this dialog, there is the option to Import queries via a button right above the available queries table.

Hope this helps.

Thank you!

Re: Missing dashboards and filters after manual install

Posted: Thu Jan 02, 2025 1:03 am
by bugmenot
If you're still facing issues, ensure SELinux is set to permissive mode temporarily while troubleshooting. For importing queries, the steps shared by @gwesterman should work well. If you encounter any further issues, double-check the JSON file format or permissions on the server.

Re: Missing dashboards and filters after manual install

Posted: Thu Jan 02, 2025 2:42 pm
by jmichaelson
And assuming that you're not running the browser on the same system as the Nagios Log Server, you'll have to get the files from your Log Server system to the system you're browsing from.

As an aside, you mentioned SELinux. Assuming you haven't resolved the problem, are you running on a system with SELinux enabled?