Hi,
I observed a very interesting thing:
I do a zabbix_get -s i11 -k 'perf_counter[\Processor(_Total)\% Processor Time]'
The result is zabbix_get [25519]: Timeout while executing operation.
So far, so good.
I enlarged the timeout for zabbix_get to 30 seconds and added a few debug
statements in the agent.
And the corresponding zabbix_agentd.log shows:
That means, the result is send back, as soon as the 30 seconds
elapsed and the connection was closed.
Where is the problem ?
I guess, that the agent is waiting for a complete request and
the zabbix_get thinks it has send one.
Regards,
Norbert.
I observed a very interesting thing:
I do a zabbix_get -s i11 -k 'perf_counter[\Processor(_Total)\% Processor Time]'
The result is zabbix_get [25519]: Timeout while executing operation.
So far, so good.
I enlarged the timeout for zabbix_get to 30 seconds and added a few debug
statements in the agent.
And the corresponding zabbix_agentd.log shows:
Code:
3692:20070815:160601 Processing request. 3692:20070815:160601 In check_security() 3692:20070815:160601 Before process_listener. 3692:20070815:160601 In process_listener() 3692:20070815:160631 Requested [perf_counter[\Processor(_Total)\% Processor Time]] 3692:20070815:160631 After init_result [perf_counter[\Processor(_Total)\% Processor Time]] 3692:20070815:160632 After process [perf_counter[\Processor(_Total)\% Processor Time]] 3692:20070815:160632 Sending back [1.926838] 3692:20070815:160632 After process listener.
elapsed and the connection was closed.
Where is the problem ?
I guess, that the agent is waiting for a complete request and
the zabbix_get thinks it has send one.
Regards,
Norbert.
Comment