ImTheLucKyOne / check_mk_emcunity

Check_MK Extensions for Dell EMC Unity Storages
GNU General Public License v3.0
5 stars 8 forks source link

python path in files #5

Closed goam03 closed 6 years ago

goam03 commented 6 years ago

Hi, Executing this check in check_mk raw 1.4.0.26 under site user return an error

Could not find platform independent libraries <prefix> Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Traceback (most recent call last): File "/omd/sites/traklin/lib/python/site.py", line 73, in <module> __boot() File "/omd/sites/traklin/lib/python/site.py", line 3, in __boot import os ImportError: No module named os

After changing in files

!/usr/bin/python > #!/usr/bin/env python

The check started to work.