Check onlyoffice-stats


Checks OnlyOffice statistics and license usage via HTTP.

Pay attention that by default the info/info.json page is only available from localhost. The OnlyOffice nginx configuration has to be modified if the exporter is not running locally (/etc/onlyoffice/documentserver/nginx/includes/ds-docservice.conf: set allow ... instead of deny all on location ~* ^(\/[\d]+\.[\d]+\.[\d]+[\.|-][\d]+)?\/(info|internal)(\/.*)$).

Fact Sheet

Check Plugin Download

Check Interval Recommendation

Every 30 minutes

Can be called without parameters


Compiled for

Linux, Windows

3rd Party Python modules



usage: onlyoffice-stats [-h] [-V] [--insecure] [--no-proxy] [--test TEST]
                        [--timeout TIMEOUT] [--url URL]

Checks OnlyOffice statistics and license usage via HTTP.

  -h, --help         show this help message and exit
  -V, --version      show program's version number and exit
  --insecure         This option explicitly allows to perform "insecure" SSL
                     connections. Default: False
  --no-proxy         Do not use a proxy. Default: False
  --test TEST        For unit tests. Needs "path-to-stdout-file,path-to-
  --timeout TIMEOUT  Network timeout in seconds. Default: 3 (seconds)
  --url URL          OnlyOffice API URL. Default: http://localhost

Usage Examples

./onlyoffice-stats --url http://localhost --timeout 3


Max 20 connections, licensed (expired) [WARNING], last hour: 3/7/12 views and 2/6/11 edits (min/avr/max), 13 unique users, v1.2.3


Alerts if

  • license expires in the next 10 days

  • license has expired

  • number of connections per hour reaches the licensed maximum

Perfdata / Metrics

  • conn_hour_edit_avr

  • conn_hour_edit_max

  • conn_hour_edit_min

  • conn_hour_view_avr

  • conn_hour_view_max

  • conn_hour_view_min

  • unique_users

Credits, License