I'm new to zabbix and I'm testing the UserParameter feature.
I have the following command on both linux(Centos 6) and solaris:
UserParameter=custom.test,cat /etc/hosts |wc -l
When I run zabbix-get from the zabbix server to the linux machine it fails with ZBX_NOTSUPPORTED. It works fine on Solaris.
linux-reaf:/var/log/zabbix # zabbix-get -s linux -p 10050 -k custom.test
ZBX_NOTSUPPORTED
linux-reaf:/var/log/zabbix # zabbix-get -s solaris -p 10050 -k custom.test
20
Any idea why this fails on Linux ????
I have the following command on both linux(Centos 6) and solaris:
UserParameter=custom.test,cat /etc/hosts |wc -l
When I run zabbix-get from the zabbix server to the linux machine it fails with ZBX_NOTSUPPORTED. It works fine on Solaris.
linux-reaf:/var/log/zabbix # zabbix-get -s linux -p 10050 -k custom.test
ZBX_NOTSUPPORTED
linux-reaf:/var/log/zabbix # zabbix-get -s solaris -p 10050 -k custom.test
20
Any idea why this fails on Linux ????
Comment