Getting remote Milestone recording server stats

So I could get the local server’s CPU stats and such from performance counters, but how do I access the remote servers? Also, is it possible to access the performance counters from computers that is outside the Workgroup?

I’ve also heard about Central Protocol in Milestone, is it possible to use that to get the server’s performance, and if it is indeed possible, how do I access them?

The Central protocol is documented here:

https://doc.developer.milestonesys.com/html/index.html?base=centralhelp/index.html&tree=tree_3.html

If I am not mistaken it does not fit what you are looking for. Central protocol is a protocol for an e-code XProtect VMS which currently are XProtect Professional and XProtect Express. For a c-code VMS, which are XProtect Corporate, Expert, and all Plus versions, the protocol that has replaced the central protocol is the status protocol.

https://doc.developer.milestonesys.com/html/index.html?base=statushelp/index.html&tree=tree_3.html

What this protocol gives you is not the performance counters, instead it gives you the status for each device in the recording server; information on whether a camera is online or not, is recording or not, etc.

It doesn’t necessarily have to be a PerformanceCounter object. Any other object I can access from Milestone systems that returns the connected server’s CPU/RAM and other stat value would work just as well.

I hope you will be able to get information on how to read performance counters on remote servers from other fora or other sources of developer tips, it is not a subject covered by the MIP SDK documentation or samples.

Sorry to open this again. Could we get this info from the database? I am seeing performance counters tables in there.

The only thing I can’t figure out is what units you are using to get the values. As an example I tried to ​look at…

VideoOS Recording Server Storage > Used Bytes

But the raw and calculated values are both 3x what the actual number is if I cconvert bytes to GB.

Thoughts?​

Using the SQL database is not supported. The SQL database is not documented. The SQL database is subject to change without notice from version to version.

I know that there are partners that have read from the database to achieve a goal despite the unsupported nature of this, and you might get an answer yet from such a partner , but I am sorry, this is the only answer I can give from Milestone Support.