Hi!
Ive got a problem with snmp items. I can use snmpwalk and snmpget to get correct values from my routers on the commandline but when i add a item in zabbix it does not work. Im running zabbix 1.1a5 on fedora core 3 with net-snmp 5.2.1.
This is a screendump of my item configugration:

And this is the relevant part of the logfile:
004392:20050309:133258 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 from items i,hosts h where i.nextcheck<=1110371578 and i.status=0 and i.type not in (2) and (h.status=0 or (h.status=2 and h.disable_until<=1110371578)) and h.hostid=i.hostid and i.itemid%1=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by i.nextcheck
004392:20050309:133258 In DBnum_rows
004392:20050309:133258 Result of DBnum_rows [1]
004392:20050309:133258 In get_value_SNMP()
004392:20050309:133258 SNMP [[email protected]:161:0]
004392:20050309:133258 OID [.1.3.6.1.2.1.2.2.1.10.1]
004392:20050309:133258 In get_value_SNMP() 0.2
004392:20050309:133258 In get_value_SNMP() 0.3
004392:20050309:133258 Status send [1]
004392:20050309:133258 In get_value_SNMP() 0.4
004392:20050309:133258 In get_value_SNMP() 1
004392:20050309:133258 Error [1]
004392:20050309:133258 GOT VALUE [No sleeping]
004392:20050309:133258 Getting value of [ifInOctets.1] from host [ROUTER_SEVEL] failed
004392:20050309:133258 In zabbix_log()
004392:20050309:133258 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 from items i,hosts h where h.hostid=i.hostid and i.key_='zabbix[log]' and i.value_type=1
004392:20050309:133258 In DBnum_rows
004392:20050309:133258 No zabbix[log] to update.
004392:20050309:133258 The value is not stored in database.
I also get a full screen of:
snmpget: Too long
snmpget: Too long
whenever i start the zabbix_server process, could it be some version problem with net-snmp or something?
Anyone got any hints to what im doing wrong?
Thanks!
Roger
Ive got a problem with snmp items. I can use snmpwalk and snmpget to get correct values from my routers on the commandline but when i add a item in zabbix it does not work. Im running zabbix 1.1a5 on fedora core 3 with net-snmp 5.2.1.
This is a screendump of my item configugration:

And this is the relevant part of the logfile:
004392:20050309:133258 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 from items i,hosts h where i.nextcheck<=1110371578 and i.status=0 and i.type not in (2) and (h.status=0 or (h.status=2 and h.disable_until<=1110371578)) and h.hostid=i.hostid and i.itemid%1=0 and i.key_ not in ('status','icmpping','icmppingsec','zabbix[log]') order by i.nextcheck
004392:20050309:133258 In DBnum_rows
004392:20050309:133258 Result of DBnum_rows [1]
004392:20050309:133258 In get_value_SNMP()
004392:20050309:133258 SNMP [[email protected]:161:0]
004392:20050309:133258 OID [.1.3.6.1.2.1.2.2.1.10.1]
004392:20050309:133258 In get_value_SNMP() 0.2
004392:20050309:133258 In get_value_SNMP() 0.3
004392:20050309:133258 Status send [1]
004392:20050309:133258 In get_value_SNMP() 0.4
004392:20050309:133258 In get_value_SNMP() 1
004392:20050309:133258 Error [1]
004392:20050309:133258 GOT VALUE [No sleeping]
004392:20050309:133258 Getting value of [ifInOctets.1] from host [ROUTER_SEVEL] failed
004392:20050309:133258 In zabbix_log()
004392:20050309:133258 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 from items i,hosts h where h.hostid=i.hostid and i.key_='zabbix[log]' and i.value_type=1
004392:20050309:133258 In DBnum_rows
004392:20050309:133258 No zabbix[log] to update.
004392:20050309:133258 The value is not stored in database.
I also get a full screen of:
snmpget: Too long
snmpget: Too long
whenever i start the zabbix_server process, could it be some version problem with net-snmp or something?
Anyone got any hints to what im doing wrong?
Thanks!
Roger
Comment