mirror of
https://github.com/bashclub/check-opnsense.git
synced 2024-12-24 16:00:13 +01:00
v1.0.5
This commit is contained in:
parent
2e8ed699bb
commit
855c06415e
@ -27,7 +27,7 @@
|
||||
## * smartdisk - install the mkp from https://github.com/bashclub/checkmk-smart plugins os-smart
|
||||
## * squid - install the mkp from https://exchange.checkmk.com/p/squid and forwarder -> listen on loopback active
|
||||
|
||||
__VERSION__ = "1.0.4"
|
||||
__VERSION__ = "1.0.5"
|
||||
|
||||
import sys
|
||||
import os
|
||||
@ -70,6 +70,10 @@ LOCALDIR = os.path.join(BASEDIR,"local")
|
||||
PLUGINSDIR = os.path.join(BASEDIR,"plugins")
|
||||
SPOOLDIR = os.path.join(BASEDIR,"spool")
|
||||
|
||||
os.environ["MK_CONFDIR"] = MK_CONFDIR
|
||||
os.environ["MK_LIBDIR"] = BASEDIR
|
||||
os.environ["MK_VARDIR"] = BASEDIR
|
||||
|
||||
class object_dict(defaultdict):
|
||||
def __getattr__(self,name):
|
||||
return self[name] if name in self else ""
|
||||
|
Loading…
Reference in New Issue
Block a user