Hello,
I'm new to the wonders of Zabbix and am having an issue with SNMP polling. I get a snmpget: too long error whenever I try to activate a SNMP item.
I can use snmpget from the shell and retrieve information fine. And any zabbix_agentd items work fine. It's just SNMP items.
I've included the relevant snippet from the zabbix_server log file.
010462:20050218:202954 Executing query:select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.network_errors,i.snmp _port,i.delta,i.prevorgvalue,i.lastclock,i.units,i .multiplier,i.snmpv3_securityname,i.snmpv3_securit ylevel,i.snmpv3_authpassphrase,i.snmpv3_privpassph rase,i.formula,h.available from items i,hosts h where i.nextcheck<=1108776594 and i.status=0 and i.type not in (2) and ((h.status=0 and h.available!=2) or (h.status=0 and h.available=2 and h.disable_until<=1108776594)) and h.hostid=i.hostid and i.itemid%1=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by i.nextcheck
010122:20050218:202954 Error [1]
010122:20050218:202954 Getting value of [ifInOctets.49] from host [WAN_Router] failed
006692:20050218:202954 Error [1]
006692:20050218:202954 Getting value of [ifInOctets.49] from host [WAN_Router] failed
010462:20050218:202954 In DBnum_rows
010462:20050218:202954 Result of DBnum_rows [1]
010462:20050218:202954 In get_value_SNMP()
010462:20050218:202954 SNMP [[email protected]:161:0]
010462:20050218:202954 OID [.1.3.6.1.2.1.2.2.1.10.49]
010462:20050218:202954 In get_value_SNMP() 0.2
010462:20050218:202954 In get_value_SNMP() 0.3
010462:20050218:202954 Status send [1]
010462:20050218:202954 In get_value_SNMP() 0.4
010462:20050218:202954 In get_value_SNMP() 1
010462:20050218:202954 Error [1]
010462:20050218:202954 GOT VALUE [No sleeping]
010462:20050218:202954 Getting value of [ifInOctets.49] from host [WAN_Router] failed
010462:20050218:202954 In zabbix_log()
Thanks very much in advance,
Damon
I'm new to the wonders of Zabbix and am having an issue with SNMP polling. I get a snmpget: too long error whenever I try to activate a SNMP item.
I can use snmpget from the shell and retrieve information fine. And any zabbix_agentd items work fine. It's just SNMP items.
I've included the relevant snippet from the zabbix_server log file.
010462:20050218:202954 Executing query:select i.itemid,i.key_,h.host,h.port,i.delay,i.descriptio n,i.nextcheck,i.type,i.snmp_community,i.snmp_oid,h .useip,h.ip,i.history,i.lastvalue,i.prevvalue,i.ho stid,h.status,i.value_type,h.network_errors,i.snmp _port,i.delta,i.prevorgvalue,i.lastclock,i.units,i .multiplier,i.snmpv3_securityname,i.snmpv3_securit ylevel,i.snmpv3_authpassphrase,i.snmpv3_privpassph rase,i.formula,h.available from items i,hosts h where i.nextcheck<=1108776594 and i.status=0 and i.type not in (2) and ((h.status=0 and h.available!=2) or (h.status=0 and h.available=2 and h.disable_until<=1108776594)) and h.hostid=i.hostid and i.itemid%1=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by i.nextcheck
010122:20050218:202954 Error [1]
010122:20050218:202954 Getting value of [ifInOctets.49] from host [WAN_Router] failed
006692:20050218:202954 Error [1]
006692:20050218:202954 Getting value of [ifInOctets.49] from host [WAN_Router] failed
010462:20050218:202954 In DBnum_rows
010462:20050218:202954 Result of DBnum_rows [1]
010462:20050218:202954 In get_value_SNMP()
010462:20050218:202954 SNMP [[email protected]:161:0]
010462:20050218:202954 OID [.1.3.6.1.2.1.2.2.1.10.49]
010462:20050218:202954 In get_value_SNMP() 0.2
010462:20050218:202954 In get_value_SNMP() 0.3
010462:20050218:202954 Status send [1]
010462:20050218:202954 In get_value_SNMP() 0.4
010462:20050218:202954 In get_value_SNMP() 1
010462:20050218:202954 Error [1]
010462:20050218:202954 GOT VALUE [No sleeping]
010462:20050218:202954 Getting value of [ifInOctets.49] from host [WAN_Router] failed
010462:20050218:202954 In zabbix_log()
Thanks very much in advance,
Damon
Comment