root@ubuntu:~/go/src/github.com/prometheus/snmp_exporter/generator# ./generator parse_errors | wc -l
level=info ts=2020-11-19T13:26:00.958Z caller=net_snmp.go:142 msg="Loading MIBs" from=mibs
level=warn ts=2020-11-19T13:26:00.969Z caller=main.go:120 msg="NetSNMP reported parse error(s)" errors=4356
4356
Errors look like this:
...
id not find 'fwLSConnOverallDesc' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Did not find 'fwLocalLoggingDesc' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Did not find 'fwLocalLoggingStat' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Did not find 'fwLocalLoggingDesc' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Did not find 'fwLocalLoggingStat' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Did not find 'fwLocalLoggingDesc' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Did not find 'fwLocalLoggingStat' in module CHECKPOINT-MIB (mibs/chkpnt-trap.mib)
Unlinked OID in CHECKPOINT-TRAP-MIB: checkpoint ::= { enterprises 2620 }
Undefined identifier: enterprises near line 67 of mibs/chkpnt-trap.mib
Cannot adopt OID in CHECKPOINT-MIB: memDiskTransfers64 ::= { svnMem64 7 }
Cannot adopt OID in CHECKPOINT-MIB: memSwapsSec64 ::= { svnMem64 6 }
Cannot adopt OID in CHECKPOINT-MIB: memFreeReal64 ::= { svnMem64 5 }
Cannot adopt OID in CHECKPOINT-MIB: memActiveReal64 ::= { svnMem64 4 }
...
generator.yml I'm trying:
# CheckPoint FW R80.40
modules:
cpfw:
walk:
- fwIfIndex
- fwIfName
- fwAcceptPcktsIn
auth:
community: <...>
Version of generator is the last from master.
Could you please point me if I'm doing something wrong?
--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/766f080b-3b68-4433-aaf9-df8a8fd6fb89n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bacdd823-20bb-4637-81dc-4eb4a1c0dd7dn%40googlegroups.com.