I am here with another problem:
My localchecks are python scripts in the folder
They are bash scripts with the name localcheck_xyz giving output with service names like Temperature, Pressure, etc.
They are working fine and can be seen on the checkmk monitoring page.
My perfometer is a python script in the folder
It looks like this:
#!/usr/bin/python def perfometer_localcheck(row, check_command, perf_data): return repr(check_command), '' perfometers['check_mk_local'] perfometer_localcheck perfometers['Temperature'] perfometer_localcheck perfometers['Pressure'] perfometer_localcheck perfometers['check_mk_local.Pressure'] perfometer_localcheck
You see, I have tried different name-snippets to register the perfometers.
After restarting omd (sudo omd restart) no perfometers are shown for any of the local checks.
I have also taken a look at the standard-implemented perfometers which look similar to mine.
I guess it has something to do with the registration of the snippet or checkmk not realizing to read the perfometers themselves.
Can someone offer any advice?
Any help is appreciated!
Thanks in advance!