XI reporting not working properly

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

Attached screenshot (first image non-filtered and second image filtered for hostgroup Artemis). Note in the first screenshot you can see hosts gs1,2,3,4 for GeoDNS services and they are part of Artemis hostgroup, but still they are not showing when I filter them for hostgroup Artemis. And the time period I select is same Last 24Hrs.
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

I tried to pull reports for other hostgroups whose hosts are there in non-filtered list. The problem is same for which ever hostgroup and Service Group you select.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: XI reporting not working properly

Post by lmiltchev »

Which of the hosts, displayed on the first page are members of the "class-artemis" hostgroup?
Note in the first screenshot you can see hosts gs1,2,3,4 for GeoDNS services and they are part of Artemis hostgroup
Did you mean "class-artemis" hostgroup? Can you show us the config?
Be sure to check out our Knowledgebase for helpful articles and solutions!
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

#cat /usr/local/nagios/etc/static/sites/--REDACTED--/hosts/servers/--REDACTED--.cfg
define host {
use generic-host
host_name --REDACTED--
alias --REDACTED--
address --REDACTED--
hostgroups --REDACTED--
contact_groups --REDACTED--
}

#cat /usr/local/nagios/etc/static/global/hostgroups/class/artemis/--REDACTED--.cfg
define hostgroup {
hostgroup_name --REDACTED--
alias --REDACTED--
# members _dummy
}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
Its similar config for rest of the gs2/3/4 hosts except change in host name and address.
Last edited by scottwilkerson on Tue Jan 27, 2015 4:58 pm, edited 1 time in total.
Reason: remove sensitive info
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

---- Snip ---
Last edited by scottwilkerson on Thu Jan 22, 2015 4:08 pm, edited 1 time in total.
Reason: security
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: XI reporting not working properly

Post by lmiltchev »

OK, I see it's not filtering properly.
Are you seeing the same behavior with different time periods, or only with "Last 24 Hours"?
Try "This Week" or "This Month" for example, and see if the filtering is going to work. This may be a bug, but I am not able to recreate it yet in house.
Be sure to check out our Knowledgebase for helpful articles and solutions!
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

Its the same problem for any timeperiod I select or any hostgroup or service group. Any idea how this will be fixed ..?
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

Can we pull the data from NDOUtils db by running some query. Like Top Alert producers for a specific hostgroup for the last week. Something like that ..?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: XI reporting not working properly

Post by slansing »

Are you seeing the same problem in Core?
Edit: http://addr.of.xi.server/nagios

I'm trying to reproduce this right now. Did you push those max_age limits out beyond 1 day? If so, I'd set it to 3 days for testing and see if that helps the situation.
anil_kumarv
Posts: 50
Joined: Thu Oct 17, 2013 2:00 am

Re: XI reporting not working properly

Post by anil_kumarv »

I'm getting the following error when trying to access the core http://---- Snip ---/nagioscore
--------------------------------------------------------------------------------------------------------------------------
Not Found

The requested URL /nagioscore was not found on this server.

Apache/2.2.15 (CentOS) Server at ---- Snip --- Port 80
--------------------------------------------------------------------------------------------------------------------------

I bumped the max_age values to 7 last week for testing.
Last edited by scottwilkerson on Thu Jan 22, 2015 4:09 pm, edited 1 time in total.
Reason: security
Locked