Ad Widget

Collapse

Zabbix 1.8.7

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • angel_of_devil
    Junior Member
    • Sep 2011
    • 29

    #1

    Zabbix 1.8.7

    Dear All,

    I'm a newbie. I know Zabbix from a friend, after using for a while, I like it so much. There's one thing I don't understand:

    Below is a suggestion in forum:
    Code:
    snmpwalk -v 2c -c XXXXXXX HostIP .1.3.6.1.2.1.2.2.1.1
    IF-MIB::ifIndex.1 = INTEGER: 1
    IF-MIB::ifIndex.2 = INTEGER: 2
    IF-MIB::ifIndex.3 = INTEGER: 3
    IF-MIB::ifIndex.4 = INTEGER: 4
    IF-MIB::ifIndex.5 = INTEGER: 5
    IF-MIB::ifIndex.6 = INTEGER: 6
    IF-MIB::ifIndex.7 = INTEGER: 7
    IF-MIB::ifIndex.8 = INTEGER: 8
    IF-MIB::ifIndex.9 = INTEGER: 9
    IF-MIB::ifIndex.10 = INTEGER: 10
    IF-MIB::ifIndex.11 = INTEGER: 11
    IF-MIB::ifIndex.12 = INTEGER: 12
    IF-MIB::ifIndex.13 = INTEGER: 13
    IF-MIB::ifIndex.14 = INTEGER: 14
    IF-MIB::ifIndex.15 = INTEGER: 15
    IF-MIB::ifIndex.16 = INTEGER: 16
    IF-MIB::ifIndex.17 = INTEGER: 17
    IF-MIB::ifIndex.18 = INTEGER: 18
    IF-MIB::ifIndex.19 = INTEGER: 19
    IF-MIB::ifIndex.20 = INTEGER: 20
    IF-MIB::ifIndex.21 = INTEGER: 21
    IF-MIB::ifIndex.22 = INTEGER: 22
    IF-MIB::ifIndex.23 = INTEGER: 23
    IF-MIB::ifIndex.24 = INTEGER: 24
    IF-MIB::ifIndex.25 = INTEGER: 25
    IF-MIB::ifIndex.26 = INTEGER: 26
    IF-MIB::ifIndex.27 = INTEGER: 27
    IF-MIB::ifIndex.28 = INTEGER: 28
    IF-MIB::ifIndex.29 = INTEGER: 29
    IF-MIB::ifIndex.30 = INTEGER: 30
    IF-MIB::ifIndex.31 = INTEGER: 31
    IF-MIB::ifIndex.32 = INTEGER: 32
    IF-MIB::ifIndex.33 = INTEGER: 33
    IF-MIB::ifIndex.34 = INTEGER: 34
    IF-MIB::ifIndex.35 = INTEGER: 35
    IF-MIB::ifIndex.36 = INTEGER: 36
    IF-MIB::ifIndex.37 = INTEGER: 37
    But the result for me:
    Code:
    iso.3.6.1.2.1.2.2.1.1.1 = INTEGER: 1
    iso.3.6.1.2.1.2.2.1.1.10001 = INTEGER: 10001
    iso.3.6.1.2.1.2.2.1.1.10002 = INTEGER: 10002
    iso.3.6.1.2.1.2.2.1.1.10003 = INTEGER: 10003
    iso.3.6.1.2.1.2.2.1.1.10004 = INTEGER: 10004
    iso.3.6.1.2.1.2.2.1.1.10005 = INTEGER: 10005
    iso.3.6.1.2.1.2.2.1.1.10006 = INTEGER: 10006
    iso.3.6.1.2.1.2.2.1.1.10007 = INTEGER: 10007
    iso.3.6.1.2.1.2.2.1.1.10008 = INTEGER: 10008
    iso.3.6.1.2.1.2.2.1.1.10009 = INTEGER: 10009
    iso.3.6.1.2.1.2.2.1.1.10010 = INTEGER: 10010
    iso.3.6.1.2.1.2.2.1.1.10011 = INTEGER: 10011
    iso.3.6.1.2.1.2.2.1.1.10012 = INTEGER: 10012
    iso.3.6.1.2.1.2.2.1.1.10013 = INTEGER: 10013
    iso.3.6.1.2.1.2.2.1.1.10014 = INTEGER: 10014
    iso.3.6.1.2.1.2.2.1.1.10015 = INTEGER: 10015
    iso.3.6.1.2.1.2.2.1.1.10016 = INTEGER: 10016
    iso.3.6.1.2.1.2.2.1.1.10017 = INTEGER: 10017
    iso.3.6.1.2.1.2.2.1.1.10018 = INTEGER: 10018
    iso.3.6.1.2.1.2.2.1.1.10019 = INTEGER: 10019
    iso.3.6.1.2.1.2.2.1.1.10020 = INTEGER: 10020
    iso.3.6.1.2.1.2.2.1.1.10021 = INTEGER: 10021
    iso.3.6.1.2.1.2.2.1.1.10022 = INTEGER: 10022
    iso.3.6.1.2.1.2.2.1.1.10023 = INTEGER: 10023
    iso.3.6.1.2.1.2.2.1.1.10024 = INTEGER: 10024
    iso.3.6.1.2.1.2.2.1.1.10101 = INTEGER: 10101
    iso.3.6.1.2.1.2.2.1.1.10102 = INTEGER: 10102
    iso.3.6.1.2.1.2.2.1.1.10501 = INTEGER: 10501
    Can anyone explain for me? How to get result like ifIndex?
    I install Zabbix 1.8.7 on Debian 6 with PostgreSQL
    Tks
  • ghoz
    Senior Member
    • May 2011
    • 204

    #2
    IF-MIB::ifIndex is a shorthand for 1.3.6.1.2.1.2.2.1.1

    the snmp tools you use aparently don't have acces to the IF-MIB , a text file containig definitions for the specific "intefaces" snmp subtree.

    as for the index number, the machine you query decided to use indexes in the 10000 range. it's up to the manufacturer to pick an index to identify the port/interface ...

    Comment

    • angel_of_devil
      Junior Member
      • Sep 2011
      • 29

      #3
      Originally posted by ghoz
      IF-MIB::ifIndex is a shorthand for 1.3.6.1.2.1.2.2.1.1

      the snmp tools you use aparently don't have acces to the IF-MIB , a text file containig definitions for the specific "intefaces" snmp subtree.

      as for the index number, the machine you query decided to use indexes in the 10000 range. it's up to the manufacturer to pick an index to identify the port/interface ...
      Thanks for your explain. I installed Zabbix as the guide from Zabbix wiki: http://www.zabbix.com/wiki/howto/ins...8_on_debian_50

      There's no way to solve this without rebuilding Zabbix by command ./configure with another SNMP tool???

      Comment

      • ghoz
        Senior Member
        • May 2011
        • 204

        #4
        your "issue" is unrelated to zabbix,
        it's just your snmp tools that don't have the mib files...

        I don't think it should cause any issue for zabbix itself .
        beside the fact that your device is replying in the 10000 range, meaning you have to rework all your items so the indexes the right ones...

        Comment

        • angel_of_devil
          Junior Member
          • Sep 2011
          • 29

          #5
          install snmp-mibs-downloader solve this problem

          Comment

          Working...