01.10.2015 Views

HP Operations Manager for UNIX Administrator’s Reference

HP Operations Manager for UNIX Administrator's Reference

HP Operations Manager for UNIX Administrator's Reference

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

Configuring <strong>HP</strong>OM<br />

About Variables<br />

MAIL<br />

PATH<br />

USER<br />

SHELL<br />

TERM<br />

TZ<br />

Set to /var/mail/$USER<br />

Set to the value of the Dtlogin ``userPath'' resource<br />

Set to the user name<br />

Set to the user's default shell (from /etc/passwd)<br />

Set to dtterm<br />

Set to the system's zone or to the value of the Dtlogin<br />

``timeZone`` resource<br />

About Environment Variables<br />

You can use the following environmental variables be<strong>for</strong>e starting<br />

<strong>HP</strong>OM.<br />

$OPC_BRC_HISTSIZE<br />

Returns the value of the environment variable <strong>for</strong> 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 />

<strong>HP</strong>OM GUI session. If $OPC_HOME is not set, the<br />

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

started the <strong>HP</strong>OM GUI has no write permission in<br />

/tmp, an error message is displayed but the GUI still<br />

starts. Example: 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) <strong>for</strong> logfiles, the MPE/iX console, the <strong>HP</strong>OM interface, the<br />

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

variables within <strong>HP</strong>OM, 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 />

136<br />

Chapter 2

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

Saved successfully!

Ooh no, something went wrong!