Do you have the MIB file for ciscoEnvMonMIB (1.3.6.1.4.1.9.9.13) ? Is it in the right place, or pointed to by MIBDIRS environment variable? See: https://github.com/prometheus/snmp_exporter/tree/master/generator#where-to-get-mibs
In this case, the ones you need are: auto/mibs/v2/CISCO-SMI.my # gives you enterprises.9 (cisco) and enterprises.9.9 (ciscoMgmt) auto/mibs/v2/CISCO-ENVMON-MIB.my Using "parse_errors" will help you find missing MIB dependencies, e.g. MIBDIRS=+auto/mibs/v2 ./generator parse_errors Adjust until you have no MIB parsing errors. Then in your YML file, change - enterprises.9.9.13.1.3.1.2 to - ciscoEnvMonTemperatureStatusDescr and run again. (Note: given the other commented out OIDs you have, it's probably better just to walk the whole table, ciscoEnvMonTemperatureStatusTable) It works for me: $ MIBDIRS=+auto/mibs/v2 ../generator generate level=info ts=2020-10-05T08:22:41.830Z caller=net_snmp.go:142 msg="Loading MIBs" from=$HOME/.snmp/mibs:/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf:auto/mibs/v2 level=info ts=2020-10-05T08:22:42.096Z caller=main.go:52 msg="Generating config for module" module=cisco_switch_snmp level=info ts=2020-10-05T08:22:42.119Z caller=main.go:67 msg="Generated metrics" module=cisco_switch_snmp metrics=12 level=info ts=2020-10-05T08:22:42.120Z caller=main.go:92 msg="Config written" file=/home/ubuntu/snmp_exporter/generator/tst/snmp.yml $ Aside: you may find the various public OID-searching websites helpful, e.g. http://www.oid-info.com/cgi-bin/display?oid=1.3.6.1.4.1.9.9.13.1.3.1.2&submit=Display&action=display -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6a21eff5-07c5-4380-ad0c-4a05af7a184eo%40googlegroups.com.

