Users Guide
Monitoring Network Availability | Performance Monitoring
394 OMNM 6.5.3 User Guide
How To:
Create a Monitor for an External Script
The following steps describe creating a monitor for an external command configured as an
Adaptive CLI (ACLI).
Create the Adaptive CLI
1
Right-click in the Actions portlet, and create a new
External Command
ACLI
2
Make a new attribute schema with attribute: Status (integer)
3
In Scripts, enter the following as Script Content:
perl "C:\[installation path] \owareapps\performance\scripts\
http_test.pl"[_EquipmentManager_IP_Address]
The path that precedes the owareapps directory may differ if you have installed OpenManage
Network Manager elsewhere, and by default on Linux.
Several Perl scripts appear in this performance\scripts directory by default. You can try others
in addition to the http_test.pl script.
4
In the Value Extraction panel enter the following:
^\{(\d+)\}.*
5
Click Apply
6
Click Save
7
Right-click and
Execute
the ACLI to test it.
8
Look in Job Viewer for the results.
Click
Set attribute extraction results, click here
to see the results appear in the bottom panel.
Notice also that you must check informational messages for all these to appear, and that
several additional sets of messages besides the extraction results appear.