Monitor Windows Servers and Workstations using custom PowerShell scripts in ActiveXperts Network Monitor

ActiveXperts Network Monitor is a software solution you need to scan your network servers, workstations and devices for failures or irregularities. With ActiveXperts Network Monitor, you can identify issues and fix unexpected problems before your others even know they've happened.
ActiveXperts Network Monitor maximizes network availability by monitoring all aspects of your servers, workstations, switches, routers, printers and any other devices. It can also detect temperature, humidity and other environmental aspects in your server rooms.

ActiveXperts Network Monitor provides a programming interface for IT system administrators. PowerShell is the new de-facto standard scripting language Windows environment and therefore supported by ActiveXperts Network Monitor. PowerShell is - together with VBScript - the most popular scripting language in Windows environments.

ActiveXperts Network Monitor requires the PowerShell output (i.e. StdOut) to be formatted according to the following syntax:

[ SUCCESS | ERROR | UNCERTAIN]: { <explanation> } { DATA:<value>}

The <explanation> will be shown in the 'Last Response' column in the Manager application. The <value> field will be shown in the 'Data' column in the Manager application. Samples:

    
ERROR: Free Disk space is less than 40 GB DATA:34
SUCCESS: Free Disk space is more than 40 GB DATA:117

An ActiveXperts Network Monitor PowerShell check requires the following parameters:

  • Script File - The PowerShell script. The script is executed on the monitoring computer;
  • Function - The function that should be called by ActiveXperts Network Monitor. This function should return True (-1) on success, False (0) on error or Unknown (1) in case the result is not known;
  • Parameter1 - 1st parameter of the script (optional);
  • Parameter2 - 2nd parameter of the script (optional);
  • Parameter3 - 3rd parameter of the script (optional);
  • Parameter4 - 4th parameter of the script (optional);
  • Parameter5 - 5th parameter of the script (optional);
  • Parameter6 - 6th parameter of the script (optional);
  • If StdErr is not empty, the result will be - If there's an error in the script, you can handle this error and specify what the result of the check should be: Uncertain, Error or Success;
  • Timeout - Number of milliseconds before the check will time-out.

Screenshot:

 (Click on image to enlarge)