Owners Manual

Actions and Adaptive CLI Overview | Actions and Adaptive CLI
556 OMNM 6.5.2 User Guide
Actions and Adaptive CLI Overview
The Actions Manager lets you manage actions like enabling monitors, file backups, resyncs and so
on. These actions are typically limited in scope, and not that complex. On the other hand, it also
manages Adaptive CLI (command-line interface) commands to run against devices which can be
complex.
These commands amount to “mini-scripts” to query and configure those devices. In it, you can
create commands to run against devices after the device driver has opened a connection to the
devices. The driver handles logins, and general connection management. You can even initiate
these actions with the application’s actions that target groups (see Discover Links for a Group of
Devices, for example)—although if you delete a target group, such operations fail. Many drivers
seed pre-configured command that appear listed when you first open this manager. For a brief
overview of creating and using these, see
Creating Adaptive CLI (Examples)
on page 591.
Adaptive CLI’s Attributes capabilities let you insert variables in scripts. See
Attributes
on page 565
for the details. You can also assemble configurations made here as component Tasks to execute
with other component Tasks. You can even use this capability to include Perl scripts within
OpenManage Network Manager. See
Perl Scripts
on page 590.
NOTE:
You can have Actions maintain lists like ACLs, and when these change, in the Adaptive CLI script, push
the updated list out to the appropriate devices.
Adaptive CLI commands let you map several vendor-specific commands to a single action, so you
could, for example, query two types of devices throughout the network for their MAC addresses
with a single action. Adaptive CLI actions can also help you debug more complex scripts that either
query or configure devices.
The Adaptive CLI manager displays a list of Configure and Show commands (the Command Type)
with a Name, Description and the Last Run Date. You can filter what appears in this manager with
the fields at its top.
NOTE:
The Action portlet contents vary, depending on the installed options in your package.
CAUTION:
Particularly for Adaptive CLI, and possibly for other OpenManage Network Manager capabilities, the
level of access to devices must match the desired effect. If OpenManage Network Manager’s login to a
device permits only read access, then Adaptive CLI configuration commands which require write
capabilities will not be effective.
Using Adaptive CLI
You can quickly take a set of commands or configuration file snippet from a device, copy it directly
into the Script editor, mark it up, and save it as a working CLI.
When using the CLI Format, The Adaptive CLI tool will prompt you to create new attributes
based upon your script markup. This lets you quickly create a script and schema to create an ACLI.
If you have attributes that are mainly simple String attributes, this is a very quick and automated
approach.