ConSol-Monitoring / snclient

SNClient+ - Cross platform monitoring agent
MIT License
47 stars 9 forks source link

check_os_updates improvement #116

Open Saevar2000 opened 2 months ago

Saevar2000 commented 2 months ago

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?

sni commented 2 months ago

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

Saevar2000 commented 2 months ago

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