Ad Widget

Collapse

Monitor Windows total Send / Received On network

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acokeaday
    Junior Member
    • Oct 2013
    • 6

    #1

    Monitor Windows total Send / Received On network

    Hi,

    I would like to monitor total network in and out from a particular node.

    I know at current the traffic monitored is separated by NIC.

    I would like to have a total.

    At current I've tried using the following Keys:

    perf_counter["\Network Interface(*)\Bytes Received/sec"]
    perf_counter["\Network Interface(*)\Bytes Sent/sec"]

    net.if.in[,bytes]
    net.if.out[,bytes]

    net.if.in[{IPADDRESS},bytes]
    net.if.out[{IPADDRESS},bytes]
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    You could:
    - define a stacked graph where both values are displayed one above the other, showing the total sum of both values. But there is no calculation done
    - define a "calculated item" which simply reads
    {net.if.in[,bytes].last(0)} + {net.if.out[,bytes].last(0)}


    P.S.
    "net.if.in[{IPADDRESS},bytes]" and "net.if.out[{IPADDRESS},bytes]" are not supported I'm afraid

    net.if.XX expects an interface name as parameter, not an IP address.

    Comment

    • acokeaday
      Junior Member
      • Oct 2013
      • 6

      #3
      Hi steveboyson,

      Thank you for the reply. I'm afraid i don't understand how to go about doing it.


      I understand the concept where by i have stacked data.

      do i put this in the key field when creating an item?

      {net.if.in[,bytes].last(0)} + {net.if.out[,bytes].last(0)}

      how will i add a wild card as the interface parameter

      Comment

      • steveboyson
        Senior Member
        • Jul 2013
        • 582

        #4
        You have to create a stacked graph and select the previously "autocreated" items as graph "members".

        If you're using Zabbix 2.x there is a bulitin autodiscovery rule which detects all network interfaces.

        Simply add a graph prototype in the template "Template OS Windows" as shown in the picture.


        For a calculated item, create a new "item prototype" of type "Calculated", see 2nd screenshot.

        Comment

        • acokeaday
          Junior Member
          • Oct 2013
          • 6

          #5
          hi steveboyson,

          I think i may have structured my question wrongly.

          I would like to have 2 graph data.

          1- in
          eg, nic: lan1, lan2

          net.if.in(lan1,) + net.if.in(lan2,)

          but since it is auto discovered, how am i able to have it all sum together

          2-out

          likewise:
          eg, nic: lan1, lan2

          net.if.out(lan1,) + net.if.out(lan2,)

          is there a wild card i can use, in auto discover like net.if.in(*,) or net.if.in(#ifname.last(0))

          Comment

          • steveboyson
            Senior Member
            • Jul 2013
            • 582

            #6
            Ok, you want to sum values from different NICs.

            Then you cannot use the discovery rules or templates.
            Go to your host and create host items. There you can pick the already discovered NICs and create new graphs, items, triggers etc.

            You might need to quote {#IFNAME} in your formula.

            EDIT:
            rather use:
            last("net.if.out[NIC1]") + last("net.if.out[NIC2]") as described in https://www.zabbix.com/documentation...pes/calculated

            Substitute NIC1 and NIC2 with your current NIC names as discovered.
            Last edited by steveboyson; 08-10-2013, 12:08.

            Comment

            Working...