Hello,
I'm trying to get a zabbix proxy setup and I'm having a devil of a time. I've installed the zabbix_proxy software on my proxy system, imported the schema.sql DB ONLY (I'm using MySQL as the backend), added the proxy as an Active proxy to the Zabbix Server via the Administration, DM option in the web interface, no problems with any of that. I've verified that the zabbix proxy is communicating with the server every 60 seconds.
Now I added a zabbix agent to the zabbix proxy host and then told my zabbix server that this particular agent should be monitored via the proxy under its Configuration, Hosts entry. Almost immediately after doing that I see the following in my zabbix_proxy.log file:
30465:20130703:211219.453 Received configuration data from server. Datalen 9792
30465:20130703:211219.458 [Z3005] query failed: [1364] Field 'description' doesn't have a default value [insert into items (itemid,type,snmp_community,snmp_oid,hostid,key_,d elay,status,value_type,trapper_hosts,snmpv3_securi tyname,snmpv3_securitylevel,snmpv3_authpassphrase, snmpv3_privpassphrase,formula,logtimefmt,delay_fle x,params,ipmi_sensor,data_type,authtype,username,p assword,publickey,privatekey,flags,filter,interfac eid,port) values (36258,0,'','',10346,'agent.ping',60,0,3,'','',0,' ','','1','','','','',0,0,'','','','',0,'',31038,'' );
insert into items (itemid,type,snmp_community,snmp_oid,hostid,key_,d elay,status,value_type,trapper_hosts,snmpv3_securi tyname,snmpv3_securitylevel,snmpv3_authpassphrase, snmpv3_privpassphrase,formula,logtimefmt,delay_fle x,params,ipmi_sensor,data_type,authtype,username,p assword,publickey,privatekey,flags,filter,interfac eid,port) values (36259,0,'','',10346,'net.if.in[eth0,bytes]',60,0,0,'','',0,'','','0','','','','',0,0,'','',' ','',0,'',31038,'');
...
30465:20130703:211219.459 failed to update local proxy cofiguration copy: database error
I'm not sure what to do here. This error reappears in the log every time the proxy queries the server for its configuration. I've tried dropping and recreating the zabbix_proxy database I created for use with this proxy (which is also referenced in the DBName param in the zabbix_proxy.conf file), still getting the same error.
One other side question: as this agent lives on the zabbix proxy itself, when I configure the agent via the Hosts view of the web interface, should I use 127.0.0.1 as the agent's IP as well as the Server entry in the zabbix_agent.conf file? The way I interpret the documentation all hosts that are monitored via the proxy should be configured to talk to the proxy and not the zabbix server.
Thanks!
I'm trying to get a zabbix proxy setup and I'm having a devil of a time. I've installed the zabbix_proxy software on my proxy system, imported the schema.sql DB ONLY (I'm using MySQL as the backend), added the proxy as an Active proxy to the Zabbix Server via the Administration, DM option in the web interface, no problems with any of that. I've verified that the zabbix proxy is communicating with the server every 60 seconds.
Now I added a zabbix agent to the zabbix proxy host and then told my zabbix server that this particular agent should be monitored via the proxy under its Configuration, Hosts entry. Almost immediately after doing that I see the following in my zabbix_proxy.log file:
30465:20130703:211219.453 Received configuration data from server. Datalen 9792
30465:20130703:211219.458 [Z3005] query failed: [1364] Field 'description' doesn't have a default value [insert into items (itemid,type,snmp_community,snmp_oid,hostid,key_,d elay,status,value_type,trapper_hosts,snmpv3_securi tyname,snmpv3_securitylevel,snmpv3_authpassphrase, snmpv3_privpassphrase,formula,logtimefmt,delay_fle x,params,ipmi_sensor,data_type,authtype,username,p assword,publickey,privatekey,flags,filter,interfac eid,port) values (36258,0,'','',10346,'agent.ping',60,0,3,'','',0,' ','','1','','','','',0,0,'','','','',0,'',31038,'' );
insert into items (itemid,type,snmp_community,snmp_oid,hostid,key_,d elay,status,value_type,trapper_hosts,snmpv3_securi tyname,snmpv3_securitylevel,snmpv3_authpassphrase, snmpv3_privpassphrase,formula,logtimefmt,delay_fle x,params,ipmi_sensor,data_type,authtype,username,p assword,publickey,privatekey,flags,filter,interfac eid,port) values (36259,0,'','',10346,'net.if.in[eth0,bytes]',60,0,0,'','',0,'','','0','','','','',0,0,'','',' ','',0,'',31038,'');
...
30465:20130703:211219.459 failed to update local proxy cofiguration copy: database error
I'm not sure what to do here. This error reappears in the log every time the proxy queries the server for its configuration. I've tried dropping and recreating the zabbix_proxy database I created for use with this proxy (which is also referenced in the DBName param in the zabbix_proxy.conf file), still getting the same error.
One other side question: as this agent lives on the zabbix proxy itself, when I configure the agent via the Hosts view of the web interface, should I use 127.0.0.1 as the agent's IP as well as the Server entry in the zabbix_agent.conf file? The way I interpret the documentation all hosts that are monitored via the proxy should be configured to talk to the proxy and not the zabbix server.
Thanks!

Comment