PDA

View Full Version : snmp problem with router


sinda
11-05-2005, 08:57
hello,
i'm working on zabbix V 1.0
i have installed snmp successfully.
i have activated snmp agent on the router.
i have followed the instructions in the manual.

the command 'snmpwalk' gives me a list.

snmpget -v 1 -On -c public 193.95.92.27 ifInOctets.1
.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 2634492738

i have this message error on /tmp/zabbix_suckerd.log
002497:20050508:222912 Error [1]
002497:20050508:222912 Getting value of [ifInOctets.1] from host [routeur] failed
002497:20050508:222912 The value is not stored in database.

in latest data , no data found.


thank you

Lovespider
11-05-2005, 10:26
Hi,
I would suggest you to put the entire sequence .1.3.6.1.2.1.2.2.1.10.1 int the OID field.
Let us know then....

sinda
16-05-2005, 17:59
hello ,
i still have a problem with snmp.
i follow what's written on the manual V1.0 but it doesn't work.
when i use the terminal (snmpwalk et snmpget) i get a correct result.
this is exactly what i put :
-first
snmpget -v 1 -On -c public 193.95.92.27 ifInOctets.1
.1.3.6.1.2.1.2.2.1.10.1 = Counter32: 1321012

-then
type: snmpv1 agent
snmp community: public
snmp oid: .1.3.6.1.2.1.2.2.1.10.1
port :161
key :ifInOctets.1

in latest data i don't found any value stored in the database.

thank you for your help

crinago
19-05-2005, 08:05
I've tried actually everything even re-compiling zabbix. Until I've decided to downgrade net-snmp to version 5.0.9. and now everything works!!!! :)

sinda
19-05-2005, 17:22
hello,
net snmp is the source of the problem.
i ve reinstalled the net snmp package and compiled zabbix (checking for net snmp .............. yes)
but zabbix doesn't monitor snmp device

crinago
20-05-2005, 02:48
check your net-snmp version... you can use smpget -V command.... if it is 5.2.1 try downgrading it to a lower version. hope this helps