mirror of
https://github.com/bashclub/check-opnsense.git
synced 2026-05-21 16:30:30 +02:00
Fix formatting in business licence expiration message
This commit is contained in:
@@ -540,7 +540,7 @@ class checkmk_checker(object):
|
|||||||
if self._info.get("business_expire"):
|
if self._info.get("business_expire"):
|
||||||
_days = (self._info.get("business_expire") - datetime.now()).days
|
_days = (self._info.get("business_expire") - datetime.now()).days
|
||||||
_date = self._info.get("business_expire").strftime("%d.%m.%Y")
|
_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 []
|
return []
|
||||||
|
|
||||||
def check_label(self):
|
def check_label(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user