I am testing Zabbix 1.6 and it looks to be really a nice tool.
I am testing the zabbix_sender utility.
The zabbix_sender utility for an existing host fails to upload data, is there a way to enable zabbix_sender?
I run the following command,
"usr/local/sbin/zabbix_sender-z 38.103.80.154 -p 10051 -s rrr1tttadda -k proc.num[] -o 120 -vv" but it fails with the following error,
zabbix_sender [7426]: DEBUG: Answer [{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.002449"}]
Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.002449"
sent: 1; skipped: 0; total: 1
I put the zabbix_server in DebugLevel 4 and I get the following sql, which is being executed by the server process,
zabbix_server.log: 7296:20081026:113058 Query [select i.itemid,i.key_,h.host,h.port,i.delay,
i.description,i.nextcheck,i.type,i.snmp_community, i.snmp_oid,h.useip,h.ip,i.history,i.lastvalue,
i.prevvalue,i.hostid,h.status,i.value_type,h.error s_from,i.snmp_port,i.delta,i.prevorgvalue,
i.lastclock,i.units,i.multiplier,i.snmpv3_security name,i.snmpv3_securitylevel,i.snmpv3_authpassphras e,
i.snmpv3_privpassphrase,i.formula,h.available,i.st atus,i.trapper_hosts,i.logtimefmt,i.valuemapid,
i.delay_flex,h.dns,i.params,i.trends,h.useipmi,h.i pmi_port,h.ipmi_authtype,h.ipmi_privilege,
h.ipmi_username,h.ipmi_password,i.ipmi_sensor from hosts h, items i
where h.hostid=i.hostid and h.proxy_hostid=0 and h.status=0 and
i.status in (0,3) and i.type in (2,7) and
((h.host='rrr1tttadda' and i.key_='proc.num[]'))
and h.hostid between 000000000000000 and 099999999999999];
I see that the type column in items table doesn't have values of 2 or 7 for that host and hence zabbix_sender is failing, is there a additional step needed to make zabbix_sender to work, or what am I missing?
I am testing the zabbix_sender utility.
The zabbix_sender utility for an existing host fails to upload data, is there a way to enable zabbix_sender?
I run the following command,
"usr/local/sbin/zabbix_sender-z 38.103.80.154 -p 10051 -s rrr1tttadda -k proc.num[] -o 120 -vv" but it fails with the following error,
zabbix_sender [7426]: DEBUG: Answer [{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.002449"}]
Info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.002449"
sent: 1; skipped: 0; total: 1
I put the zabbix_server in DebugLevel 4 and I get the following sql, which is being executed by the server process,
zabbix_server.log: 7296:20081026:113058 Query [select i.itemid,i.key_,h.host,h.port,i.delay,
i.description,i.nextcheck,i.type,i.snmp_community, i.snmp_oid,h.useip,h.ip,i.history,i.lastvalue,
i.prevvalue,i.hostid,h.status,i.value_type,h.error s_from,i.snmp_port,i.delta,i.prevorgvalue,
i.lastclock,i.units,i.multiplier,i.snmpv3_security name,i.snmpv3_securitylevel,i.snmpv3_authpassphras e,
i.snmpv3_privpassphrase,i.formula,h.available,i.st atus,i.trapper_hosts,i.logtimefmt,i.valuemapid,
i.delay_flex,h.dns,i.params,i.trends,h.useipmi,h.i pmi_port,h.ipmi_authtype,h.ipmi_privilege,
h.ipmi_username,h.ipmi_password,i.ipmi_sensor from hosts h, items i
where h.hostid=i.hostid and h.proxy_hostid=0 and h.status=0 and
i.status in (0,3) and i.type in (2,7) and
((h.host='rrr1tttadda' and i.key_='proc.num[]'))
and h.hostid between 000000000000000 and 099999999999999];
I see that the type column in items table doesn't have values of 2 or 7 for that host and hence zabbix_sender is failing, is there a additional step needed to make zabbix_sender to work, or what am I missing?

Comment