Visara Master Console Center Scripting Guide User Manual
Page 253
Appendix B Command Syntax
Scripting Guide
253
Variable
Make the contents of a variable equal to the
specified expression.
SETVariable:=Expression
SNMP
Retrieves the value of a specified MIB object.
SNMP_GET($Alias,$MIBOID)==>$Value
SNMP
Retrieves the value and the object ID of the next
logical MIB object to a specified MIB object.
SNMP_GETNEXT($Alias,$MIBOID,$NextMIB
OID)
==>$Value
SNMP
Retrieves a complete table of information from
the MIB on the specified agent.
SNMP_GETTABLE($Alias,$MIBOID,$TableArr
ay[,
$Delimiter])==>%ReturnCode
SNMP
Sets the value of a specified MIB object.
SNMP_SET($Alias,$MIBOID,$Value)==>%Return
Code
SNMP
Sends a trap to one or more hosts.
SNMP_TRAPSEND($Alias,%TrapNum[[,%EntN
um[,$MIBOID[,$Time[,$HostName]]]])==>%Ret
urnCode
Variable
Populates an array with the fields of a string
delimited by a string.
SPLIT($Array,$String,$Delimiter)
Flow
Control
Initiates execution of another script for
concurrent processing.
STARTScriptName(Parms)[,%Class[,$Name]])
Flow
Control
Halts execution of another script. STOP(ScriptName[,%Class[<$Name]])
Variable
Converts a numeric expression to a string.
STR(%Number)==>$String
Variable
Extract a substring from a character string. SUBSTR($String,%Start[,%Count])==>$SubStr
Flow
Control
Executes command(s) based on the value of an
expression.
SWITCH…CASE…[DEFAULT…]ENDSWITCH
Flow
Control
Executes a (Unix) command on the MCC host
system with parameters.
SYSEXEC($String)==>%Return