Matt Manjos

Results 5 comments of Matt Manjos

I think the issue might be at [ipsec/collector.go:57](https://github.com/czerwonk/junos_exporter/blob/042c6f235bf79f53d68c996c851da416cc67bf61/ipsec/collector.go#L57) where the new code doesn't call prometheus.MustNewConstMetric in the case that it's a single-RE

Ah, I see now how it's building the MultiRoutingEngineResults struct at line 113 in either case (multi or single) Strange - I've stepped through the code a few times and...

and just to confirm, in these test cases, the binary is being run with the following flags (so that ipsec is enabled): `junos_exporter -ssh.user=monitoring-ro -ssh.targets=router -web.listen-address=127.0.0.1:9326 -ssh.keyfile=/tmp/keyfile -ipsec.enabled=true -debug` And...

@valerarar not yet, unfortunately. I might take another look at it this week with fresh eyes, but back when I reported the issue, I couldn't see what was wrong in...

I've just been using the build from revision https://github.com/czerwonk/junos_exporter/commit/af9cfdc2b065e202fe12b08cd535016b847e7de7 ever since reporting and it's been working fine for me. It'd be nice to find out what the issue in the...