mirror of
https://github.com/bashclub/check-opnsense.git
synced 2026-03-19 14:21:44 +01:00
fix business edition expiry
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user