Ad Widget

Collapse

Item key for Calculating Network Traffic per process

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mkdr27
    Junior Member
    • Oct 2016
    • 9

    #1

    Item key for Calculating Network Traffic per process

    Hi I'm using Zabbix 3.2.

    I want to calculate the traffic statistics on network interface based on the program name.

    Like for getting total incoming traffic, we use net.if.in[if,<mode>] , by same way is it possible to retreive traffic utilized by a particular running process. If so, pls share the Item key.

    Thanks in advance.
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    ah, looks like you also asked the same question on stackoverflow - see my answer at http://stackoverflow.com/questions/3...41877#39941877
    Zabbix 3.0 Network Monitoring book

    Comment

    • kloczek
      Senior Member
      • Jun 2006
      • 1771

      #3
      Zabbix can monitor anything what is possible to present in forms of numbers or strings.
      There is no such possibility OOTB because none of the system provides observability of network traffic on process level.
      http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
      https://kloczek.wordpress.com/
      zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
      My zabbix templates https://github.com/kloczek/zabbix-templates

      Comment

      • guzzijason
        Senior Member
        • Dec 2015
        • 106

        #4
        If nethogs doesn't work for you as previously mentioned, you might also want to look at the sysdig package, which uses a kernel module to help expose these sorts of per-process metrics. Of course, assuming you can get it working, integration with zabbix would be a completely separate issue.

        __Jason

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #5
          If monitored processes are appearing and disapearing monitoring dynamically network traffic per process is a bit pointless because it will be problem of data continuallity in exact metrics.
          If processes are fixed definitelly they will be bind to exact udp/tcp port so full equivalent of per process monitoring will be per port monitoring which quite easy to implemnet using OOTB modules allowing to create accounting rules per protocol/port.

          In other words if anyone is thinking that he/she needs something like per process network monoitoring he/she meybe right .. he/she is only thinking.
          http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
          https://kloczek.wordpress.com/
          zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
          My zabbix templates https://github.com/kloczek/zabbix-templates

          Comment

          Working...