Page 1 of 1

Get current connections

Posted: Mon Dec 02, 2019 9:17 am
by christophdb
Hi everybody,

I am using OnlyOffice Integrator Edition als Document Server for a large Seafile installation.
I have a Standard+ License with 400 parallel connections and I want to monitor how many concurrent connections I have. I know onlyoffice provides this "onlyoffice-directory/info"-page where I can see the version and peaks and averages of the connections. But I want something different: I want to monitor the current connections with zabbix.

I searched in the web and also in this forum and I found this entry: viewtopic.php?f=43&t=10529.
I think the metrics module of onlyoffice is exactly what I want. OnlyOffice sends on a regular basis the current connections to my monitoring system.

Unfortunately I found no information about this metrics module. Is there any documentation I didn't found? Is there anybody who can explain what excatly this "statsd" module is doing?
I understand it in this way: in the config file /var/www/onlyoffice/documentserver/server/Metrics/config/config.js I can define where onlyoffice sends his data. In the example of this post onlyoffice sends data to the port 2003 and the "graphiteHost" which I replaced with my zabbix Server. Then I think I have to define a zabbix trapper to get the received values to my database. But there is no data incoming or probably I didn't get what to look for. What kind of data do I have to expect to receive?

Thanks and best regards
Christoph

Re: Get current connections

Posted: Tue Dec 03, 2019 10:31 am
by Andrew
Hello christophdb,

We are using this project, but you are right about lack of documentation, I am sorry for that. I have spoken with responsible developer about this, hope we can add it soon in our helpcenter. I will notify you in this thread also as soon as it is done.