Ad Widget

Collapse

Ethernet Speed Error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevefxp
    Senior Member
    • Aug 2020
    • 168

    #1

    Ethernet Speed Error?

    Hello all,

    My Zabbix server is a VM running on Proxmox. When I look at the latest data for the server it has an error on the speed of the ethernet interface. The error message is: Value of type "double" is not suitable for value type "Numeric (unsigned)". Value "-1000000". Is this an error I can resolve? I have never seen this.

    Thanks,
    Steve
  • grumpy_meow
    Junior Member
    • Mar 2024
    • 1

    #2

    I have the same error message. But understand where the error is comming from. This error is caused by having a device with LAN-ports without any cable in it. On my device it will register the speed on that LAN-port as "-1".
    For example on my OpenWRT device:
    Code:
    cat /sys/class/net/lan1/speed
    -1 <= no-cable/disconnected
    cat /sys/class/net/lan2/speed
    100 <= 100mbit
    cat /sys/class/net/lan4/speed
    1000 <=1gb
    In the preprocessor of the item, i see the "Custom multiplier" set to "1000000". So doing the three-dimensional lineair algebra, it will result in: "-1000000". Which is a "signed" (possibly negative) number and cause the error.

    As i'm pretty new to Zabbix, i've yet to find a nice solution for this. I think that replacing the value of "-1" with "0" would make sense, but will have to find out how i can do this. Probably somewhere at the item-prototype level.

    Have you found a solution already?

    Comment

    Working...