Grafana, Influxdb y Telegraf (TIG) MIBs y OIDs HPE

  • What Grafana version and what operating system are you using?Ubuntu 20.04.6 LTS
    Telegraf 1.33.3
    InfluxDB v2.7.11
    Grafana v11.6.0 (d2fdff9ee4)

  • What are you trying to achieve?

    Buenas tardes, estoy configurando TIG para el monitoreo de Sw HPE y necesito los Mib o oid para configurar en telegraf. Me pueden ayudar en consegirlos o donde puedo buscarlo. Gracias y saludos.

    Dato adicional HPE JH295A

If you have the MIB files, you’ll need to configure Telegraf to use them.

Put the downloaded MIB files in the appropriate directory where Telegraf’s SNMP plugin can find them. The exact location can vary, but it’s often something like /usr/share/snmp/mibs/ on Linux systems.

In your telegraf.conf file, you will use the SNMP input plugin. For example, to poll the system uptime and interface statistics, your configuration might look something like this:

[[inputs.snmp]]agents = [ “192.168.1.1:161” ] # Replace with your switch’s IP addresscommunity = “public” # Replace with your SNMP community stringtimeout = “5s”
[[inputs.snmp.field]]name = “sysUpTime”oid = “.1.3.6.1.2.1.1.3.0”
[[inputs.snmp.table]]name = “interfaces”oid = “ifTable”
[[inputs.snmp.table.field]]
  name = "ifDescr"
  oid = "ifDescr"
  is_tag = true

[[inputs.snmp.table.field]]
  name = "ifInOctets"
  oid = "ifInOctets"

[[inputs.snmp.table.field]]
  name = "ifOutOctets"
  oid = "ifOutOctets"

The oid = “ifTable” line tells Telegraf to look up the OID for ifTable from your MIB files, and then it will automatically poll the OIDs for each row in that table. This is much easier than manually specifying OIDs for every single interface.

Gracias por tu aporte y ayuda. lo voy a probar como me va.
Nuevamente gracias por tu aporte