Ad Widget

Collapse

SNMP double port problems Zabbix 1.0 debian package

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sphaero
    Junior Member
    • Nov 2005
    • 11

    #1

    SNMP double port problems Zabbix 1.0 debian package

    I'm trying to get some snmp values out of linux system but I can't get it to work properly.

    Both snmpget v1 and v2c give the following:

    snmpget -v 1 -On -c public 172.16.30.254 1.3.6.1.2.1.2.2.1.10.1
    .1.3.6.1.2.1.2.2.1.10.1 = Counter32: 1288756111

    snmpget -v 2c -On -c public 172.16.30.254 1.3.6.1.2.1.2.2.1.10.1
    .1.3.6.1.2.1.2.2.1.10.1 = Counter32: 1288756111

    snmpget -v 2c -Of -c public 172.16.30.254 1.3.6.1.2.1.2.2.1.10.1
    .iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifInOctets.1 = Counter32: 1288768012

    Settings in zabbix are:
    Type: SNMP v1 agent
    SNMP community: public
    SNMP OID: 1.3.6.1.2.1.2.2.1.10.1
    SNMP port: 161
    Key: ifInOctets1

    suckerd says this:

    024425:20051110:092931 Result of DBnum_rows [1]
    024425:20051110:092931 In get_value_SNMP()
    024425:20051110:092931 SNMP [[email protected]:161:161]
    024425:20051110:092931 OID [1.3.6.1.2.1.2.2.1.10.1]
    024425:20051110:092931 In get_value_SNMP() 0.2
    024425:20051110:092931 In get_value_SNMP() 0.3
    024425:20051110:092931 Status send [0]
    024425:20051110:092931 In get_value_SNMP() 0.4
    024425:20051110:092931 In get_value_SNMP() 1
    024425:20051110:092931 Error in packet
    Reason: (noSuchName) There is no such variable name in this MIB.

    and with SNMP v2 agent:

    024425:20051110:094431 In DBnum_rows
    024425:20051110:094431 Result of DBnum_rows [1]
    024425:20051110:094431 In get_value_SNMP()
    024425:20051110:094431 SNMP [[email protected]:161:161]
    024425:20051110:094431 OID [1.3.6.1.2.1.2.2.1.10.1]
    024425:20051110:094431 In get_value_SNMP() 0.2
    024425:20051110:094431 In get_value_SNMP() 0.3
    024425:20051110:094431 Status send [0]
    024425:20051110:094431 In get_value_SNMP() 0.4
    024425:20051110:094431 In get_value_SNMP() 1
    024425:20051110:094431 In get_value_SNMP() 2
    024425:20051110:094431 AV loop()
    024425:20051110:094431 value #1 has unknow type
    024425:20051110:094431 GOT VALUE [Sleeping for 60 seconds]
    024425:20051110:094431 Parameter [ifInOctets1] is not supported by agent on host [astaro.asa.nl]

    To me it looks like if zabbix is using a wrong URL. It's using the port number 2 times.

    I'm using: zabbix-server 1.0-15 from http://mirror.opf.slu.cz/zabbix/

    Can anyone shred a light here?

    Thnx,

    Arnaud
  • sphaero
    Junior Member
    • Nov 2005
    • 11

    #2
    Fixed it

    It seems this helped...



    Don't know why it didn't work with that other method...

    Comment

    Working...