-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zabbix on Centos - Errors #37
Comments
Hi, |
Hey, Yes File /opt/Zabbix-Network-Weathermap/config.py does exist. Here are ownership, permissions, etc : |
Try run weathermap from cli: |
|
When i run command from CLI i get: sudo -u zabbix /opt/Zabbix-Network-Weathermap/starter.py -m VPN.yaml Even when i try to execute command from /home/user i still get same error. When I use: i get error sudo: set: command not found |
I have no idea why it does not work, maybe this is a specific problem in centos. |
ls -la /opt/Zabbix-Network-Weathermap |
pycache owner root |
Even when i removed pycache and run sudo -u zabbix /opt/Zabbix-Network-Weathermap/starter.py -m VPN.yaml im still having same error output. Traceback (most recent call last): I dont know why he dont see config file when config.py is in there |
If you run a weathermap from the root user or self, does it work? |
I can run it as root but i get that error. If i tray as my self then i need to enter password for root. Same error output as root or myself: Traceback (most recent call last): |
Little update i managed to execute command sudo -u zabbix set PYTHONPATH=${PYTHONPATH}:/opt/Zabbix-Network-Weathermap, but in order to execute it I only needed set PYTHONPATH=${PYTHONPATH}:/opt/Zabbix-Network-Weathermap part. And now even tho i see PYTHONPATH=:/opt/Zabbix-Network-Weathermap with env command i still get same error problem ImportError: No module named 'config'. |
Hello,
Can u please help me with error that i have in Zabbix with Network Weathermap.
When i search for Zabbix server logs i get this:
error reason for "Zabbix server:weathermap.update.only[{$UPDATE}]" changed: Value "Traceback (most recent call last):
File "/opt/Zabbix-Network-Weathermap/weathermap.py", line 10, in
from config import ConfigLoader, ConfigCreate
ImportError: No module named 'config'
0.985" of type "string" is not suitable for value type "Numeric (float)"
error reason for "Zabbix server:weathermap.update.upload[{$UPLOAD}]" changed: Value "Traceback (most recent call last):
File "/opt/Zabbix-Network-Weathermap/weathermap.py", line 10, in
from config import ConfigLoader, ConfigCreate
ImportError: No module named 'config'
0.32" of type "string" is not suitable for value type "Numeric (float)"
I see the same thing when i hover over items on host where i have Weathermap template.
How can i fix this ? Thank you in advance :)
The text was updated successfully, but these errors were encountered: