On 2020/05/18 15:31, Richard Chivers wrote: > Hi, > > We could do with exposing certain metrics from bgpd, ospfd and pf. > > I was considering a couple of approaches and really was just > interested in what would make most sense in general. > > Has anyone else considered this at all? > > Would this be useful to anyone else?
It would be useful. I think the method which fits best with the rest of the system would be to export these via agentx -> snmpd, where possible using standard MIBs e.g. for BGP that would be BGP4-MIB/CISCO-BGP4-MIB. IIRC it has been looked at a bit, but I'm not sure of the current state of any of it. Data can be picked up from SNMP directly by some existing tools, for Prometheus it could be sent via snmp_exporter.
