PDA

View Full Version : Howto UserParamaters


prupert
21-01-2006, 03:25
I've made a couple of UserParamaters in my /etc/zabbix/zabbix_agentd.conf:

UserParamater=mysql.alive,mysqladmin -uadmin -p`cat /etc/psa/.psa.shadow` | grep alive | w
c -l
UserParamater=mysql.qps,mysqladmin -uadmin -p`cat /etc/psa/.psa.shadow` status | cut -f9 -
d":"
UserParamater=named.status,service named status | grep "server is up" | wc -l
UserParamater=qmail.queue,/var/qmail/bin/qmail-qstat | cut -f4-4 -d" " | cut -f1 -d"b"

After that I restarted the zabbix agent. But I am still unable to use the items on my Zabbix servers ("Not Supported" after added as a Zabbix Agent item). Also, when running zabbix_agentd --help, the UserParamater items aren't listed.

What am I doing wrong?

prupert
21-01-2006, 03:31
Can anybody kick me in the butt for being unable to spelle UserParameter correctly? ;-)