Squore Server can be monitored with external tools on your network by connecting to administration URLs to retrieve information about the status of projects and users on the server.
Access http://localhost:8180/SQuORE_Server/servlets/state/sessions to get a report of the current user sessions on Squore Server. The information is extracted as in CSV format as
session;login;session start;client
.
Access http://localhost:8180/SQuORE_Server/servlets/state/projects to get a report of the existing projects on Squore Server. The information is extracted as in CSV format as
id;project name;model id;owner;creation time;number of versions;last version;last build;status;step start;step
.
The possible values of the status field are:
0 Finished: the version has been successfully created.
1 Warning: some warnings were raised during the last analysis.
2 Error: the analysis finished with an error.
3 Processing: the version is being created. When this status is returned, the current phase of the analysis will be specified in the step field and the time at which this step started will be specified in the step start.
4 Offline: this project has no versions.
5 Pending: this project is waiting for a free slot to start an analysis.
Note that in order to access these URLs you must be either:
A logged-in user with the Administrator profile, in which case you can access the URL from anywhere.
Requesting the URL from the computer that runs Squore Server, in which case the information is available without logging in.
By writing your own script that queries the monitoring URLs regularly and saving the output to a CSV file, you can feed the information into monitoring tools like Nagios and monitor the health of Squore Server.