Page 2 of 4

Re: XI reporting not working properly

Posted: Wed Jun 04, 2014 1:44 pm
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.

Re: XI reporting not working properly

Posted: Wed Jun 04, 2014 1:47 pm
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.

Re: XI reporting not working properly

Posted: Wed Jun 04, 2014 4:19 pm
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?

Re: XI reporting not working properly

Posted: Thu Jun 05, 2014 12:14 am
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.

Re: XI reporting not working properly

Posted: Thu Jun 05, 2014 12:20 am
by anil_kumarv
---- Snip ---

Re: XI reporting not working properly

Posted: Thu Jun 05, 2014 11:24 am
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.

Re: XI reporting not working properly

Posted: Fri Jun 06, 2014 12:00 am
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 ..?

Re: XI reporting not working properly

Posted: Fri Jun 06, 2014 2:02 am
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 ..?

Re: XI reporting not working properly

Posted: Fri Jun 06, 2014 1:42 pm
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.

Re: XI reporting not working properly

Posted: Sun Jun 08, 2014 11:42 pm
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.