My MVP Profile

Monday, October 02, 2006

Monitoring WAN Latency in MOM

 

My client tells me it costs approximately $10K per month for a T1 in many countries in South America. So much for stepping up to a broadband connection. L

 

We had a few days awaiting the implementation window to deploy an SNMP-based solution for monitoring network connectivity between a US company and it's parent company's offices in South America, but in the interim had to come up with a quick stop-gap measure for monitoring WAN availability and performance . So a buddy and I put together a script-based mechanism for measuring, charting and alerting on WAN performance...a Network Latency Monitor (of sorts).

 

This script utilizes Win32_Pingstatus object in WMI and native MOM functionality to measure, chart, and alert on availability and performance. We tried to account for a variety of scenarios including total failure and exceptionally low ping times (to facilitate accurate reporting on faster links). Here are the details:

 

Script Functions: 

  • Measures the average ping response time (in milliseconds) of target host
  • Optionally, creates a performance object to chart performance.
  • Generates an alert when ping responses breaches a user defined threshold.
  • Optionally, logs an event in MOM (for testing).

Script Parameters:

 

  • Host - Name or IP address of target host.
  • ResponseThreshold - Threshold (in milliseconds) above which the script generates an alert of WARNING severity.
  • LogPerformanceData - 1 creates a performance object for charts & reporting.  0 turns this feature off
  • GenerateEvent - 1 generates an event (for testing) 0 turns this off.

 

The script is available for download at momresources.org. To get a copy, click HERE

 

Bug reports, feedback, etc. welcome at administrator@momresources.org

 

 

 

Labels:

Comments on "Monitoring WAN Latency in MOM"

 

post a comment links to this post