Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Results from user created virtual operator jobs and opConfig jobs created from the command line.


 Quick Quick Actions

Quick actions are templates for new Virtual Operator jobs, we have shipped four sample jobs but you can create your own. These The default four jobs are defined in the file: /usr/local/omk/lib/json/opConfig/table_schemas/opConfig_action-elements.json

...

You can create your own Quick Actions by copying the /usr/local/omk/lib/json/opConfig/table_schemas/opConfig_action-elements.json file to /usr/local/omk/conf/table_schemas/ opConfig_action-elements.json and then editing it. Available field options are described below.

Code Block
languagejs
 {
    "name": "IOS Hourly Collection",
    "description": "Hourly baseline collection for Cisco IOS.",
    "command_sets": ["IOS_DAILY"],
    "buttonLabel": "Collect Now",
    "buttonClass": "btn-primary"
  }


KeyDatatypeAbout
namestringName which is shown at the top of the quick action element
descriptionstringText shown under the quick action name, useful to describe what the action does
command_setsarray of stringsCommand set keys which you wish to be run
nodesarray of stringsNames of nodes which you wish the command sets to be run against
buttonLabelstringText of the run button
buttonClassstring

Css class applied to the button to colour it.

  • btn-default
  • btn-primary (default, blue)
  • btn-success (green)
  • btn-warning (orange)
  • btn-danger (red)