Hi all,
Been a year since i configged a zabbix server, and I'm stuck with something that seemed to work perfectly well with my old setup
got following prob :
Simple checks do work in Items (ie. httpd) It gives output 1 and updates each 30 secs.
with agent(active) max.kernelfiles and other are working perfectly well...
When I add following to my zabbix_agentd.conf :
UserParameter=test[test],/home/zabbix/test.sh
some info bout the file :
(-rwxr-xr-x 1 zabbix zabbix 22 2006-02-02 23:29 /home/zabbix/test.sh)
cat /home/zabbix/test.sh :
#!/bin/bash
echo 1000
I can run the file as www-data or other users, so I guess permissions are OK.
when I execute the file I get a nice : 1000
But my Zabbix frontend gives me :
17224 test[test] fgsdg 30 90 365 ZABBIX agent (active) Active Not supported by agent
Im also confused on what to put in the "Key" area ? I suppose I have to put test[test] there ?
and the description doesnt matter ?
Been a year since i configged a zabbix server, and I'm stuck with something that seemed to work perfectly well with my old setup

got following prob :
Simple checks do work in Items (ie. httpd) It gives output 1 and updates each 30 secs.
with agent(active) max.kernelfiles and other are working perfectly well...
When I add following to my zabbix_agentd.conf :
UserParameter=test[test],/home/zabbix/test.sh
some info bout the file :
(-rwxr-xr-x 1 zabbix zabbix 22 2006-02-02 23:29 /home/zabbix/test.sh)
cat /home/zabbix/test.sh :
#!/bin/bash
echo 1000
I can run the file as www-data or other users, so I guess permissions are OK.
when I execute the file I get a nice : 1000
But my Zabbix frontend gives me :
17224 test[test] fgsdg 30 90 365 ZABBIX agent (active) Active Not supported by agent
Im also confused on what to put in the "Key" area ? I suppose I have to put test[test] there ?
and the description doesnt matter ?
Comment