Robert Cemper · May 29, 2019 1m read

Simple Remote Server Control

This example is extracted from a long-running installation. The purpose is to have a simple monitoring of several servers at a rather primitive level. Just slightly more intelligent than a raw PING. But still easy to integrate. It avoids the overkill of information you are often confronted with while you are just interested in the number of active processes or similar basic figures.

The code is available for you here 

This is a coding example working on Caché 2018.1.3 and IRIS 2020.2 
It will not be kept in sync with new versions 
It is also NOT serviced by InterSystems Support !

The example shows a basic skeleton that might be easily filled by you real needs.

It consists of 3 sections:

  • the data section to hold server access data
  • the server section to run unattended at the server you want to monitor
  • the client section that is just for demonstration and should be integrated by your code to your environment.

Operation is simple:

  • the server starts and listens for requests.
  • from client various inquiries go to server and get replied.

The whole example is kept very simple and it is your task to add what you require and to adapt the client section to your needs and into your environment.

2 464
Discussion (0)0
Log in or sign up to continue