Hi
I'm using latest Zabbix (thanks Daniel B@FWS!) and now I'd like to monitor 2 new variables using UserParameter
So I created this file:
[root@aguia ~]# cat /etc/e-smith/templates/etc/zabbix/zabbix_agentd.conf/90Jader
# Parametros inclusos pelo Jader
UserParameter=soja,/usr/bin/lynx --dump www.marasca.com.br|grep "Taxa Selic" -A3|tail -1|cut -b7-11|sed 's/,/./'
UserParameter=TAG_HW,/usr/sbin/dmidecode -t1|grep Serial|cut -f3 -d" "
I also tried it as a separated file inside zabbix_agentd.conf.d directory.
But they do not work!

[root@aguia ~]# zabbix_agent -t TAG_HW
TAG_HW [m|ZBX_NOTSUPPORTED]
[root@aguia ~]# zabbix_agent -t soja
soja [m|ZBX_NOTSUPPORTED]
[root@aguia ~]#
BUT
If I run those commands as root, they work!
If I create a new config file with those, it will work. See this:
[root@aguia ~]# cat Zbx-Jm.conf |grep -v "#"
Server=leopardo.jadermarasca.com.br
Timeout=3
UserParameter=soja,/usr/bin/lynx --dump www.marasca.com.br|grep "Taxa Selic" -A3|tail -1|cut -b7-11|sed 's/,/./'
UserParameter=TAG,dmidecode -t1|grep Serial|cut -f3 -d" "
[root@aguia ~]# zabbix_agent -c ~/Zbx-Jm.conf -t soja
soja [t|53.50]
[root@aguia ~]# zabbix_agent -c ~/Zbx-Jm.conf -t TAG_HW
TAG_HW [m|ZBX_NOTSUPPORTED]
[root@aguia ~]# zabbix_agent -c ~/Zbx-Jm.conf -t TAG
TAG [t|5C7142P22A]
[root@aguia ~]# zabbix_agent -c ~/Zbx-Jm.conf -t system.uptime
system.uptime [u|710478]
[root@aguia ~]# zabbix_agent -t system.uptime
system.uptime [u|710527]
Note if I choose wrong TAG_HW item, it show same error than using standard config file!
If I choose a standard item (system.uptime) it show in both cases.
I'm sure I'm missing some small detail... maybe permissions.
Could someone point me what's wrong ?
Thanks
Jáder