Page 1 of 1
Zero Totals in Search Results
Posted: Thu Dec 19, 2013 1:44 pm
by pdugas
I have to admit that after using Nagios for a decade, I've only recently used the search box that the web interface provides. I notice that while the tabular results work as expected, the Host and Service Status Totals blocks at the top of the page are always zero. Is this a known issue or am I doing something wrong?
Re: Zero Totals in Search Results
Posted: Thu Dec 19, 2013 3:46 pm
by sreinhardt
What version of nagios are you presently using? As far as I know, this is not a known or expected bug.
Re: Zero Totals in Search Results
Posted: Thu Dec 19, 2013 4:09 pm
by pdugas
This is the nagios-3.5.1-1.el6.x86_64 package from the EPEL repository. It's a relatively current RedHat EL6-x86_64 machine.
Re: Zero Totals in Search Results
Posted: Thu Dec 19, 2013 4:24 pm
by sreinhardt
OK, so fairly current on everything, just wanted to be sure this wasn't a 3.2 or something install. With that, are you seeing the count boxes on top empty with every page, or just when searching? Is there something specifically that you can do to recreate the issue?
Re: Zero Totals in Search Results
Posted: Thu Dec 19, 2013 6:21 pm
by pdugas
Zeros for all the host and all the service total fields with any search; even when there are matches that appear in the list of hosts further down in the page. This system has over 6000 hosts currently so maybe that's the issue. It's overly large.
Re: Zero Totals in Search Results
Posted: Thu Dec 19, 2013 7:22 pm
by pdugas
Interesting. I just inadvertently left off the trailing * that I typically add when searching and got the first host that matched the search string and the totals were populated. When I search for "Foo", I get the first host that starts with "Foo" and the totals are correct. When I search for "Foo*", I get all the hosts that start with "Foo" and the totals are all zeros.
Re: Zero Totals in Search Results
Posted: Fri Dec 20, 2013 10:23 am
by slansing
Hmm, sounds like either those dashlets are not getting updated, its taking a super long time to load, or you have some DB corruption, we can take care of our corruption worries by following this:
http://assets.nagios.com/downloads/nagi ... tabase.pdf
How many services are you monitoring? Can you send us a screenshot of Admin > Monitoring Engine Status
Re: Zero Totals in Search Results
Posted: Wed Jan 08, 2014 9:15 am
by pdugas
My installation is using the open-source software, not the Xi product, so there is no database here.
Re: Zero Totals in Search Results
Posted: Wed Jan 08, 2014 11:55 am
by abrist
pdugas wrote:When I search for "Foo", I get the first host that starts with "Foo" and the totals are correct. When I search for "Foo*", I get all the hosts that start with "Foo" and the totals are all zeros.
Sounds like a bug. You may want to report it at:
http://tracker.nagios.org