Ad Widget

Collapse

v1.1.4 - interfaces' names problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MicRofT
    Junior Member
    • May 2006
    • 2

    #1

    v1.1.4 - interfaces' names problem

    I found a problem with reading network interfaces' names from /proc/net/dev. It appears that the function used for that purpose doesn't read (or deletes) the last sign - the effect can be easily seen in /tmp/zabbix_agentd.tmp:

    netloadout1[eth] 1710.933333
    netloadout5[eth] 2308.266667
    netloadout15[eth] 2596.977778
    netloadin1[eth] 6976.000000
    netloadin5[eth] 9639.253333
    netloadin15[eth] 10141.013333
    netloadout1[l] 99.133333
    netloadout5[l] 78.586667
    netloadout15[l] 76.457778
    netloadin1[l] 99.133333
    netloadin5[l] 78.586667
    netloadin15[l] 76.457778
    netloadout1[tunl] 7249.066667
    netloadout5[tunl] 12103.680000
    netloadout15[tunl] 12512.426667
    netloadin1[tunl] 1318.400000
    netloadin5[tunl] 4470.613333
    netloadin15[tunl] 4633.884444

    And when You have more than one eth interface, zabbix_agentd computes the traffic as a summary for them, not separately.
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for reporting this! The issue is fixed in 1.1.5 (not released yet).
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...