[dev.icinga.com #14009] icinga2 merges different service checks together #4922
Labels
area/configuration
DSL, parser, compiler, error handling
area/distributed
Distributed monitoring (master, satellites, clients)
area/documentation
End-user or developer help
This issue has been migrated from Redmine: https://dev.icinga.com/issues/14009
Created by bebehei on 2017-01-13 20:47:30 +00:00
Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2017-01-14 13:03:19 +00:00 (in Redmine)
Hi,
we use icinga2 on Ubuntu 14/16.04 with deb-packages from packages.icinga2.org.
All nodes have the same packages and are connected to an icinga2-master, which syncs the CheckCommand definitions to all client-nodes.
All checks are initiated from master.
after latest upgrade[1], some of our services started flapping in our installation.
They flap twice a minute although the check_interval is set to 1m and the configured warn/crit-values defined on master are not reached.
Also all services are self-defined, only some with common names are flapping.
We had been able to hunt it down now:
In the deb-packages, there are default-configurations deployed to
/etc/icinga2/conf.d/
, where some common checks are defined. (swap
,load
...)We previously deleted these files with our script, which configures our client-nodes. But after the current upgrade, these files got installed by apt again.
And finally we've got services defined on the icinga2 client with name "swap" and on the icinga2 master with name "swap". Same name, but different objects.
And for some reasons, the check-result of the client-defined "swap" service gets reported back to the icinga2 master, too.
But the CheckCommand and warn/crit-values may be different.
How to reproduce:
/etc/icinga2/conf.d/services.conf
and change the "load"-service to execute "procs"-check instead of "load"-check.[1] Important: It's only the upgrade, I had not been able to bind it to a specific icinga2-version yet.
Attachments
Relations:
The text was updated successfully, but these errors were encountered: