fix business edition expiry

This commit is contained in:
Thorsten Spille
2026-01-03 23:11:23 +01:00
committed by GitHub
parent b0415ab57f
commit 4bc6dce6fe
2 changed files with 1 additions and 2615 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -540,7 +540,7 @@ class checkmk_checker(object):
if self._info.get("business_expire"):
_days = (self._info.get("business_expire") - datetime.now()).days
_date = self._info.get("business_expire").strftime("%d.%m.%Y")
return [f'P "Business Licence" expiredays={_days};;;30;60; Licence Expire: {_date}']
return [f'P "Business Licence" expiredays={_days};30;60; Licence Expire: {_date}']
return []
def check_label(self):