Ad Widget

Collapse

zabbix monitoring network traffic case

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zzban
    Junior Member
    • Aug 2012
    • 1

    #1

    zabbix monitoring network traffic case

    Hi friends,

    Recently when I'm monitoring the network traffic with zabbix, I found the data cann't show by second. Alternatively, I wonder what data it shows.
    The official document says like this:

    Key: net.if.in[if,<mode>]
    desc: You may use this key with Delta (speed per second) in order to get bytes per second statistics.

    I don't understand what it means. Anyone can show me some example?

    Thanks & Best Regards.
    Last edited by zzban; 08-08-2012, 05:33.
  • tchjts1
    Senior Member
    • May 2008
    • 1605

    #2
    If you go to Configuration --> Hosts --> Items, you can either create a new item as per the below screenshot, or find the existing item for "Incoming traffic on interface xxxx" and click on the "clone" button at the bottom of that item, then simply adjust the values as needed.

    Incoming traffic is net.if.in
    Outgoing traffic is net.if.out

    For the <mode>, you want "bytes"
    <mode> can be bytes, packets, errors or dropped.

    See the chart on this wiki page:
    http://www.zabbix.com/documentation/...l/config/items

    Here is a screenshot for the item on one of my hosts for incoming traffic.
    Update interval for this particular server is at 5. You probably want to use 30 or 60 for yours.
    Attached Files

    Comment

    • anjiytwok
      Member
      • Dec 2012
      • 44

      #3
      Hello tchjts1,

      I have created the item for the network incoming trafic

      with the Key: net.if.in[eth0,bytes] and Type: Zabbix agent.

      I am getting the data

      But problem is that I could see accumulating the data, I did't under stand why it is accumulating the data.

      When the network trafic is less it should come down to normal, but it doest. it is showing constantly?

      is this bug? I wondered I am not doing any calcualted item, just pulling the current data.

      you see in the attached graph.
      Attached Files

      Comment

      • tchjts1
        Senior Member
        • May 2008
        • 1605

        #4
        Do you have "Store value" as "Delta - speed per second" ?
        Also, what version of Zabbix are you using? 2.x has auto-discovery (LLD) of interfaces an will automatically find all interfaces and create graphs for traffic In/Out.

        Comment

        • anjiytwok
          Member
          • Dec 2012
          • 44

          #5
          Yes. I realized just before.

          After using store as - Delta - speed per second.

          It is working fine.

          Thank you tchjts1.

          Comment

          Working...