Ad Widget

Collapse

how to graph network traffic using snmp?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rootlinux
    Member
    • Dec 2004
    • 32

    #1

    how to graph network traffic using snmp?

    Hi,

    I am using Zabbix 1.1alpha5 and it works great...

    Now, I am starting to try to monitor the network traffic for a Motorola Canopy via snmp v2.

    I am monitoring the below snmp v2 key: -
    ifInOctets1
    ifOutOctets1

    Am I correct? It seems that the graph I am getting is not like the normal one...the graph line keeps on increasing...



    Please someone help me...guide me, thanks.
  • lbergman
    Junior Member
    • Feb 2005
    • 13

    #2
    You might try storing the value as a delta in the itme config. If stored as is the graph just grows. The rfc specs that traffic values like you are graphing are an ever increasing value and what you really want is likely the difference between the value you got last and the one you have now.

    By the way, I am trying to graph a canopy unit as an experiment and can't seem to get the radiodbm value to return. Had luck with this?

    Comment

    • rootlinux
      Member
      • Dec 2004
      • 32

      #3
      Below is my config: -

      Description: ifInOctets1
      Host: canopy.001
      Type: SNMPv2 agent
      SNMP community: Canopy
      SNMP OID: 1.3.6.1.2.1.2.2.1.10.1
      SNMP Port: 161
      Key: ifInOctets1
      Units:
      Use multiplier: Do not use
      Update interval (in sec): 60
      Keep history (in days): 365
      Keep trends (in days): 365
      Status: Monitored
      Type of information: Numeric
      Store value: Delta (simple change)

      What do you think I should put in the "Units"?

      The graph I am getting is a "packets transferred" or "bytes transferred"?

      Comment

      • lbergman
        Junior Member
        • Feb 2005
        • 13

        #4
        "b"
        If you use this the graph will be marked in bytes Kilobytes, or Megabytes as appropriate.

        Comment

        • blazergst
          Junior Member
          • Nov 2007
          • 10

          #5
          dBm

          lbergman

          I use for dBm:

          SNMPv2
          OID .1.3.6.1.4.1.161.19.3.2.2.8.0
          Store as Numeric(float)
          multiplier is -1
          Store value as is

          Comment

          • georgew
            Member
            • Mar 2008
            • 50

            #6
            I'm still trying to figure out which end is up on zabbix...

            So far I have it discovering the various nodes in a sprawling canopy network, but I have not figured out how to graph any of the details.

            Can someone share the basic method of creating a canopy graph?

            My hope is that I can build a templates for the sm, ap, backhaul, and router devices once, and let auto-discovery populate the system (and remove them). I think I have the auto-discovery and auto-removal (after 30 days) working fine, but I have not yet figured out how to graph the data yet.

            A quick how-to would be great... I have found many of the needed elements in the zabbix menues, but I don't know how to put it all together yet.

            This was much easier under cacti, but I like the idea of using zabbix to do a templated auto-discovery. I have specific private network ranges for the various classes of devices, so I can tell what kind of device I am discovering based on the ip range it is in. So it should be simply a matter of creating templates with appropriate graphs... Then it should all fall neatly into place.

            I'll do my server room next, but I have a feeling that will be easier.

            George

            Comment

            • georgew
              Member
              • Mar 2008
              • 50

              #7
              motorola canopy

              Well, I'm back for a second try at this. I'm shocked that there are no answers to what I thought were simple questions.

              Are there any canopy users out there?

              I will document and post everything i figure out, but it would be helpful to hear from some zabbix-canopy users to see what all they are doing...


              Thanks in advance!
              George

              Comment

              • jroberson
                Senior Member
                • May 2008
                • 124

                #8
                Can you snmpwalk the devices? (Check out page 111 in the Zabbix manual) If you can get that working then try the generic SNMP templates in Zabbix and see if any of the standard OIDs will work for you. You can then use those as starting points to refine your specific items using the SNMP utilities in Linux (or you can find others on the Internet). You should also check the Zabbix Wiki for other templates. Once you have one device working you can try another and see if any of the OIDs change on you. Once you have your Canopy template finished, share it on the wiki.

                Comment

                • georgew
                  Member
                  • Mar 2008
                  • 50

                  #9
                  Well, I finally made some breakthroughs. I was having a lot of SNMP problems that were due to bugs, and stale documentation... But I now have working graphs, so I'm on my way to building up a template.

                  Comment

                  • georgew
                    Member
                    • Mar 2008
                    • 50

                    #10
                    Originally posted by blazergst
                    lbergman

                    I use for dBm:

                    SNMPv2
                    OID .1.3.6.1.4.1.161.19.3.2.2.8.0
                    Store as Numeric(float)
                    multiplier is -1
                    Store value as is
                    I tried this and got the error:

                    Type of received value [-69 dBm] is not suitable for value type [Numeric (float)]

                    It looks like I'm getting a mixed value, a number and a string. Is there a way to trim the string off?

                    Comment

                    Working...