beautypg.com

Visara Master Console Center Scripting Guide User Manual

Page 3

background image

Scripting Guide

3

Contents

Technical Support ....................................................................................... 2
Contacting the Visara Intellicenter............................................................... 2
Notices ........................................................................................................ 2

Contents .............................................................................................................. 3

List of Tables............................................................................................... 8

About This Guide................................................................................................ 9

Purpose of This Guide .................................................................................... 9
Users of this Guide.......................................................................................... 9
Organization.................................................................................................... 9
The MCC Documentation Set ....................................................................... 10

Chapter 1 Script Overview ............................................................................... 11

Overview ....................................................................................................... 12
Script Concepts............................................................................................. 12

Script Source Structure ............................................................................. 13
Naming Scripts.......................................................................................... 14

Master Scripts ............................................................................................... 14
Reserved Scripts........................................................................................... 15

#logswap.scr ............................................................................................. 16
#startup.scr ............................................................................................... 17
#shutdn.scr ............................................................................................... 17

Executing Scripts .......................................................................................... 18

Scripts Executing Scripts .......................................................................... 18

Chapter 2 Advanced Topics ............................................................................ 21

Script Writing Guidelines ............................................................................... 22

Coding Guidelines..................................................................................... 22
Style Suggestions ..................................................................................... 22

MCC Concepts.............................................................................................. 24

Ports.......................................................................................................... 24
Object Manager......................................................................................... 24
Object Type............................................................................................... 24
Object Name ............................................................................................. 25
Object Key ................................................................................................ 25
Object ID ................................................................................................... 26
Object Field ............................................................................................... 26
Object Action............................................................................................. 27
Icon Class/Icon Name ............................................................................... 29

SNMP............................................................................................................ 31

NMS Alias ................................................................................................. 31
MIB OID .................................................................................................... 31