Hi All,
I'm trying to monitor a few HAproxy items using UserParameters.
For example:
Created the items for the Host, but they are all "Unsupported":
I have "zabbix ALL=NOPASSWD: ALL" for zabbix user.
Any idea what's wrong?
Thanks in advance...
I'm trying to monitor a few HAproxy items using UserParameters.
For example:
Code:
# FRONTEND
UserParameter=haproxy.scur,echo "show stat" | socat /tmp/haproxy.sock stdio | grep -i 'mysql-dbsync,FRONTEND' | sed 's/,/\ /g' | awk '{print $3}'
UserParameter=haproxy.smax,echo "show stat" | socat /tmp/haproxy.sock stdio | grep -i 'mysql-dbsync,FRONTEND' | sed 's/,/\ /g' | awk '{print $4}'
# MYSQL
UserParameter=haproxy.scur,echo "show stat" | socat /tmp/haproxy.sock stdio | grep -i 'mysql-dbsync,mysql-143' | sed 's/,/\ /g' | awk '{print $5}'
UserParameter=haproxy.smax,echo "show stat" | socat /tmp/haproxy.sock stdio | grep -i 'mysql-dbsync,mysql-143' | sed 's/,/\ /g' | awk '{print $6}'
Code:
Received value [] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
Any idea what's wrong?
Thanks in advance...
Comment