Application Control

Installation and Uninstallation events from the past 24 hours

Script Type: Poweshell

This script pulls and reports any Install or Uninstall Events from the Event log in the past 24 hours. It will state not only what app was affected but, who performed the action as well.

Patch Management Engine Verification

This script will detect the version of the Patch Management Engine (PME) on the device and the status of the services associated with it. The script will fail if the services are not running and/or the version of PME is not consistent across the deployment.

Output Parameters Parameter pass condition
PME Version Most recent version
PME Agent Service Status

Cache Service Status

RPC Service Status

Running

(any service not running results in check failure)

Communications:
  • microsoft.com on port 80
  • microsoft.com on port 443
  • sis.n-able.com on port 80
  • sis.n-able.com on port 443
  • download.microsoft.com on port 80
  • download.microsoft.com on port 443
  • download.windowsupdate.com on port 80
  • download.windowsupdate.com on port 443
  • update.microsoft.com on port 80
  • update.microsoft.com on port 443

True

(any route / port returning False results in check failure)

Running Process

Script Type: VBScript

You can configure the Running Process script to alert if the specified process is or is not running, with the option to kill the specified process and all instances where the script is discovered to be running.

Script Parameter Description
Check Behavior Pass if process is running
Fail if process is running
If process is running, kill all instances If used, all running instances that match the process name are terminated. After a delay of two seconds, this script checks again to find if any processes of this name are running. If found, the script reports as failed.
Name of Process The name of the executable to check for. This field is case sensitive.
Script Timeout Range Range: 1 - 3600 seconds (default 120 seconds)

SQL Query

Script Type: VBScript

The SQL Query script enables you to run a query on a number of database servers using an installed ODBC driver.

Script Parameter Description
SQL Server MySQL Server
Microsoft SQL Server 2000
Microsoft SQL Server 2005
Microsoft SQL Server 2008
ODBC Driver If other than the default specified, enter the name of an ODBC Driver
Hostname/ IP Address The address of the server to run the query against
Instance Name Only available for Microsoft SQL variants, enter Instance name where required
Database Username The username to use to connect to the server

User credentials are stored in plain-text in the Agent configuration files. Enter a user with only the minimal privileges required to execute this SQL query and ensure that appropriate permissions are applied to the Advanced Monitoring Agent installation directory.


Database Password The password to use to connect to the server
Database Name The name of the database to query
Trusted Connection (Use Windows Authentication) If using a Microsoft SQL Variant, it is possible to query the server using the same user credentials that are used to run the agent
Database Query The query to run
Script Timeout Range Range: 1 - 3600 seconds (default 120 seconds)

System User Count

Script Type: VBScript

The System User Count script queries the Active Directory and reports back the number of users with the option to fail where the number of returned users is higher than expected.

Script Parameter Description
Server Hostname The address of the device to run the query against
Number of User Accounts Expected The number of user accounts expected to be recorded in the Active Directory
Fail if result is higher than expected If the number of user accounts returned is higher than the Number of User Accounts Expected, the script reports as failed
Script Timeout Range Range: 1 - 3600 seconds (default 120 seconds)

Take Control Version and Services Status (Integrated)

Script Type: Powershell

This script will show what version the Integrated Take Control Agent is on and whether the associated services are correctly running.

Take Control Version and Services Status (Standalone)

Script Type: Powershell

This script will show what version the Take Control (Standalone) Agent is on and whether the associated services are properly running.