Hello all,
I wrote this problem in the specific subforum for my native language, but I think I will obtain more support writing it here, sorry for my English.
We have a problem when register values of an item. We have to collect values from a database once a day, send it with the zabbix_sender and only the difference register with the above value.
In a script collect the value of a database informix.
Run the zabbix_sender with the key for the value to be sent zabbix server.
Here I show the configuration of the item, log the zabbix_sender and log server in "debug 4".
script log
Item conf
zabbix_server.log DebugLevel=4
Now comes the strange problem, the first time you run does not record any value, but if you run a second time, third, fourth, etc ... records each and every one of the values sent by the zabbix_sender.
Does anyone have any idea that might be? It is the only item we are having problems.
zabbix_server version
zabbix_sender version
zabbix_agentd version
Best regards.
I wrote this problem in the specific subforum for my native language, but I think I will obtain more support writing it here, sorry for my English.
We have a problem when register values of an item. We have to collect values from a database once a day, send it with the zabbix_sender and only the difference register with the above value.
In a script collect the value of a database informix.
Run the zabbix_sender with the key for the value to be sent zabbix server.
Here I show the configuration of the item, log the zabbix_sender and log server in "debug 4".
script log
Code:
[2016-06-03 10:30:02] tifxqms1shm_repba - sender: -k tamLlogs -o 14131200 info from server: "processed: 1; failed: 0; total: 1; seconds spent: 0.000108" sent: 1; skipped: 0; total: 1
Code:
Type: "Zabbix trapper" Key: "tamLlogs" Type of information: "Numeric (unsigned)" Data type: "Decimal" Units: Use custom multiplier: Store value: "Delta (simple change)"
Code:
23650:20160603:103002.277 trapper #4 [processing data]
23650:20160603:103002.277 trapper got '{"request":"sender data","data":[{"host":"tifxqms1","key":"tamLlogs","value":"14131200"}]}'
23650:20160603:103002.277 In recv_agenthistory()
23650:20160603:103002.277 In process_hist_data()
23650:20160603:103002.277 In process_mass_data()
23650:20160603:103002.277 In substitute_simple_macros() data:EMPTY
23650:20160603:103002.277 End of process_mass_data()
23650:20160603:103002.277 End of process_hist_data():SUCCEED
23650:20160603:103002.277 In zbx_send_response()
23650:20160603:103002.277 zbx_send_response() '{"response":"success","info":"processed: 1; failed: 0; total: 1; seconds spent: 0.000108"}'
23650:20160603:103002.277 End of zbx_send_response():SUCCEED
23650:20160603:103002.277 End of recv_agenthistory()
23650:20160603:103002.278 trapper #4 [processed data in 0.000698 sec, waiting for connection]
Does anyone have any idea that might be? It is the only item we are having problems.
zabbix_server version
Code:
zabbix_server --version Zabbix server v2.4.8 (revision 59539) (20 April 2016) Compilation time: May 25 2016 17:35:45
Code:
zabbix_sender --version Zabbix Sender v2.4.8 (revision 59539) (20 April 2016) Compilation time: May 4 2016 01:36:20
Code:
zabbix_agentd --version Zabbix Agent (daemon) v2.4.8 (revision 59539) (20 April 2016) Compilation time: May 4 2016 01:36:20
Comment