hi.
I'm having a problem with services autodiscovery and Zabbix proxies. When the agent is ready to send back the result I get this error in debug:
The problem happens only with proxy, because the same configuration item checked directly by the Zabbix server works great. I'm using Zabbix 2.2.8.
This is what I find in the agent log:
The script execution takes several seconds and it's normal, I added "Timeout=15" in my agent config so it should not be a problem.
And in the proxy log:
I could't find what parameter is wrong. Any help is welcome.
I forgot to say that proxy (sqlite) and agent run on the same machine, so there should be no network glitch, and all other checks/discovery works fine.
thanks
I'm having a problem with services autodiscovery and Zabbix proxies. When the agent is ready to send back the result I get this error in debug:
Code:
Process listener error: ZBX_TCP_WRITE() failed: [32] Broken pipe
This is what I find in the agent log:
Code:
577:20150107:145055.073 listener #1 [processing request]
577:20150107:145055.074 Requested [zimbra.discovery]
577:20150107:145055.074 In zbx_popen() command:'/etc/zabbix/scripts/zbx_zimbra.sh discover'
577:20150107:145055.074 End of zbx_popen():7
13700:20150107:145055.074 zbx_popen(): executing script
...
577:20150107:145103.630 In zbx_waitpid()
577:20150107:145103.630 zbx_waitpid() exited, status:0
577:20150107:145103.630 End of zbx_waitpid():13700
577:20150107:145103.630 Run remote command [/etc/zabbix/scripts/zbx_zimbra.sh discover] Result [418] [{
"data":[
{ "{#ZI]...
577:20150107:145103.630 Sending back [{
"data":[
{ "{#ZIMBRASERVICE}":"antispam" }, { "{#ZIMBRASERVICE}":"antivirus" }, { "{#ZIMBRASERVICE}":"convertd" }, { "{#ZIMBRASERVICE}":"ldap" }, { "{#ZIMBRASERVICE}":"logger" }, { "{#ZIMBRASERVICE}":"mailbox" }, { "{#ZIMBRASERVICE}":"mta" }, { "{#ZIMBRASERVICE}":"opendkim" }, { "{#ZIMBRASERVICE}":"snmp" }, { "{#ZIMBRASERVICE}":"spell" }, { "{#ZIMBRASERVICE}":"stats" }, { "{#ZIMBRASERVICE}":"zmconfigd" }
]
}]
577:20150107:145103.630 Got signal [signal:13(SIGPIPE),sender_pid:577]. Ignoring ...
577:20150107:145103.630 Process listener error: ZBX_TCP_WRITE() failed: [32] Broken pipe
577:20150107:145103.630 listener #1 [waiting for connection]
And in the proxy log:
Code:
6634:20150107:155058.789 Zabbix agent item "zimbra.discovery" on host "webmail.domain.it" failed: first network error, wait for 15 seconds 6637:20150107:155116.790 Zabbix agent item "zimbra.discovery" on host "webmail.domain.it" failed: another network error, wait for 15 seconds
I forgot to say that proxy (sqlite) and agent run on the same machine, so there should be no network glitch, and all other checks/discovery works fine.
thanks

It has also polite meaning
Comment