In this article we’ll discuss creating a command line interface to query the Monitis Agents and Monitors you have activated for your systems. We’ll provide the source code for the utility in VBScript and we will also be working on a C# version. We’ll keep things simple for now and start with VBScript and provide a link to the complete source at the end of this article.
To get started we need to identify what information we want to display from our Monitors, what can be easily supported, and what is not supported. The main parts are the different types of agents that Monitis offers, which are the Internal,
External, and custom monitors.
In this article we’ll focus on the basic ‘framework’ of the utility that deals with the definition of some classes to make working with the various agents and monitors easier, accepting and processing command-line arguments, and a small function library to keep our main script very clean. We’ll introduce a neat little feature of VBScript showing you how to work with include files.
Read the full post