Ad Widget

Collapse

Monitoring SNMP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Super000
    Junior Member
    • Dec 2009
    • 10

    #1

    Monitoring SNMP

    Ok, so I am SUPER new to Zabbix. But I like what I see.....forgive me for my lack of knowing what is going on here, but I want to figure out how to set up zabbix to monitor a server without an agent. I can get it to work with the agent, but we are in testing phase of new products to use and I need to get this thing to work with SNMP. I've done the whole SNMPWALK on the zabbix server and get a ton of returned info...so the settings seem right as far as that goes. I have read post after post and I seriously need a step by step configuration of how to get a server monitored via SNMP. Someone just walk me through a simple add of host....and set it up to monitor up/down....cpu, disk space, memory. I just need to how it's set up from ground zero and I can work from there.

    I really appreciate the time in helping me with this. I will note that I am working with another tech that has installed zabbix on a CentOS machine. We are using Zabbix 1.6.7.

    Also when I create a host and choose either the snmp v1 or snmp v2 templates, I see on the far right under items that the status says "Not Supported" and under Error it says "Support of SNMP parameters was not compiled in"

    Again, we are new to zabbix and would love to use it. Just need the nudge to get over the learning curve here.

    Thanks
  • dmarsh
    Junior Member
    • Jun 2009
    • 17

    #2
    It sounds like you need to configure and compile the server again with "--with-net-snmp" flag.

    There's a simple SNMP template built in that's a good place to start.

    Comment

    • Super000
      Junior Member
      • Dec 2009
      • 10

      #3
      Installed

      We actually found that and compiled it in...now what.

      Comment

      • MrKen
        Senior Member
        • Oct 2008
        • 652

        #4
        Monitoring Linux with SNMP

        Hi Super000,

        Don't forget you will also need to have snmp installed and running on the linux servers to be monitored.

        This link will give you a list of useful OID's for monitoring linux: http://www.sysadmin.md/most-useful-snmp-oids.html

        This link I find useful for finding out more information about various OID's, e.g Type of Information, etc. : http://support.ipmonitor.com/mibs_byoidtree.aspx

        And here are some other OID's that I use for monitoring disk space on linux:

        hrStorageSize 1.3.6.1.2.1.25.2.3.1.5.
        hrStorageUsed 1.3.6.1.2.1.25.2.3.1.6.
        hrStorageType 1.3.6.1.2.1.25.2.3.1.2
        hrStorageDescr 1.3.6.1.2.1.25.2.3.1.3
        hrStorageAllocationUnits 1.3.6.1.2.1.25.2.3.1.4


        1. Do some snmpwalks to determine that you can get the data you need.

        2. Add Items to zabbix in Configuration of Items.

        e.g Key = 1.3.6.1.2.1.25.2.3.1.5.1

        Units = hrStorageSize.1

        [You should be able to snmpwalk both those values and get the same result].

        Type of Information: will depend on what sort of value is returned.

        When monitoring disk space you will need to check the values from hrStorageAllocationUnits 1.3.6.1.2.1.25.2.3.1.4 to find the necessary Multiplier. I'm sure you'll work it out.

        Well, that should be enough to keep you going for now. Good luck, if you have any problems or questions, don't hesitate.

        MrKen
        Disclaimer: All of the above is pure speculation.

        Comment

        • Super000
          Junior Member
          • Dec 2009
          • 10

          #5
          Still........

          Well I'm glad people are responding but it seems like I get stuck at every corner.......now I'm just trying to focus on getting a simple ping check set up to alert me if a host is down.....but I can't even get it to do that.......with an agent installed on a windows box....I am able to set up alerting and I can get email alerts......now trying to set zabbix up for a simple ping check and to alert me if it's not up is getting me nowhere. The dashboard shows it's down....yet it's not taking "Action" to send me an email based on that trigger.

          I set up a host.....just IP address, added it to the Windows Server Group and created a generic template called Ping_Check and associated that template to that host. I created an Item within that Ping_Check template called Ping_Check Down (type: simple check -- key: icmpping -- Type of information: Numeric (unsigned) -- update interval: 30 sec.)..........then created a Trigger called "Device Down" (Expression: {Ping_Check:icmpping.last(0)}<1 and I've even tried {Ping_Check:icmpping.last(0)}=0 ) with severity HIGH......then created an action called "Device Ping Unresponsive" with the triggers as the source....default subject and message, added a condition of " Trigger = Device Down" and set it up to email me when it is triggered


          Yet all I see is in the dashboard where it shows that the server is down......but no email....and email is working cause I have an agent set up with a service alert and it emails me fine. What gives????? I'm banging my head against the wall right about now.
          Last edited by Super000; 11-12-2009, 08:09. Reason: wrong wording

          Comment

          • MrKen
            Senior Member
            • Oct 2008
            • 652

            #6
            [Change of subject, should start a new thread - not to worry]

            It shows on the dashboard means that the trigger works fine.

            No email means, usually, that the user (presumably You) doesn't have the necessary permissions for that host. Do you have a minimum 'read' permission for that host?

            Next thing to check is your Action configuration. Try adding a condition to the trigger: Trigger value = Problem

            MrKen
            Disclaimer: All of the above is pure speculation.

            Comment

            • Super000
              Junior Member
              • Dec 2009
              • 10

              #7
              Still..........

              I tried adding the trigger value = Problem ....tried the and / or still nothing. As far as permissions.....how do you mean. It is a simple ping check, what rights do I have to have? I'm a domain/enterprise admin. Is there other rights that need to be set up somewhere within the zabbix config for that??

              Also not to change the subject....but it may all be tied to why this isn't working. I'm noticing that on the dashboard....where it shows Status of Zabbix....I'm seeing this:

              ZABBIX server is running = No

              Would this cause zabbix to be able to email me from an agent monitored device and not a simple fping? Could this also be why SNMP may not be working like it should?

              If so....can you tell me what to look for and to start/restart?

              Comment

              • MrKen
                Senior Member
                • Oct 2008
                • 652

                #8
                Permissions. Administration --> Users, click on the username. On the next screen at the bottom, User rights (show). Check that you have read or write permission for that (and every) device.
                If No, then in the dropdown at the top right select User Groups. This is where you grant permissions to devices.

                Zabbix server is running = No. This is probably not a problem. Sorry but I'm a bit busy at the moment, but I would do this:

                Google "Zabbix server is running" site:zabbix.com

                MrKen
                Disclaimer: All of the above is pure speculation.

                Comment

                • Super000
                  Junior Member
                  • Dec 2009
                  • 10

                  #9
                  Upgraded

                  We decided to upgrade to 1.8 with new install and Simple check seems to work along with other features. Our problem must of have been just the way we installed the previous version.

                  Thanks.

                  Comment

                  Working...