Ad Widget

Collapse

Geist Watchdog 100-P SNMP Monitoring

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fj1200
    Junior Member
    • Jul 2016
    • 15

    #1

    Geist Watchdog 100-P SNMP Monitoring

    Greetings all,

    Have just installed a Geist Watchdog 100-P with external temp/humidity sensor in our main server room and would really like to be able to monitor the temperature sensors with Zabbix 3.0.

    Zabbix is running on CentOS 7, I have the MIBs in the mib directory, and it returns some of the basic info - Hostname, contact, location etc but I've spent most of yesterday and today struggling to get the temp. details. I have created items, deleted items, recreated them, I have a template for it - called Template Geist Watchdog 100 - but I'm really struggling to get this working. The items show as Unsupported.

    I've tried referencing the mibs as shown in many examples and in other items and templates, tried all sorts of things. No good.

    This is my first foray into Template creation and I would really like to nail it as much for my own interest as anything, but I would really like to get this working. Has anyone got any experience with these and any pointers? I'm a bit stumped.

    I have SNMPBuilder installed but just get a blank page - assume that since it hasn't been touched in 7 years its not going to work with 3.0?
  • batchenr
    Senior Member
    • Sep 2016
    • 440

    #2
    Originally posted by fj1200
    Greetings all,

    Have just installed a Geist Watchdog 100-P with external temp/humidity sensor in our main server room and would really like to be able to monitor the temperature sensors with Zabbix 3.0.

    Zabbix is running on CentOS 7, I have the MIBs in the mib directory, and it returns some of the basic info - Hostname, contact, location etc but I've spent most of yesterday and today struggling to get the temp. details. I have created items, deleted items, recreated them, I have a template for it - called Template Geist Watchdog 100 - but I'm really struggling to get this working. The items show as Unsupported.

    I've tried referencing the mibs as shown in many examples and in other items and templates, tried all sorts of things. No good.

    This is my first foray into Template creation and I would really like to nail it as much for my own interest as anything, but I would really like to get this working. Has anyone got any experience with these and any pointers? I'm a bit stumped.

    I have SNMPBuilder installed but just get a blank page - assume that since it hasn't been touched in 7 years its not going to work with 3.0?
    Hi,

    first i suggest you this:

    as for snmp, i added my snmp conf file this:

    /etc/snmp/snmp.conf

    mibdirs /usr/share/snmp/mibs/
    defVersion 2c
    defCommunity trafficview
    mibs +ALL

    and it is reloading automatically all mibs when i restart snmp.
    add all your mibs to your file, i added them to : /usr/share/snmp/mibs/

    after that restart snmp

    now, you can run this command to make you a file with all available objects from the MIB :

    #snmptranslate -m ~/.snmp/mibs/FORTINET-FORTIGATE-MIB.mib -Tz > txtfile.txt

    of course replace the ~/.snmp/mibs/FORTINET-FORTIGATE-MIB.mib to your own MIB path
    and then check the txt file- it will contain all the objects.

    then start to test it on you device with snmpget
    not all items are going to work! so you need to check them first before adding them as an item to zabbix.

    if you cant find anything matching - try to search more MIBfiles of this device, ask the manufacturer or try to check with existing MIBs that have global objects like IF-MIB .

    if you run snmpwalk on your device it will show you all obects available as
    an output


    hope it helps.

    Comment

    • fj1200
      Junior Member
      • Jul 2016
      • 15

      #3
      Hi @batchenr,

      Thanks for the reply. I'll have a look - when I manage to get Zabbix server running again - I think I broke it on Friday - updated to 3.0.7 and now the server won't start. Doh!

      Comment

      • fj1200
        Junior Member
        • Jul 2016
        • 15

        #4
        Fixed Zbx - simple typo! taken me all Friday afternoon and yesterday morning to find it: was in zabbix_server.conf - SNMPTrapperfile - typo was lowercase 'f'. Should be SNMPTrapperFile. So simple to overlook!

        Right - on with SNMP. The Geist mib is called geist_bb_mib.mib and has a csv mapping file with it that is really useful and gives all the OIDs of every element - there are quite a lot. It returns as GEIST-V4-MIB from snmpwalk.

        So if I then run

        Code:
        snmpwalk -v 2c -c public xxx.xx.xxx.xxx GEIST-V4-MIB::airFlowSensorTemp
        then it returns:

        Code:
        GEIST-V4-MIB::airFlowSensorTemp.1 = INTEGER: 199 0.1 Degrees
        Fantastic! 0.1 is the multiplier, no probs there. So following the Zabbix 3.0 docs - if I enter airFlowSensorTemp in the Template Discovery Rule Key field and the following into the OID field:

        Code:
        discovery[{#SNMPVALUE},airFlowSensorTemp]
        it should work - yet comes back greyed out and 'unsupported'. Even in I use the numeric value of the OID. Can anyone point out where I'm going wrong here? Feel like I'm getting somewhere and that I'm so close but missing it.

        Should I have 'airFlowSensorTemp.1' from snmpwalk? Should I be using #SNMPINDEX?

        Not working with the Template Items either.
        Last edited by fj1200; 17-01-2017, 10:56.

        Comment

        • batchenr
          Senior Member
          • Sep 2016
          • 440

          #5
          Originally posted by fj1200
          Fixed Zbx - simple typo! taken me all Friday afternoon and yesterday morning to find it: was in zabbix_server.conf - SNMPTrapperfile - typo was lowercase 'f'. Should be SNMPTrapperFile. So simple to overlook!

          Right - on with SNMP. The Geist mib is called geist_bb_mib.mib and has a csv mapping file with it that is really useful and gives all the OIDs of every element - there are quite a lot. It returns as GEIST-V4-MIB from snmpwalk.

          So if I then run

          Code:
          snmpwalk -v 2c -c public xxx.xx.xxx.xxx GEIST-V4-MIB::airFlowSensorTemp
          then it returns:

          Code:
          GEIST-V4-MIB::airFlowSensorTemp.1 = INTEGER: 199 0.1 Degrees
          Fantastic! 0.1 is the multiplier, no probs there. So following the Zabbix 3.0 docs - if I enter airFlowSensorTemp in the Template Discovery Rule Key field and the following into the OID field:

          Code:
          discovery[{#SNMPVALUE},airFlowSensorTemp]
          it should work - yet comes back greyed out and 'unsupported'. Even in I use the numeric value of the OID. Can anyone point out where I'm going wrong here? Feel like I'm getting somewhere and that I'm so close but missing it.

          Should I have 'airFlowSensorTemp.1' from snmpwalk? Should I be using #SNMPINDEX?

          Not working with the Template Items either.
          it depends-
          is the :

          Code:
          GEIST-V4-MIB::airFlowSensorTemp.1 = INTEGER: 199 0.1 Degrees
          is the value you wanted ?
          why wont you put it in a snmp item [Which you need to create] and not Discovery Rule ?

          Comment

          • fj1200
            Junior Member
            • Jul 2016
            • 15

            #6
            Morning @batchenr

            Got the Template Items working now.

            I think it was confusion on my part TBH. Don't need the discovery rules after all, Items working a treat now, graphs working, and I am a very happy bunny. Many thanks for your help.

            Comment

            • batchenr
              Senior Member
              • Sep 2016
              • 440

              #7
              Originally posted by fj1200
              Morning @batchenr

              Got the Template Items working now.

              I think it was confusion on my part TBH. Don't need the discovery rules after all, Items working a treat now, graphs working, and I am a very happy bunny. Many thanks for your help.
              sure

              please if you can add what did you set (even as a screen shot) for others.

              Comment

              • danieldemoraisgurgel
                Junior Member
                • Feb 2018
                • 1

                #8
                Originally posted by batchenr
                sure

                please if you can add what did you set (even as a screen shot) for others.
                Could you send a screenshot of how was your setup? I have this equipment and I have the same difficulty... followed all the steps but it still did not work.





                Attached Files

                Comment

                Working...