About basic WhatsConfigured command syntax

There are two types of commands that can be included in a WhatsConfigured custom script:

WhatsConfigured commands are executed by WhatsConfigured itself. Device commands are executed by the device. WhatsConfigured commands begin with @ to distinguish them from device commands. Any command whose text begins with @ is a WhatsConfigured command, while any other command is a device command. In the previous example script, the @login and @write commands are WhatsConfigured commands, while all other commands are device commands.

WhatsConfigured defines the following commands:

The syntax for each of these commands is defined by WhatsConfigured. In contrast, Device commands are written using the native CLI commands supported by the device (IOS or CasOS commands for Cisco devices, Linux commands for Linux devices, etc.) These commands can use whatever syntax is required by the device's CLI command set.

In its simplest form, a command is just a string specifying the name of a command along with any parameters it requires. For example, the following script contains two simple commands:

@ login

username $(NewUserName) password $(NewPassword)

See Also

Using WhatsConfigured Commands

About commands

About strings and regular expressions in WhatsConfigured

About "$"

Storing WhatsConfigured command output in the WhatsUp Gold database

Editing WhatsConfigured command output

Using WhatsConfigured commands with queries

About WhatsConfigured command layout

WhatsConfigured script variables affecting command execution

About WhatsConfigured command types