mirror of
https://github.com/bashclub/check-opnsense.git
synced 2026-05-01 16:32:14 +02:00
Update opnsense_checkmk_agent.py
Bugfixes
This commit is contained in:
@@ -541,7 +541,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};60:;30:; Licence Expire: {_date}']
|
||||
return []
|
||||
|
||||
def check_label(self):
|
||||
|
||||
Reference in New Issue
Block a user