zabbix-apache-stats icon indicating copy to clipboard operation
zabbix-apache-stats copied to clipboard

failed to send parsed data

Open perrucci-qubeos opened this issue 9 years ago • 2 comments

Trying to send data to a zabbix 2.4.7 instance I get this error:

/var/lib/zabbix/bin/check_apache --config /etc/zabbix/zabbix_agentd.conf 
sendValues: -   apache[ReadingRequest]  9
-   apache[Uptime]  578838
-   apache[Logging] 0
-   apache[TotalAccesses]   200095
-   apache[SendingReply]    1
-   apache[Startingup]  0
-   apache[Idlecleanupofworker] 0
-   apache[Gracefullyfinishing] 0
-   apache[DNSLookup]   0
-   apache[BytesPerReq] 59830.6
-   apache[WaitingforConnection]    63
-   apache[CPULoad] .0917372
-   apache[BytesPerSec] 20682.5
-   apache[Keepaliveread]   2
-   apache[ReqPerSec]   .345684
-   apache[TotalkBytes] 11691207
-   apache[IdleWorkers] 63
-   apache[BusyWorkers] 12
-   apache[Closingconnection]   0
-   apache[Openslotwithnocurrentprocess]    75

sending to server in agent config /etc/zabbix/zabbix_agentd.conf
failed to send parsed data: error returned from /usr/bin/zabbix_sender! ret: 2, out: 'info from server: "processed: 0; failed: 20; total: 20; seconds spent: 0.000141"
sent: 20; skipped: 0; total: 20', err: 'zabbix_sender [7050]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 20; total: 20; seconds spent: 0.000141"}]'
ZBX_NOTSUPPORTED

Could you help me to solve the problem?

Thanks Paolo

perrucci-qubeos avatar Dec 01 '15 10:12 perrucci-qubeos

I had this issue too, but putting the script in the zabbix user account's crontab fixed it for me.

mdunc avatar May 16 '16 18:05 mdunc

I had this issue too, the problem was that I have installed zabbix_agent from source code, thus the zabbix-sender bin has different location as configured in check_apache. change it or use "--sender" option et voilà.

mnachmi avatar Apr 20 '17 10:04 mnachmi