Ad Widget

Collapse

MySQL agent on remote host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EddieAdams
    Junior Member
    • Dec 2006
    • 1

    #1

    MySQL agent on remote host

    zabbix_agentd.conf on remote host:
    #
    # http://www.zabbix.com/wiki/doku.php?...ng_replication
    #
    UserParameter=mysql.daily,php /etc/zabbix/mysql.php daily mysqluser password
    UserParameter=mysql.live,php /etc/zabbix/mysql.php live mysqluser password

    1 example line output of mysql.php:
    zabbix_sender -z zabbixserver -p 10051 -s remotehost -k mysql-debug.Percent_query_cache_pruned_from_inserts -o 0

    When ran on command line it gives the following error:
    zabbix_sender [####]: DEBUG: Send value error: Cannot connect to [zabbixserver:10051] [Connection refused]

    Where to look?
Working...