13.12.2012 Views

HP OpenView Operations Administrator's Reference - filibeto.org

HP OpenView Operations Administrator's Reference - filibeto.org

HP OpenView Operations Administrator's Reference - filibeto.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

About Environment Variables<br />

Configuring OVO<br />

About Variables<br />

You can use the following environmental variables before starting OVO.<br />

$OPC_BRC_HISTSIZE<br />

Returns the value of the environment variable for the<br />

length of the user’s broadcast command history. The<br />

default number of commands saved is 128 per user.<br />

Example: export OPC_BRC_HISTSIZE=512<br />

$OPC_HOME<br />

Returns the working directory of the user who starts a<br />

OVO GUI session. If $OPC_HOME is not set, the working<br />

directory is /tmp. If the UNIX user that started the<br />

OVO GUI has no write permission in /tmp, an error<br />

message is displayed but the GUI still starts. Example:<br />

export OPC_HOME=$HOME/opc<br />

About Variables in All Message Source Templates<br />

You can use the following variables in most text entry fields (exceptions<br />

are noted) for logfiles, the MPE/iX console, the OVO interface, the<br />

threshold monitor, and the SNMP trap template. You can use the<br />

variables within OVO, or pass them to external programs. To ensure<br />

correct processing, you must enter the variables with the angle brackets.<br />

<br />

Returns the name of the application associated with<br />

the message. This name is set in the Message Defaults<br />

section of the Add/Modify Console Messages<br />

windows. However, if a console message already has a<br />

value for this field, is not overwritten by<br />

an entry in the Add/Modify Console Messages<br />

window. This variable cannot be used in logfile<br />

templates.<br />

Sample output:<br />

/usr/bin/su(1) Switch User<br />

Chapter 2 169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!