Page 1 of 1

NLS 2 - Pinned queries that have been deactivated

Posted: Thu Feb 22, 2018 9:52 am
by vAJ
Finally pushed through an upgrade of our production instance to 2.0.2.

Our teams make heavy use of pinned queries and the ability to active/deactivate them in a given dashboard (worked well in 1.4).

In v2, we see all of the pinned queries and the ones that were previously activated, but once they are deactivated, there seems to be nothing that we can do with them. We can't remove them, reactivate or otherwise.

This is causing some major heartburn this morning and unfortunately, something I didn't catch in testing.

Re: NLS 2 - Pinned queries that have been deactivated

Posted: Thu Feb 22, 2018 10:26 am
by scottwilkerson
Stop for a second reach for some tums, and I'm going to give you a fix for this bug you just uncovered :D

upzip the attached module and grab the module.php file and place it in

Code: Select all

/var/www/html/nagioslogserver/www/app/panels/query/
You may need to clear that from your browsers cache but it will fix the issue. Thanks for the report.

This will be rolled out in the next release.

Re: NLS 2 - Pinned queries that have been deactivated

Posted: Thu Feb 22, 2018 10:46 am
by vAJ
I love it when that happens ;)

Re: NLS 2 - Pinned queries that have been deactivated

Posted: Thu Feb 22, 2018 10:50 am
by vAJ
Confirmed fix. Lock it up.

Re: NLS 2 - Pinned queries that have been deactivated

Posted: Thu Feb 22, 2018 4:07 pm
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!