Open thatsk opened 3 years ago
At the moment this module can only be used to register nodes into icinga-director by querying Consul for its list of nodes. See [1] slides 33-39.
In its current state it cant be used to register consul checks, however i find your request interesting. I know consul and icinga (by design) checks give the same meaning to their exit codes. I have used icinga checks as the input for consul checks but never the otherway round
[1] https://www.slideshare.net/attachmentgenie/integrating-icinga2-and-the-hashicorp-suite-175475187
I just found your slides on nomad blog but don't find properconfiguration if it's possible can you provide some screenshots or instructions to do it
On Wed, 28 Apr, 2021, 1:10 am Bram Vogelaar, @.***> wrote:
At the moment this module can only be used to register nodes into icinga-director by querying Consul for a given service (e.g all nodes the have the node_exporter service registered)
In its current state it cant be used to register consul checks, however i find your request interesting. I know consul and icinga (by design) checks give the same meaning to their exit codes. I have used icinga checks as the input for consul checks but never the otherway round
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/attachmentgenie/icingaweb2-module-consul/issues/1#issuecomment-827869824, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADU5G3JPEQMAPUC6HOL5IULTK4HMFANCNFSM43SHVU5Q .
I am jjst getting registered nodes list from consulbut didn't find any instructions to configure any service checks using this module
I wish if you provide some guides to configured that will be very helpful to test it
i see what i can whip up, to document this module better. But to reiterate this module only offers an import source but no service functionality to icinga director. Registering service checks through icinga director is explained here [1].
[1] https://www.howtoforge.com/how-to-add-hosts-to-icinga2-using-the-icinga-director/
How to add a newly added service check which is registered in the consul? to use this module in icinga