Environment:
- CentOS 7
- check_mk 1.2.4p5
- omd-1.20
In the check_mk web page you can see a lot of messages like this in each "Check_MK inventory" check.
(Return code of 5 is out of bounds)
and if you issue the check_mk command you get
Cannot read file /omd/sites/prod/share/check_mk/modules/check_mk_base.py: 'frozenset' object is not callable
My solution was:
cp /omd/versions/1.20/lib/python/hashlib.py /omd/versions/1.20/lib/python/hashlib.py.OLD
cp /usr/lib64/python2.7/hashlib.py /omd/versions/1.20/lib/python/hashlib.py
I had the same problem. Thanks for the solution
ReplyDeleteYou are welcome.
ReplyDeleteWorked for me too. Woot!
ReplyDeleteYou also have to remove hashlib.pyc to remove the compiled version
ReplyDelete