Users Guide
Monitoring Network Availability | Performance Monitoring
OMNM 6.5.3 User Guide 375
Monitoring Network Availability
In addition to using the standard ICMP monitor, you can create performance monitors that return
network availability information displayed on monitor tooltips and reflected in the Network Status
column in the Managed Resources portlet.
Here are the steps to set that up:
1
Create an Adaptive CLI that monitors some status attribute. For example, rather than using
the built-in ICMP ping on OpenManage Network Manager, you can use a Perl script like this
one:
use Net::Ping;
$hostname = '10.128.7.11'; # host to check
$timeout = 10; # how long to wait for a response
print "-1" if pingecho($hostname, $timeout);
2
Make sure the script’s network-monitoring attribute return maps to an Adaptive CLI integer
attribute named or containing
NetworkStatus
. (NetworkStatus can be just part of the
attribute name. It is case insensitive.) You must add this attribute to the Adaptive CLI.
3
Configure the data extraction as follows:
Attribute Name: NetworkStatus
Parse Algorithm: Extract
Parse Expression: (/-*/d)$
4
Create an Adaptive CLI monitor referring to your Ping script Adaptive CLI.
5
Configure it to monitor the attribute in the selected Adaptive CLI as follows:
Attribute Name: Network Status (or your name containing that)
Attribute Type: Integer
Enabled: [check]
Metric Type: Gauge
Also make sure to check the
Update Network Status
checkbox on the monitor.
6
If this attribute exists and the value is 1, polling sets the device’s network availability to
Available.
If its value is 0 it sets availability to
Not Available
and if it is -1 it sets availability to
Indeterminate
.