selected queries no longer selected in panel

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
CBoekhuis
Posts: 220
Joined: Tue Aug 16, 2011 4:55 am

selected queries no longer selected in panel

Post by CBoekhuis »

Hi,

while creating a new global dashboard I ran into a strange behavior regarding selected queries in a panel. Well, strange to me anyway ;) .
I created a big list of queries (one for each application) which run on multiple clusters. I then created a histogram graph panel for each cluster. To reflect which appication runs on which cluster, I set the option queries=selected in each panel and selected the queries which should be shown in that graph. Great, works like a charm.

However, more often I only want to see only a few of those queries, so I deactivated all the queries and saved the dashboard. That way I only need to activate the query I need when I load the dashboard. However, nothing is shown in the graph.

Apparently, when you deactivate a query and the panel is configured to use selected queries, the query is also deactivated in the panel. But when you activate the query you need, this will not happen in the panel (which makes sense to me). This is different from the situation where a panel is configured to use queries=all. When the option queries is set to all, you can deactivate and reactivate queries and it will reflect in the panel.

So is this a bug or an (unwanted) feature? ;)
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: selected queries no longer selected in panel

Post by cdienger »

I'll have to lab this up to better understand. Can you confirm the NLS version?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CBoekhuis
Posts: 220
Joined: Tue Aug 16, 2011 4:55 am

Re: selected queries no longer selected in panel

Post by CBoekhuis »

NLS version is 2.1.7
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: selected queries no longer selected in panel

Post by cdienger »

Thanks for pointing this out. I was able to reproduce and will file a bug for this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
CBoekhuis
Posts: 220
Joined: Tue Aug 16, 2011 4:55 am

Re: selected queries no longer selected in panel

Post by CBoekhuis »

Thanks! I'm looking forward for the fix.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: selected queries no longer selected in panel

Post by scottwilkerson »

CBoekhuis wrote:Thanks! I'm looking forward for the fix.

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked