Owners Manual

Active Performance Monitor Support | Actions and Adaptive CLI
612 OMNM 6.5.2 User Guide
{
print "Process " . $processname . " is not running! 0";
}
TEST_ACTION
This action’s name is
Test Exter nalSc ri p t
. It has two attributes,
Process Name
, a string, and
Status
,
an integer. It stores the retrieved process’ status in the
Status
integer, and takes
Process Name
as a
required input. It refers to the
process_check.pl
script as an external command in its
Scripts
tab.
Here is the syntax:
perl [installation root]\owareapps\performance\scripts\process_check.pl
<Process_Name>
In addition to referring to the script, this Adaptive CLI extracts the status from the script’s run.
Essentially it looks for 0 (down) or 1 (up) with the following regular expression in the
Value
Extractions
tab:
(\d)$
Note:
[installation root]
is an example only, not a legitimate part of the path.
PROCESS_UPTIME_MONITOR
This monitor’s name is
ProcessUptimeMonitor.
It refers to the TestExternalScript
(
TEST_ACTION
) Adaptive CLI. Notice that the
Process Name
attribute defaults to notepad.exe,
and the Monitor Attributes tab contains the
Status
attribute.
Monitor Dashboard
To see the result of your monitoring, create a custom monitor dashboard with the
PROCESS_UPTIME_MONITOR
as its target monitor, and the desired target device as its target
device.
You can then see the process’ activity over time when you launch the dashboard.