EV Reach - IT Process Automation Tutorial - Monitoring and Reporting on Connectivity Between Remote Systems

Last modified on 2023/07/12 14:03

ProcessAutomationsCaution

   These tutorial is for demonstration purposes. Please test all Scope Actions before deploying them into production.

Objectives

In this tutorial, you will learn to use EV Reach's Process Automation framework to use the Win32_PingStatus WMI query to monitor and report on connectivity between two remote systems.

Monitoring connectivity between the monitoring server and a remote system is fine but there is an even greater value in knowing when there is a problem between two systems that need to communicate with each other.

Using the Win32_PingStatus WMI class, we can execute a ping from one system and target another system. This may be useful when testing communication between two Exchange server roles or between a server and an internet resource and also for verifying connectivity, address resolution and network latency between remote systems. The remote system will then ping another system and report back all the statistics and data to the EV Reach Scope Action.

With the information retrieved, we can then use a condition to evaluate the data and determine if we need to be alerted. For example, we may need to be notified if round trip time goes above 10 ms.

Notes

The scope module should consist of the source Windows computer. If we need to ping Computer B from Computer A, this will be Computer A. Add as many computers as necessary to test connectivity to the secondary resources.

Best Practice

ProcessAutomationsBestPractice

Step by Step Tutorial

1. Add the query to your Scope Action so you can use its properties.

  • Go to Add \ Remove --> Report Computer Property --> WMI Objects --> Manage WMI Objects.
  • Select "Use a separate list" and click the Manage Custom List link.
  • Click the <> and select Add a new query object.
  • Name the query.

Best Practice icon.png  Include the IP Address to be ping'd in the name because it will be hard coded into the query. Create different queries for different targets.

   For simplicity, we have created the following query for you.

Select ProtocolAddressResolved,ResponseTime,StatusCode From Win32_PingStatus Where Address = '4.2.2.2' AND ResolveAddressNames = 1

This query will show the resolved name of the target, response time and status code (0=success, 1= failure).

2. Once the item is added, navigate back to Add \ Remove --> Report Computer Property --> WMI Objects --> (Name of your query)

Here you can choose all of the report items.

3. Use the Conditions Section "Only if the following is true" to create conditions to monitor.

For example, Add \ Remove --> Set Computer Condition --> WMI Objects --> (Name of your query) --> ResponseTime < 10.

This will only pass the condition if the response time is greater than 10 ms.

Tags:
Powered by XWiki © EasyVista 2024