Zero Totals in Search Results
Zero Totals in Search Results
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?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Zero Totals in Search Results
What version of nagios are you presently using? As far as I know, this is not a known or expected bug.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Zero Totals in Search Results
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.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Zero Totals in Search Results
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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Zero Totals in Search Results
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
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.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Zero Totals in Search Results
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
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
My installation is using the open-source software, not the Xi product, so there is no database here.
Re: Zero Totals in Search Results
Sounds like a bug. You may want to report it at: http://tracker.nagios.orgpdugas 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.