On 29/12/2019 15.16, Tarko Tikan wrote:
I could definetly write my own exporter that queries Radiator via SNMP and outputs Prometheus metrics (I could even use snmp-exporter for that). Or I could write a script that converts SNMP or StatsLog into suitable textfile and expose it via node-exporter textfile exporter.
A quick question: Would exporting metrics be preferred over pushing metrics even when Radiator already supports StatsLog FILE with JSON output?
It seems that JSON is not directly usable, but would require a separate exporter too. Builtin exporter is certainly possible, but I thought I'd check that you had noticed the already existing JSON support.
I see that Prometheus docs advocate a built-in exporter, for example, for storing 'up' metric directly based on queried instance responses.
We are open to any options and I'd be interested in helping you with this. Most likely the best option would be to include the support exporter directly in Radiator for easier use.
Another/additional option would be to add an exporter in goodies for processing the existing StatsLog output. In either case configuration examples could go to goodies too.
Thanks, Heikki -- Heikki Vatiainen <[email protected]> Radiator: the most portable, flexible and configurable RADIUS server anywhere. SQL, proxy, DBM, files, LDAP, TACACS+, PAM, Active Directory, EAP, TLS, TTLS, PEAP, WiMAX, RSA, Vasco, Yubikey, HOTP, TOTP, DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, etc. _______________________________________________ radiator mailing list [email protected] https://lists.open.com.au/mailman/listinfo/radiator
