Ad Widget

Collapse

As network traffic monitor generically in gnu/linux?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flako
    Member
    • Sep 2011
    • 40

    #1

    As network traffic monitor generically in gnu/linux?

    Hi I have zabbix-1.8.7
    I'm looking for how to monitor network interfaces in a generic way so as not to be carrying the name of the interface net.if.in [NameInterface, bytes] for each particular host

    In windows I found (in the forum) I can use the macro "{IPADDRESS}" with:
    Key = net.if.in [{IPADDRESS}, bytes] or zabbix_get sNomnreHost-p10050-Key = net.if.in [192.168.5.5, bytes] and runs smoothly.

    Linux host but have not found a way. Having to carry multiple items for each ethX, have diplicaods the trigger and graphics, is very tedious ..

    Any way to recover the incoming traffic interfaces generic way?

    Thank you,
    Sorry for using a translator
  • keul
    Junior Member
    • Nov 2011
    • 11

    #2
    Try with that :

    http://www.zabbix.com/documentation/...xtending_agent

    Comment

    • flako
      Member
      • Sep 2011
      • 40

      #3
      Originally posted by keul
      Hello, you know that it had made for windows host until he discovered "net.if.in [{IPADDRESS} bytes]"

      In GNU/Linux host, make a script that modifies the file / etc/udev/rules.d/30-net_persistent_names.rules so it is eth0, but not very clean ..
      I liked what the macro {IPADDRESS}, but I have to use userparam
      as you say

      Thank you.

      Comment

      Working...