Ad Widget

Collapse

Howto UserParamaters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prupert
    Junior Member
    • Jan 2006
    • 4

    #1

    Howto UserParamaters

    I've made a couple of UserParamaters in my /etc/zabbix/zabbix_agentd.conf:

    Code:
    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
    Junior Member
    • Jan 2006
    • 4

    #2
    Can anybody kick me in the butt for being unable to spelle UserParameter correctly? ;-)

    Comment

    Working...