Ad Widget

Collapse

OmniOS Emulex oceN driver: IO is always 0 bytes

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CeeEss
    Senior Member
    Zabbix Certified Specialist
    • Nov 2007
    • 103

    #1

    OmniOS Emulex oceN driver: IO is always 0 bytes

    agentd returns octets (bytes) in/out for any other type of interface: ixgbe, igb, bnx under OmniOS (Illumos/Solaris offshoot), but always returns 0 for Emulex oceN devices Device path is exactly as would be for the Intel interfaces (;dev/oce0, /dev/oce1, /dev/ixgbe0, etc)).

    Item key, type agent, is: net.if.in[oce0,bytes]

    > zabbix_get -s myhost -k"net.if.in[oce0,bytes]"
    0

    > zabbix_get -s otherhost -k"net.if.out[ixgbe0,bytes]"
    22265593295566

    thanks
  • kloczek
    Senior Member
    • Jun 2006
    • 1771

    #2
    Originally posted by CeeEss
    agentd returns octets (bytes) in/out for any other type of interface: ixgbe, igb, bnx under OmniOS (Illumos/Solaris offshoot), but always returns 0 for Emulex oceN devices Device path is exactly as would be for the Intel interfaces (;dev/oce0, /dev/oce1, /dev/ixgbe0, etc)).

    Item key, type agent, is: net.if.in[oce0,bytes]

    > zabbix_get -s myhost -k"net.if.in[oce0,bytes]"
    0

    > zabbix_get -s otherhost -k"net.if.out[ixgbe0,bytes]"
    22265593295566

    thanks
    Solaris specific code in agent is using kstat(3) interface so please try to check first what returns command
    Code:
    kstat -p link:0:oce0:*bytes*
    If in output of this command you will see zeroes as well it will mean that this driver has incorrectly implemented exposing network driver metrics over kstat() KAPI.
    Last edited by kloczek; 08-09-2015, 11:05.
    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

    • CeeEss
      Senior Member
      Zabbix Certified Specialist
      • Nov 2007
      • 103

      #3
      Aha ....

      kstat -p link:0ce0:*bytes*

      link:0ce0bytes 0
      link:0ce0bytes64 0
      link:0ce0:rbytes 0
      link:0ce0:rbytes64 0

      Thank you, kloczek!

      Comment

      Working...