Report or dashboard with several query graphs

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Report or dashboard with several query graphs

Post by gormank »

I just need several bar graphs much the same as the default but all on the same page.
It looks like I can't create multiple histograms in a dashboard since when I try to add one HASH0x7ain another row and click ok, nothing is created.
If I create a column, I can put a histogram in it but can't add a query.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Report or dashboard with several query graphs

Post by benjaminsmith »

HI gormank,

Hope you are doing well. I'm going to do a little research with the team on this question and will follow up with you shortly.

Thank you for your patience.

Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
jdunitz
Posts: 235
Joined: Wed Feb 05, 2020 2:50 pm

Re: Report or dashboard with several query graphs

Post by jdunitz »

I was able to add multiple histograms side-by-side, and specify the query they use at creation time.
Are you wanting to have it so that there's a separate query field for each histogram, perhaps?

--Jeffrey
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Report or dashboard with several query graphs

Post by gormank »

The trouble must be between my ears. I've tried many times and I see no way to add a query to a new histogram and the new histogram doesn't save. It just does nothing when saved...

Add a row
Add panel to empty row, histogram, set some stuff
Save
This did create a histogram, but it uses the first query from the previous histogram, which just duplicates what's already above. There's no way to add a query to this new histogram.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Report or dashboard with several query graphs

Post by ssax »

You're adding it with this button correct?
Capture.PNG
EDIT: Actually, I see what you're saying now, you can't change anything for the queries but select pinned, unpinned, or selected.
You do not have the required permissions to view the files attached to this post.
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Report or dashboard with several query graphs

Post by gormank »

No, I'm not adding with that button because there is no button.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Report or dashboard with several query graphs

Post by scottwilkerson »

gormank wrote:...

This did create a histogram, but it uses the first query from the previous histogram, which just duplicates what's already above. There's no way to add a query to this new histogram.
If you click the gear (Configure) on the top right of a histogram panel, then the queries tab, under Charted, select "selected" which will give you a list of the queries you can select from, and those selected will be in the histogram
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Report or dashboard with several query graphs

Post by gormank »

So I can create a graph of something that's already graphed in the previous histogram. That seems pretty useless, doesn't it?
I did this but nothing shows in the new histogram graph. The query is in the query tab. I also added a table and nothing is selected in it.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Report or dashboard with several query graphs

Post by scottwilkerson »

You can add multiple queries by clicking the + next to the queries
queries.JPG
Then you edit the histogram
histogram.JPG
And select the queries you want to see
edit.JPG
gormank wrote: I also added a table and nothing is selected in it.
Now if nothing is showing in the table, that means nothing is matching the result (unless you filtered the table results down the same way you can filter the histogram down, by selecting queries), and as such, nothing would display
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Report or dashboard with several query graphs

Post by gormank »

I don't think you understand the issue. There is only one queries button and it's above the original graph/histogram. If I add queries to the original graph, why have a second (or 3rd graph)? All you're telling me is I can add new graphs of data already graphed. Can you see that that's pointless?
I have two histograms with the same query, one graphs and selects the data while the other doesn't.

Maybe you can try something. Make a copy of the default dashboard with save as. Now you have a graph and table with the query * to select all.
Go to the bottom of the page and add a row.
Click add panel to empty row.
Add a histogram.
Now add a unique query to the new histogram.
You can't can you?
Locked