Hi,
I have written a Prometheus exporter in Go that fetches usage metrics from a Guacamole instance through the REST API. The source code, binaries, as well as an example Grafana dashboard can be found at https://github.com/tschoonj/guacamole_exporter <https://github.com/tschoonj/guacamole_exporter> Currently only the following metrics are collected: guacamole_up Was the last Guacamole query successful guacamole_connection_history_total The total number of established connections guacamole_number_of_users The current number of registered users guacamole_number_of_active_connections The current number of active connections which should be enough to monitor basic usage. An ansible role to install this on Linux VMs can be found here <https://galaxy.ansible.com/tschoonj/ansible_role_guacamole_exporter>. Hope this helps! Best, Tom > On 2 Dec 2020, at 10:16, Olivier Sauzet <[email protected]> wrote: > > Hello, > > We have just put our guacamole server into production for students & > teachers, it's working well ! > > We would like to have usage statistics, via a metrology tool. We currently > have influxdb & prometeus & grafana ... > Do some have scripts or plugins in order to insert data in the databases in > order to carry out stats? > I found this project, but I can't adapt it : > https://gist.github.com/clafoutis42/d99a8e012c0a32396633ccce719d7917 > > If you have any interesting leads ... > > Have a good day, > > -- > -------------------------------------------------------------------- > Olivier SAUZET > 06.24.71.78.69 > IUT de la Rochelle > -------------------------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
