first of, sorry if this is a copy of this thread, I wasn't sure if the intention is the same.
I'm currently using apt_check to check for critical security updates and I'd like to change the WARNING to CRITICAL if the updates are not installed after a certain amount of time, as this would indicate that the automated patch mechanism didn't work. Any idea
- if that's possible in Icinga2
- if it can be done using the Director
- or if not, how I would go about doing that.
One suggestion in the other thread was to use API + scripting. If that's the way to go, any pointers where to begin looking? I'm new to the API, aside from setting up an API user for Director.