From 0dd1b32aa8a32b6d2ce09287ca373e126072c514 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Mon, 14 Mar 2022 22:34:18 +0100 Subject: [PATCH] v0.88 --- opnsense_checkmk_agent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opnsense_checkmk_agent.py b/opnsense_checkmk_agent.py index da74aed..cee1ae8 100644 --- a/opnsense_checkmk_agent.py +++ b/opnsense_checkmk_agent.py @@ -22,7 +22,7 @@ ## copy to /usr/local/etc/rc.syshook.d/start/99-checkmk_agent and chmod +x ## -__VERSION__ = "0.87" +__VERSION__ = "0.88" import sys import os @@ -364,7 +364,7 @@ class checkmk_checker(object): _ret = ["<<>>"] _dmsg = self._run_prog("dmesg",timeout=10) if _dmsg.lower().find("hypervisor:") > -1: - _ret.append('{{"cmk/device_type":"vm"}}') + _ret.append('{"cmk/device_type":"vm"}') return _ret def check_net(self):