Hello all,
First time posting. Been using Zabbix for over a year. Thank you for such a great piece of software!
I am trying to setup Zabbix to collect information from certain Wowza servers. I am using this code from this Github repo:
I am running Zabbix 3.0.7 on Ubuntu 14.04. I installed Zabbix via Zabbix Repo PPA.
I set everything up correctly but I'm still getting the following error in /var/log/zabbiz/zabbix_server.log and item becomes "Not Supported" thereafter:
This is what I checked to make sure that the file is there and is able to run:
1) Check ownership/permissions:
(Same ownership on root dir as well)
2) Verify that Zabbix runs as user "zabbix"
3) Confirm that script runs fine from SSH with 'zabbix' user:
4) Verify that /etc/zabbix/zabbix_server.conf has correct externalScripts path:
The only thing I have not tried is wrapping the Python script in a Bash script but it didn't say in the manual if that is necessary.
Can someone please help me figure this out?
Thank you for your time.
First time posting. Been using Zabbix for over a year. Thank you for such a great piece of software!
I am trying to setup Zabbix to collect information from certain Wowza servers. I am using this code from this Github repo:
I am running Zabbix 3.0.7 on Ubuntu 14.04. I installed Zabbix via Zabbix Repo PPA.
I set everything up correctly but I'm still getting the following error in /var/log/zabbiz/zabbix_server.log and item becomes "Not Supported" thereafter:
Code:
... item "WOWZA-SERVER:getWowzaInfo.py["-u","{$WOWUSER}","-p","{$WOWPASS}","-h","{HOST.CONN}","-P","8086","-a","appnum"]" became not supported: Received value [sh: 1: /usr/lib/zabbix/externalscripts/getWowzaInfo.py: not found] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
... item "WOWZA-SERVER:getWowzaInfo.py["-u","{$WOWUSER}","-p","{$WOWPASS}","-h","{HOST.CONN}","-P","8086","-a","conn"]" became not supported: Received value [sh: 1: /usr/lib/zabbix/externalscripts/getWowzaInfo.py: not found] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
This is what I checked to make sure that the file is there and is able to run:
1) Check ownership/permissions:
Code:
/usr/lib/zabbix/externalscripts# ls -l total 4 -rwxr-xr-x 1 zabbix zabbix 1719 Jan 3 00:17 getWowzaInfo.py
2) Verify that Zabbix runs as user "zabbix"
Code:
zabbix 26958 0.0 0.2 246364 10856 ? S 00:43 0:00 /usr/sbin/zabbix_server
Code:
sudo -H -u zabbix bash -c 'python /usr/lib/zabbix/externalscripts/getWowzaInfo.py -u wowzaUsername -p wowzaPassword -h xxx.xxx.xxx.xxx -a conn' 168
Code:
ExternalScripts=/usr/lib/zabbix/externalscripts
Can someone please help me figure this out?
Thank you for your time.
Comment