icinga-powershell-plugins icon indicating copy to clipboard operation
icinga-powershell-plugins copied to clipboard

Feature: Icinga for windows version

Open MarcusCaepio opened this issue 3 years ago • 7 comments
trafficstars

Hi all, it would be nice to have a check, which alerts me, when a new version of Icinga for windows is available. Basically sth. like the apt check for debian/ubuntu. Could this be implemented?

Cheers, Marcus

MarcusCaepio avatar Mar 04 '22 10:03 MarcusCaepio

You might check https://packages.icinga.com/IcingaForWindows/stable/ifw.repo.json or your local synchronized repo in regular intervals via check_http or Invoke-IcingaCheckHTTPStatus?

tectumopticum avatar Mar 31 '22 09:03 tectumopticum

Basically, I sth. like the icinga check for linux, which tells me since when icinga is running and optionally a "icinga_min_version" so I get an alert, when an agent is out of date. Just to know that there is a new version is not enough. I would like to know, where the new version is not installed yet :)

MarcusCaepio avatar May 24 '22 10:05 MarcusCaepio

Hm, the "icinga"-check is also working for windows-agents. I assume, you're talking about the output "Icinga 2 has been running for 1 hour, 36 minutes and 10 seconds. Version: v2.12.3", correct?

tectumopticum avatar May 24 '22 12:05 tectumopticum

Yes. I could not find a command for the icinga check in the generated commands.conf from the agent

MarcusCaepio avatar May 24 '22 12:05 MarcusCaepio

The command is listed in the "External Commands" (in the Director). Preview:

object CheckCommand "icinga" {
    import "plugin-check-command"
    timeout = 1m
    vars.icinga_min_version = ""
}

tectumopticum avatar May 24 '22 13:05 tectumopticum

Oh nice, didn't know this also works with windows agents. But anyway, the check does not tell me, if there are new icinga-powershell-plugins / a new icinga-powershell-framework ^^ E.g. an alert that Icinga for Windows v1.9.1 has been released would be nice

MarcusCaepio avatar May 24 '22 13:05 MarcusCaepio

Just use the notification-features of github. E.g. subscribe by using the "Watch"-button and customize it for your needs. You'll receive an e-mail about all new releases etc.

tectumopticum avatar May 24 '22 13:05 tectumopticum