i jumped in as SITE user and downloaded the .mkp file with wget. When I try to install it, I get the following error:
OMD[xx]:~/etc$ check_mk -P install sslcertificates-7.1.mkp
Traceback (most recent call last):
File "/omd/sites/xx/bin/check_mk", line 94, in <module>
exit_status = modes.call(mode_name, mode_args, opts, args)
File "/omd/sites/xx/lib/python/cmk_base/modes/__init__.py", line 72, in call
return mode.handler_function(*handler_args)
File "/omd/sites/xx/lib/python/cmk_base/modes/check_mk.py", line 626, in mode_packaging
cmk_base.packaging.do_packaging(*args)
File "/omd/sites/xx/lib/python/cmk_base/packaging.py", line 185, in do_packaging
f(args)
File "/omd/sites/xx/lib/python/cmk_base/packaging.py", line 513, in package_install
return install_package(file_name=path)
File "/omd/sites/xx/lib/python/cmk_base/packaging.py", line 517, in install_package
tar = tarfile.open(name=file_name, fileobj=file_object, mode="r:gz")
File "/omd/sites/xx/lib/python2.7/tarfile.py", line 1693, in open
return func(name, filemode, fileobj, **kwargs)
File "/omd/sites/xx/lib/python2.7/tarfile.py", line 1751, in gzopen
raise ReadError("not a gzip file")
tarfile.ReadError: not a gzip file
Because we are using the RAW version I don´t have the option to install it with WATO.
On most Linux distributions, the contents of the systemwide /tmp directory is usually deleted on reboot, either by some startup script or because it’s only a memory-based filesystem (tmpfs) anyway.
The same goes for ~/tmp in your site user’s home which is also a tmpfs by default.
You can use /var/tmp instead for files that should be kept across reboots.
This solved it for me! I don´t know where the error was but it is running fine now. Are you familiar with the plugin? I just can´t find any instructions on the web on how to setup the plugin.
As for my understanding: Do I need to use a PowerShell Script on the machines I want to check?
Hi,
on CEE you deploy the plugin with the agent bakery.
On CRE you have to copy the ps1-script to the plugin directory on your windows servers (C:\ProgramData\checkmk\agent\plugins).