snclient icon indicating copy to clipboard operation
snclient copied to clipboard

check_os_updates improvement

Open Saevar2000 opened this issue 1 year ago • 2 comments

Can you add logic to check_os_updates (or maybe create a new one check_os_eol?) that detects when OS end-of-life date is and return warning/critical with message when the end-of-life date is if it is in x many days.

https://endoflife.date/docs/api has all the end-of-life dates needed. What do you think?

Saevar2000 avatar Apr 24 '24 10:04 Saevar2000

Sounds helpful, would you want to take a look at that check?

sni avatar Apr 24 '24 12:04 sni

I can make an attempt (I have never programmed in go before), if you don't have time for it.

Saevar2000 avatar Apr 24 '24 16:04 Saevar2000

closing this one, i'd say snclient is the wrong place for a eol check.

sni avatar Sep 25 '24 11:09 sni