attachmentgenie / icingaweb2-module-consul

Icinga Web 2 - Director Syncsource for Consul
2 stars 1 forks source link

need documentation #1

Open thatsk opened 3 years ago

thatsk commented 3 years ago

How to add a newly added service check which is registered in the consul? to use this module in icinga

attachmentgenie commented 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

thatsk commented 3 years ago

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 .

thatsk commented 3 years ago

I am jjst getting registered nodes list from consulbut didn't find any instructions to configure any service checks using this module

thatsk commented 3 years ago

I wish if you provide some guides to configured that will be very helpful to test it

attachmentgenie commented 3 years ago

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/