Sometimes you can’t install an Operations Manager agent and you really need something simple which tells you whether what you want to monitor is up or down and how quickly it is responding. For items like this, the OpsLogix ping management pack is extremely useful. This management pack is free for download at: http://www.opslogix.com/download.
This blog post will discuss what is included in this management pack, how to customize the management pack through overrides, and how to create an Operations Manager 2012 style dashboard to display the information available from this management pack.
What is included in the OpsLogix Ping management pack?
What rules are included?
A single rule is included which gathers ping response time called logically enough “Ping Response Time”.
What monitors are included?
The monitors included within this management pack are shown below, with the one that we will be later overriding “Target Host Ping Check” shown below. Additionally, there is a disabled monitor which alerts on ping latency called “OpsLogix-IMP.Ping.LatencyMonitor” which could be enabled via override.
What views are included?
The views included display the host status and a configuration dashboard as well as alerts, response times and status for the targets which are pinged.
What reports are included?
The OpsLogix Ping pack does include a report which shows Ping Response Times as shown below.
How to do I configure this pack so that I don’t get an alert unless a server doesn’t ping for at least five minutes?
To change the default behavior, we change the default properties of the “Target Host Ping Check” monitor.
The default ping value for NumberOfNoRepliesAllowed is 1, for this example, we will increase it to 5.
Since this is using the Operations Manager framework you can set different thresholds for the number of ping’s before sending an alert either on a group or an for an individual target.
Can I send an alert if a ping takes too long?
To to this we will enable the “OpsLogix-IMP.Ping.LatencyMonitor” via an override.
The resulting alert is shown below when the ping times exceed the thresholds defined.
How do I create an OpsMgr 2012 style dashboard objects being pinged?
The first step is to create a new grid dashboard with room for four widget areas as shown below.
How to add the status to a dashboard?
Next we create the status for the target hosts. In one of the widget areas, add a state widget. Select the “Target Host” class for the ping targets:
(The correct class to use was determined by looking at the properties of the existing “Status” state view shown below)
How to add the status of the ping hosts?
In the second of the widget areas, add a state widget. Select the “Source Host” class for the ping targets: (this was determined by looking at the properties of the existing “Hosts” state view)
To provide a group for the performance and alerts widgets:
Created the “Ping Targets” group based upon this criteria, and validated that the correct items were shown when right-clicking on the group and viewing members.
How to add any alerts for the ping tests?
In the third of the widget areas, add an alert widget pointing to the “Ping Targets” group..
How to add the performance counters for the ping tests?
In the last of the widget areas, add a performance widget pointing to the “Ping Targets” group. So… What’s my dashboard look like for this? The example below shows three different targets, two different hosts, any alerts and the response times for the pings which are being done over the last 24 hours.
This sample dashboard pack available for download at: http://www.systemcentercentral.com/pack-catalog/dashboard-pack-for-the-opslogix-ping-pack/