HP Flexnetwork

Dashboard

Dashboard for HP Flexnetwork / Flexfabric Network gear with Comware OS. Telegraf Config included.
Last updated: 2 years ago

Downloads: 258

Reviews: 0

  • Screenshot from 2019-02-11 20-41-23.png
    Screenshot from 2019-02-11 20-41-23.png

If you think HPE IMC is too slow and ugly, pull you stats to InfluxDB and visualise with Grafana.

You need a Telegraf as Collector with the above Config, as well as SNMP Read access to the Switch you want to pull Metrics from.

Collector Configuration Details

[[inputs.snmp]]
  agents = [ "snmpagent1",
             "snmpagent2"
       ]
  version = 2
  community = "public"

  [[inputs.snmp.field]]
    name = "sysName"
    oid = "SNMPv2-MIB::sysName.0"
    is_tag = true

  [[inputs.snmp.field]]
    name = "sysLocation"
    oid = "SNMPv2-MIB::sysLocation.0"

  [[inputs.snmp.field]]
    name = "uptime"
    oid = "DISMAN-EVENT-MIB::sysUpTimeInstance"

  [[inputs.snmp.field]]
    name = "tempc"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.12.212"
  [[inputs.snmp.field]]
    name = "tempc"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.12.192"

  [[inputs.snmp.field]]
    name = "cpu"
    oid = ".1.3.6.1.4.1.25506.2.6.1.1.1.1.6.212"
  [[inputs.snmp.field]]
    name = "cpu"
    oid = ".1.3.6.1.4.1.25506.2.6.1.1.1.1.6.192"

  [[inputs.snmp.field]]
    name = "fan1"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.198"
  [[inputs.snmp.field]]
    name = "fan2"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.199"

  [[inputs.snmp.field]]
    name = "fan1"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.216"
  [[inputs.snmp.field]]
    name = "fan2"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.217"

#fn
  [[inputs.snmp.field]]
    name = "psu1"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.213"
  [[inputs.snmp.field]]
    name = "psu2"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.214"
   
#ff
  [[inputs.snmp.field]]
    name = "psu1"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.193"
  [[inputs.snmp.field]]
    name = "psu2"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.19.194"

#fn
  [[inputs.snmp.field]]
    name = "ffmemory"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.212"
#ff
  [[inputs.snmp.field]]
    name = "ffmemory"
    oid = "SNMPv2-SMI::enterprises.25506.2.6.1.1.1.1.8.192"

  [[inputs.snmp.table]]
    name = "interface"
    inherit_tags = [ "sysName" ]

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifHCInOctets"

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifHCOutOctets"
    
    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifDescr"
      is_tag = true

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifAlias"
      is_tag = true

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifHighSpeed"

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifOperStatus"

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifLastChange"

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifInErrors"

    [[inputs.snmp.table.field]]
      oid = "IF-MIB::ifOutErrors"