Owners Manual

Perl Scripts | Actions and Adaptive CLI
OMNM 6.5.2 User Guide 603
Attribute Extraction Pattern:
layer1status/Match/(Layer 1 Status:\n\s+ACTIVE)
For layer2status, the regular expression is like
(Layer 2 Status:\n\s+TEI = \d, Ces = \d, SAPI = \d, State =
MULTIPLE_FRAME_ESTABLISHED)
Create a monitor to display the result of regularly running this Adaptive CLI on selected targets,
and display its result in a dashboard.
NOTE:
Don’t forget to enable the attributes in the monitor!
Monitoring Upload/Download Speeds
Once you have configured this Adaptive CLI, you can monitor its operation. Follow these steps to
configure the monitor for the How to:
Create a Monitor for the External Script Adaptive ACLI
:
NOTE:
If you are testing, make the monitoring more frequent than you might in a production system so you can
see if the data is available as expected. You can always change this after you have successfully tested
the monitor.
1
Right-click in the Resource Monitors portlet to create a new monitor.
The General panel is displayed.
2
Enter the default name and interval for the monitor
.
3
Select Monitor Options
>
Monitor Entities (target devices) with the green plus and
subsequent screen.
4
In the same screen, elect to
Enable
the extracted Monitor Attributes with the editor icon to
the right of the listed attribute. Notice you can also elect to report the attribute as a Gauge,
Counter or Boolean. We selected Gauge.