jsfrerot

Results 12 comments of jsfrerot

I had to replace the following code to make it work on my setup. in centos7 the ":" is replaced by "_" in interfaces fact. ``` --- a/modules/network/manifests/init.pp +++ b/modules/network/manifests/init.pp...

simply adding comment to say that this is a feature I would like to see implemented. I've encountered an issue while trying to validate certificate on servers that requires ssl...

debug log from snmp_exporter ``` ts=2023-03-14T17:42:42.802Z caller=main.go:97 level=debug module=fmt target=10.2.20.11 msg="Starting scrape" ts=2023-03-14T17:42:42.805Z caller=collector.go:218 level=debug module=fmt target=10.2.20.11 msg="Walking subtree" oid=1.3.6.1.4.1.40989 ts=2023-03-14T17:42:42.836Z caller=collector.go:231 level=debug module=fmt target=10.2.20.11 msg="Walk of subtree completed" oid=1.3.6.1.4.1.40989...

Here the "fmt" section of the snmp.yml ``` walk: - 1.3.6.1.4.1.40989 metrics: - name: vCardState oid: 1.3.6.1.4.1.40989.10.16.1.2.1 type: gauge help: Description. - 1.3.6.1.4.1.40989.10.16.1.2.1 enum_values: 0: "off" 1: "on" - name:...

Tried max_repetitions: 10 or 1 and didn't help.

same result. tried with max_repetitions: 10 or 1 again.

I have included both tcpdumps in the original post and I think I understand you want it to be in a file. Is there any particular tcpdump flags you want...

@RichiH Here are the pcap files. snmpwalk.pcap.gz is the tcpdump from a working snmpwalk (snmpwalk -Cc -c public -v1 10.2.20.11 1.3.6.1.4.1.40989.10) snmp_exporter.pcap.gz is the tcpdump from the snmp_exporter using this...

@dswarbrick you're right, snmpwalk doesn't work without the -Cc option: ``` [root@yul-blackbox-001 etc]# snmpwalk -c public -v1 10.2.20.11 1.3.6.1.4.1.40989.10 iso.3.6.1.2.1.1.1.0 = STRING: "GLCY SNMP" Error: OID not increasing: iso.3.6.1.4.1.40989.10 >=...

@RichiH here is the output as requested ``` [jsfrerot@jsfrerot-lnx ~]$ snmpwalk -c public -v1 -On 10.2.20.11 1.3.6.1.4.1.40989.10.16.1.2 .1.3.6.1.2.1.1.1.0 = STRING: "GLCY SNMP" Error: OID not increasing: .1.3.6.1.4.1.40989.10.16.1.2 >= .1.3.6.1.2.1.1.1.0 ```...