Ad Widget

Collapse

Zabbix - Mysql problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomas
    Junior Member
    • Jun 2011
    • 1

    #1

    Zabbix - Mysql problem

    Hi
    I've installed zabbix-proxy (OS: opensuse 11.4) with mysql support and Mysql database "Server version: 5.1.53-log SUSE MySQL RPM"
    I've created a database zabbix, imported mysql.sql, data.sql and images_mysql.sql scripts into database zabbix.
    I've set up correctly the /etc/zabbix/zabbix-proxy.conf file and started zabbix proxy service..

    But the zabbix-proxy.log said: Sending list of active checks to [X.X.X.X] failed: host [XX-XXX] not found

    I chcecked my zabbix server hostname, and zabbix agent hostname in zabbix-agentd.conf, there is no difference between the names...

    I've spotted a problem in zabbix proxy: table hosts contains no data from zabbix hosts that I want to monitor. Only templates from data.sql.

    In debug mode at zabbix proxy I found insert scripts into hosts table, but these not applied into database.

    I've compared DB on zabbix proxy where monitoring is OK, there are data in hosts table which contains monitored servers (select hostname,hosid from hosts .

    Can You tell me where is the problem? It will be probably somewhere in mysql config.

    Thanks.

    Tomas
Working...