[dev.icinga.com #4240] Cronk Hostgroups: Bad number of hosts #1291
Comments
Updated by ossmon on 2013-07-16 13:05:06 +00:00 can someone reproduce it ? |
Updated by mhein on 2013-09-30 09:00:10 +00:00
|
Updated by elippmann on 2013-09-30 12:31:15 +00:00
|
Updated by elippmann on 2013-09-30 14:24:40 +00:00
Unfortunately I couldn't reproduce the problem. Could someone else please have a look at it. |
Updated by jmosshammer on 2013-09-30 14:47:53 +00:00 I can't reproduce this, too. Do you have a special setup (multiple instances, for example? ) Is the number of hosts correct if you click on the row action button and hosts? |
Updated by ossmon on 2013-10-01 07:26:14 +00:00
We don't have a special setup. Only one instance. I've tested in our 3 environments: TEST: values are multiplied by 2 When i click on the row action button and hosts, i become the right numbers of hosts, but there is also another problem: If the hosts have different status (for example UP and DOWN), a click on one status show all hosts and not only the UP or DOWN hosts. |
Updated by ossmon on 2013-10-01 09:22:33 +00:00 hi Jannis, |
Updated by ossmon on 2013-10-01 09:29:13 +00:00 i do know a reload+flush and i have for the hostgroups again in my TEST Environment double values. |
Updated by mfriedrich on 2013-10-01 09:50:20 +00:00 that sounds more like an ido2db issue to me. can you show us
and further, the debug log queries on the table icinga_hostgroup_members? |
Updated by mhein on 2013-10-01 10:03:20 +00:00
|
Updated by mhein on 2013-10-01 10:12:23 +00:00
|
Updated by mhein on 2013-10-01 10:49:13 +00:00
|
Updated by ossmon on 2013-10-01 11:09:27 +00:00
We have the default value with 0 in order that the reload is fast during the day when we are doing several changes, but we do one time per night a reload with the value set to 1 so that the db will be clean |
Updated by mfriedrich on 2013-10-01 11:27:34 +00:00 please set both to 1 again, and retry your tests. this seems related to #3022 which is obviously not fixed yet. |
Updated by mfriedrich on 2013-10-01 11:30:42 +00:00
|
Updated by ossmon on 2013-10-01 11:42:02 +00:00 I do this test:
|
Updated by mfriedrich on 2013-10-01 11:55:50 +00:00 ossmon wrote:
you're hopefully restarting ido2db once these settings are modified? |
Updated by ossmon on 2013-10-01 12:08:17 +00:00 Forget the test before (i made a mistake between value 0 and 1)
|
Updated by mfriedrich on 2013-10-01 12:12:45 +00:00 ok thanks. crap. in regards of performance - upgrade to icinga (core/idoutils) 1.9.3 (or 1.10.0 soon). i'm not sure if they actually make sense, and will probably deprecate them for being buggy/experimental. the performance config dump bottlenecks have been even more optimized in 1.9.3 - see https://www.icinga.org/2013/07/23/thanks-to-immobilienscout24/ ) in icinga2 db_ido we will clear the config tables on startup anyways btw (having that code in front of me). |
Updated by mfriedrich on 2013-10-01 12:15:01 +00:00
|
Updated by ossmon on 2013-10-01 12:24:48 +00:00 @dnsmichi: do you mean 1.9.3 or 1.9.2 (which is given in the link about immobilienscout)? |
Updated by mfriedrich on 2013-10-01 12:43:28 +00:00
hm, 1.9.3 contains a fix for pgsql so not necessarily needed and 1.9.2 is sufficient. i'll update the versions on the issue. |
Updated by mfriedrich on 2014-12-08 14:38:08 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/4240
Created by ossmon on 2013-06-03 13:19:00 +00:00
Assignee: (none)
Status: Closed (closed on 2013-10-01 12:15:01 +00:00)
Target Version: (none)
Last Update: 2014-12-08 14:38:08 +00:00 (in Redmine)
The number of hosts in the Hostgroups are not correct.
It looks as if the number was tripled
In my example, the number of hosts should be 2 and 3 (and not 6 and 9)
Attachments
Relations:
The text was updated successfully, but these errors were encountered: