LINUX.ORG.RU
ФорумAdmin

Zabbix_sender failed

 


0

1

Хочу сендером отправлять данные в zabbix

$ zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i /tmp/zabbixserver.txt 
info from server: "processed: 0; failed: 43; total: 43; seconds spent: 0.000403"
sent: 43; skipped: 0; total: 43

Пробовал с разными опциями, но всегда получаю «failed: 43». Не могу понять в чём затык.

В логах при Debug=4

 
14813:20150425:121755.048 trapper got '{"request":"sender data","data":[{"host":"zabbixserver","key":"start_time","value":"Sat Apr 25 09:41:50 UTC 2015"},{"host":"zabbixserver","key":"hadoop_version","value":"2.5.2"},{"host":"zabbixserver","key":"file_and_directory_count","value":"1"},{"host":"zabbixserver","key":"dfs_blocks","value":"0"},{"host":"zabbixserver","key":"namenode_process_heap_size","value":"28.00"},{"host":"zabbixserver","key":"max_heap_size","value":"966.69"},{"host":"zabbixserver","key":"storage_unit","value":"1"},{"host":"zabbixserver","key":"configured_cluster_storage","value":"27.43"},{"host":"zabbixserver","key":"dfs_use_storage","value":"28"},{"host":"zabbixserver","key":"non_dfs_use_storage","value":"3.49"},{"host":"zabbixserver","key":"available_dfs_storage","value":"23.94"},{"host":"zabbixserver","key":"used_storage_pct","value":"0.00%"},{"host":"zabbixserver","key":"available_storage_pct","value":"87.27%"},{"host":"zabbixserver","key":"live_nodes","value":"1"},{"host":"zabbixserver","key":"dead_nodes","value":"0"},{"host":"zabbixserver","key":"decommissioned_nodes","value":"0"},{"host":"zabbixserver","key":"under_repllicated_nodes","value":"0"},{"host":"zabbixserver","key":"max_configured_storage","value":"27.43"},{"host":"zabbixserver","key":"max_configured_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"min_configured_storage","value":"27.43"},{"host":"zabbixserver","key":"min_configured_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"max_used_storage","value":"0.00"},{"host":"zabbixserver","key":"max_used_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"min_used_storage","value":"0.00"},{"host":"zabbixserver","key":"min_used_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"max_non_dfs_used_storage","value":"3.49"},{"host":"zabbixserver","key":"max_non_dfs_used_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"min_non_dfs_used_storage","value":"3.49"},{"host":"zabbixserver","key":"min_non_dfs_used_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"max_free_storage","value":"23.94"},{"host":"zabbixserver","key":"max_free_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"min_free_storage","value":"23.94"},{"host":"zabbixserver","key":"min_free_storage_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"max_used_storage_pct","value":"0.00"},{"host":"zabbixserver","key":"max_used_storage_pct_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"min_used_storage_pct","value":"0.00"},{"host":"zabbixserver","key":"min_used_storage_pct_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"max_free_storage_pct","value":"87.27"},{"host":"zabbixserver","key":"max_free_storage_pct_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"min_free_storage_pct","value":"87.27"},{"host":"zabbixserver","key":"min_free_storage_pct_node_name","value":"ip-172-31-31-76"},{"host":"zabbixserver","key":"node_level_storage_unit","value":"GB"},{"host":"zabbixserver","key":"ping_check","value":"PASSED"}]}'
 14813:20150425:121755.048 In recv_agenthistory()
 14813:20150425:121755.048 In process_hist_data()
 14813:20150425:121755.048 In process_mass_data()
 14813:20150425:121755.049 End of process_mass_data()
 14813:20150425:121755.049 End of process_hist_data():SUCCEED
 14813:20150425:121755.049 In zbx_send_response()
 14813:20150425:121755.049 zbx_send_response() '{"response":"success","info":"processed: 0; failed: 43; total: 43; seconds spent: 0.000403"}'
★★★

Прозреваю проблема с -i. Не то подсовываешь.

Попробуй ручками отправлять, используя -k, -o. У меня такое было, когда неверный item указывал.

Deleted
()
Ответ на: комментарий от Deleted

Блин, вот это я тупак. Ты прав. Я туда даже не заглядовал, файл формирует скрипт и я ему доверял, видимо зря.

GoNaX ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.