Visara Master Console Center Scripting Guide User Manual
Page 241

Appendix B Command Syntax
Scripting Guide
241
Scripting
Retrieves information on all
active scripts into an
associative array.
SCRIPTGETACTIVE($AssocArray)==>%ErrCode
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,$NextMIBOID)
==>$Value
SNMP
Retrieves a complete table of
information from the MIB
on the specified agent.
SNMP_GETTABLE($Alias,$MIBOID,$TableArray[,
$Delimiter])==>%ReturnCode
SNMP
Sets the value of a specified
MIB object.
SNMP_SET($Alias,$MIBOID,$Value)==>%ReturnCode
SNMP
Sends a trap to one or more
hosts.
SNMP_TRAPSEND($Alias,%TrapNum[[,%EntNum[,$MIB
OID[,$Time[,$HostName]]]])==>%ReturnCode
Time
Converts a date string to a
date value.
DATE($DateString])==>%EpochSeconds
Time
Returns the time value for
the current time.
SECONDS()==>%EpochSeconds
Time
Converts a time string to a
time value.
TIME([TimeString])==>%MidnightSeconds
Time Formats
epoch seconds into
a date/time string.
TIMESTR(%EpochSeconds,$Format)==>$Formatted
Time
Pauses script execution for
the specified number of
seconds.
WAITFOR(%Seconds)