[RPKI] Routinator RTR stats

Martin Hoffmann martin at nlnetlabs.nl
Thu Jun 30 14:40:52 UTC 2022


Shawn Kleinart via RPKI wrote:
> I am testing Routinator, and noticed the RTR "Current Connections"
> value is normally incorrect, low.  I only have 3 or 4 RTR sessions up
> at the moment, but the value is often 1 or 2, and can be variable.
> It also varies from instance, with all instances having the same
> number of sessions.  No other issues observed, RTR sessions are
> stable and updating, everything else is in sync.

Very curious. I’ll have to have a closer look were things go wrong.

> Aside from this possible bug, it got me thinking about RTR in
> general... Are there more detailed RTR stats to be found?
> Can I list RTR sessions?  (within the app; aside from using something
> like netstat - which correctly shows all of the established RTR
> connections)

Some additional information about RTR sessions is available if the
rtr-client-metrics option is enabled either via config file or command
line. In this case you will see the number of connections per client
and the serial number of the last successful update and when that was.
All connections from the same source IP are considered the same client.

> Counting 'Cache Resets' might be a valuable feature.

True. Number of and time since last cache reset seems like something
good to add. I’ve created an issue for that.[0]

> Also not seeing logging of RTR sessions; I am using all defaults (warn
> level), will test info level next... having RTR logs may also be a
> nice feature, playing into the Cache Reset monitoring thought.

It won’t log anything at any level. Adding logging at info seems
reasonable.

Cheers,
Martin


[0] https://github.com/NLnetLabs/routinator/issues/754


More information about the RPKI mailing list