beautypg.com

Visara Master Console Center Scripting Guide User Manual

Page 131

background image

Chapter 5 Script Commands

Scripting Guide

131

Notes:

1. Refer to Manifest Constants on page 42 for the constants reference

list.

2. The default message for a status is overridden with the “Message”

parameter.

3. The default colors can be changed only by editing the colors

configuration file. Refer to the Administration Guide for more
information.

4. This command is case-sensitive. Type the CPU or OS name exactly

as it appears in the system.cfg file.

Example:

//change current (the default) icon status to normal—9
ICON( STATUS_NORMAL)
//change current icon status to 5 and its msg to “ERROR”
ICON( 5, “ERROR”)
//change 3090 CPU icon status to warning—4
ICON( STATUS_WARNING, , CPU, “3090”)
//if this script were executing on an OS,
//the higher-level CPU icon for the OS would be changed
//because the CPU name is omitted
ICON( 2, , CPU)

See Also:

ICONNAME, ICONSTATUS, ICONMSG