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
Missing dashboards and filters after manual install
-
gwesterman
- Posts: 268
- Joined: Wed Aug 23, 2023 11:29 am
Re: Missing dashboards and filters after manual install
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!
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
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/
R/
-
gwesterman
- Posts: 268
- Joined: Wed Aug 23, 2023 11:29 am
Re: Missing dashboards and filters after manual install
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!
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
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.
- jmichaelson
- Posts: 375
- Joined: Wed Aug 23, 2023 1:02 pm
Re: Missing dashboards and filters after manual install
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?
As an aside, you mentioned SELinux. Assuming you haven't resolved the problem, are you running on a system with SELinux enabled?
Please let us know if you have any other questions or concerns.
-Jason
-Jason