System information

320
Switched Observer
the editor makes the task of entering tokens easier and will contribute to the overall
accuracy of the script.
Each SNMP command line that is to be sent to the switch must begin with a token.
Additional commands are available to manipulate the switch.
You can enter three types of information into an Observer SNMP switch script: SNMP
Script Tokens, Object Types, and Script Keys.
SNMP Script Commands (called Tokens)—special commands pre-programmed into
the script editor. Tokens are entered by clicking the specific token button on the right
side of the script editor dialog. Note that tokens can be entered by hand (the only
benefit of the script editor is to save on errors in typing the specific token text).
Object Types—define the type of the value you will be using in the SNMP command.
Object types can be either Integer or OctetString.
Script Keys—are variables inserted into the script from the script dashboard.
Entering Tokens into a SNMP Script
Tokens are entered by placing the cursor in the correct position and then clicking the
specific token button on the right side of the script editor dialog.
SNMP Script Tokens
The available script tokens are:
SET-> token—sets the specific OID to the value defined at the end of the command.
The format for the SET command is:
SET->OID=Object Type=Value
Where: