This commit is contained in:
Thorsten Spille 2022-03-14 22:34:18 +01:00 committed by GitHub
parent 0ae17445a6
commit 0dd1b32aa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = ["<<<labels:sep(0)>>>"]
_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):