Users Guide

Perl Scripts | Actions and Adaptive CLI
600 OMNM 6.5.3 User Guide
3
Create attributes to extract. In this case, we configure Upload Speed, and Download Speed as
integer attributes, with a name, description, and nothing else.
Notice, however, that you could configure validation for extracted attributes if you liked in
this screen.
4
Create a new schema for these attributes. Schemas are helpful if you are creating several
Adaptive CLIs (create, destroy, update, and so on) with the same set of attributes. With
schemas, you are sure the attributes are configured exactly the same.
5
Save
the configured attributes, click the
Script
panel
6
Enter the script. This extracts upload and download speeds from a Cisco device based on the
output from this command (the script’s contents):
show dsl int atm0 | inc Speed
This command shows dsl, grepping (
inc
) for the unique line beginning with
Speed
. The line
for which this script searches looks like this:
Speed (kbps): 544 0 256 0