Ad Widget

Collapse

zabbix and SNMP MIBS???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Anil
    Member
    • Sep 2004
    • 33

    #1

    zabbix and SNMP MIBS???

    HI

    Could you please explain how zabbix handles/interacts with SNMP?

    I have got a Dell machine which i want to monitor (in particular the hardware - i want to recieve traps when hardware faults occur)

    When i run the command:
    snmptranslate -m +DELL_10892 -IR chassisModelName (which should return the chassis Model) i get DELL_10892.txt: module not found...Unknown object identifier: chassisModelName

    Even if i run:
    snmpwalk -c public -v2c -OT -m[ALL ] <ip address of host>
    (the -m option is meant to load all mibs...I still can't see anything relating to the Dell hardware. The mib which i have downloaded is DELL_10892.txt i then saved this file in /usr/share/snmp/mibs. I have also add a line in the .index file (MIB-Dell-10892 DELL_10892.txt) BUT STILL NO LUCK.

    Do i have to compile the MIBS in anyway? Becuase the DELL one just isnt being read.

    Please advise! This is one thing which is preventing me from using zabbix to its full potential and as a result implementing it in a live production environment within the company.

    Please help
  • willgoh
    Junior Member
    • Mar 2005
    • 2

    #2
    Had the same problem too but solved the problem.

    I wonder is the DELL MIB stored in the right directory. for example, for me the MIBs must be stored in the /usr/local/share/snmp/mib directory....

    Comment

    • Anil
      Member
      • Sep 2004
      • 33

      #3
      Hi

      What kind of Dell machines are you monitoring? I am trying to gather snmp data relating to Dell hardware (eg fan speed, cpu temp etc) from a PowerEdge 2650 server (which incidently returns snmp values) and also a Precision 360 workstation machine. I can't seem to get anything back from the Precision 360...

      I dont know if there is anything i have to install on the 360 machine or whether i have to add a new MIB to zabbix somehow. I have tried various things including copying files to /usr/local/share/snmp/mib and /usr/local/share/snmp/mibs but still no luck. Dell tech support havent shed any light on the situation either...they recommend to use their NMS software instead - like i'm really going to do that!

      Here are some of the commands ive run so far:

      COMMAND: snmpwalk -v1 -c public <hostname> 1.3.6.1.4.1.674.10892
      OUTPUT: nothing is returned

      COMMAND: snmpwalk -v2c public <hostname> 1.3.6.1.4.1.674.10892
      OUTPUT: SNMPv2-SMI::enterprises.674.10892 = No Such Object available on this agent at this OID

      NOTICE: when I use "-v1" I get no error message, however when I use "-v2c" I get no such object....

      COMMAND: snmpwalk -v2c -c public -m ALL <hostname> 1.3.6.1.4.1.674.10892
      OUTPUT: MIB-Dell-10892::server3 = No Such Object available on this agent at this OID

      Comment

      • willgoh
        Junior Member
        • Mar 2005
        • 2

        #4
        I wasn't working on any dell machine. I thought that there is problem translating the DELL-MIB by the net-snmp on the monitering station.

        To my knowledge, the snmp agent (at the monitered station)must have the DELL-MIB incorporated otherwise no use.

        As to how to compile the DELL-MIB into the snmp agent, I have figured it out yet...

        Comment

        • riegersteve
          Member
          • Oct 2004
          • 68

          #5
          there is no real need to compile in new mib's just download them and put them in the proper dirs. i monitor windows, apache, mysql, dell, hp, xerox copiers, and much more all via snmp.

          Comment

          • sauron
            Senior Member
            • Jan 2005
            • 215

            #6
            My snmp.conf:
            Code:
            mibdirs /usr/share/snmp/mibs:/usr/share/snmp/mibs/cisco:/usr/share/snmp/mibs/kbridge
            mibs ALL
            Any questions ?

            Comment

            • Philippe
              Member
              • Oct 2004
              • 77

              #7
              hi,

              i have the same problem, and now i understand.
              the dell .mib file must be copied on my linux system, right ?
              but i don't find a file snmp.conf and my snmp works fine, i get data from alot of systems but i never had to change something in my configuration.
              i could always see everything with snmpwalk so i thought that the information is on the system and that you only read that information, so then why do you have to copy /mib files ?

              so, where can i find snmp.conf or whatever to change this ?

              grtz,
              Verus

              Comment

              • mconigliaro
                Senior Member
                • Jun 2005
                • 116

                #8
                just fyi, i dont think you ever need the mib files to do snmp monitoring. as i understand it, the mib file simply translates the oid numbers to their respective string values (for easier reading i guess). for example, the sysuptime object on a cisco router can be queried like this:

                1.3.6.1.2.1.1

                but if you load the appropriate mib, you can use this query instead:

                iso.org.dod.internet.mgmt.mib-2.system

                i hope this helps someone, unless im wrong, in which case i hope someone will correct me. =)

                Comment

                • george04
                  Junior Member
                  • Jul 2011
                  • 9

                  #9
                  hi i got a similar problem

                  Originally posted by riegersteve
                  there is no real need to compile in new mib's just download them and put them in the proper dirs. i monitor windows, apache, mysql, dell, hp, xerox copiers, and much more all via snmp.
                  Hi there Riegersteve, y think you have past by with my little problem that i have.
                  its the next thing, i see you have configure your SNMP for Xerox Copiers, well right now im dealing with some Xerox Printer Xerox centrework 5655 and xerox 7346 wich i want to monitor with zabbix.

                  i found around the web the MIBS of xerox that are something like this:
                  1. rfc1213.mib
                  2. rfc2790.mib
                  3. rfc2707.mib
                  4. rfc3808.mib
                  5. rfc3805.mib
                  6. 02common.mib
                  7. 06gentc.mib
                  8. 07gen.mib
                  9. 10hosttc.mib
                  10. 11hostx.mib
                  11. 15prtxtc.mib
                  12. 16prtx.mib
                  13. 21rsrctc.mib
                  14. 22rsrc.mib
                  15. 40jobtc.mib
                  16. 41jobmon.mib
                  17. 42jobmtc.mib
                  18. 43jobman.mib
                  19. 45pwgjmx.mib
                  20. 50commtc.mib
                  21. 51comms.mib
                  22. 52conftc.mib
                  23. 53config.mib
                  24. 58svctc.mib
                  25. 59svcmon.mib
                  26. 93pidtc.mib
                  as i see in the other comments, we could add it at the snmp.conf file, well i allready have done that, the question is how do i know its working, How do i import a Template with all this OIDs in zabbix.
                  hope you help me, and hope some have understand what my problem is.

                  Comment

                  Working...