While modifying our custom Dashlets, I've been referring to the Hostgroup Summary and Servicegroup Summary dashlets included in Fusion 4.1.5. I've noticed the following behavior while adding to Dashboard.
Hostgroup Summary Dashlet Select a server, the Hostgroup drop-down menu is then populated with all hostgroups from the selected server, regardless if the hostgroup is empty or has network elements associated with it.
Servicegroup Summary Dashlet Select a server, the Servicegroup drop-down menu is ONLY populated with a servicegroup from the selected server if the servicegroup has one or more network elements associated with it. If the servicegroup is empty, the drop down menu does not provide any listing.
Perhaps you can lend some insight into what allows the Hostgroup Summary Dashlet to populate the dropdown menu with all available hostgroups (regardless of count) so that I may populate all Servicegroups in a similar fashion?
Thanks in advance.
Hostgroup vs. Servicegroup Summary Dashlet
Hostgroup vs. Servicegroup Summary Dashlet
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Hostgroup vs. Servicegroup Summary Dashlet
Hi, @TBT. Thanks for pointing this out! I confirmed and filed an internal bug report.
As far as attempting to change the servicegroup_summary dashlet, you may take a look at the source code in this folder:
As far as attempting to change the servicegroup_summary dashlet, you may take a look at the source code in this folder:
And compare it to:/usr/local/nagiosfusion/html/includes/dashlets/servicegroup_summary/
/usr/local/nagiosfusion/html/includes/dashlets/hostgroup_summary/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Hostgroup vs. Servicegroup Summary Dashlet
Once a fix is in place, can we make arrangements to get a copy of the Dashlet, rather than waiting for the next Fusion release?npolovenko wrote:Hi, @TBT. Thanks for pointing this out! I confirmed and filed an internal bug report.
As far as attempting to change the servicegroup_summary dashlet, you may take a look at the source code in this folder:And compare it to:/usr/local/nagiosfusion/html/includes/dashlets/servicegroup_summary//usr/local/nagiosfusion/html/includes/dashlets/hostgroup_summary/
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Hostgroup vs. Servicegroup Summary Dashlet
@TBT, Sure. I don't have the ETA at this point. But feel free to PM me after some time(a month or two) and If the devs will release a fix I'll share it with you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Hostgroup vs. Servicegroup Summary Dashlet
Nothing really stood-out while comparing the suggested servicegroup_summary vs hostgroup_summary, do you have an additional suggestions?
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hostgroup vs. Servicegroup Summary Dashlet
I looked into this a little and it is not a problem with the dashlet, but the polling, it will take a deeper dive to figure out why the polling isn't grabbing empty service groups.TBT wrote:Nothing really stood-out while comparing the suggested servicegroup_summary vs hostgroup_summary, do you have an additional suggestions?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hostgroup vs. Servicegroup Summary Dashlet
I wanted to come back and let you know what was found. The problem is actually an XI issue, which will be in 5.5.6 when released (I just missed our cutoff for 5.5.5)
However, if you extract the attachment and place it in /usr/local/nagiosxi/html/db/queries.inc.php on your XI servers, it should resolve the issue.
However, if you extract the attachment and place it in /usr/local/nagiosxi/html/db/queries.inc.php on your XI servers, it should resolve the issue.
You do not have the required permissions to view the files attached to this post.
Re: Hostgroup vs. Servicegroup Summary Dashlet
I currently have a few XI 5.4.13 hosts in production, is this fix only applicable to 5.5.x?scottwilkerson wrote:I wanted to come back and let you know what was found. The problem is actually an XI issue, which will be in 5.5.6 when released (I just missed our cutoff for 5.5.5)
However, if you extract the attachment and place it in /usr/local/nagiosxi/html/db/queries.inc.php on your XI servers, it should resolve the issue.
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Hostgroup vs. Servicegroup Summary Dashlet
There shouldn't be any problem adding this to 5.4.13 and I believe it will still resolve the issue.
The issue was a very slight difference in the queries for servicegroup members that didn't return them if empty, when it should have like the hostgroup members queries did.
The issue was a very slight difference in the queries for servicegroup members that didn't return them if empty, when it should have like the hostgroup members queries did.
Re: Hostgroup vs. Servicegroup Summary Dashlet
I will give it a try in DEV and report back.
Nagios XI 5.9.1 (8 Servers)
Nagios Fusion 2024R1.0.2
Nagios Fusion 2024R1.0.2