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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

About Variables<br />

Variables in Application Calls and the User Interface<br />

You can use the following variables listed in most application text entry<br />

fields (exceptions are noted) of the GUI. You can use the variables within<br />

<strong>HP</strong>OM, or pass them to external programs.<br />

$OPC_ENV(env variable)<br />

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

user who has started <strong>HP</strong>OM.<br />

Sample output:<br />

PATH, NLS_LANG, EDITOR, SHELL, HOME, TERM.<br />

$OPC_EXT_NODES<br />

Returns the node pattern of all external nodes that are<br />

selected at the time the application is executed. The<br />

names are separated by spaces.<br />

$OPC_MGMTSV<br />

Returns the name of the current <strong>HP</strong> <strong>Operations</strong><br />

management server.<br />

Sample output:<br />

richie.c.com<br />

$OPC_MSG_NODES<br />

Returns the names of all nodes on which the events<br />

that generated currently selected messages took place.<br />

The names are separated by spaces. The nodes do not<br />

need to be in the node bank. If the same message is<br />

selected in more than one of these browsers, the<br />

duplicate selections is ignored. In the <strong>HP</strong>OM<br />

Java-based GUI, only nodes of the messages currently<br />

selected in the topmost browser are returned.<br />

Sample output:<br />

kernighan.c.com richie.c.com<br />

152<br />

Chapter 2

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

Saved successfully!

Ooh no, something went wrong!