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 <strong>for</strong> Applications Started from the Java-based GUI<br />

The following variables can only be used in applications started from the<br />

Java-based operator GUI.<br />

$OPC_CUSTOM[name]<br />

Returns the value of the custom message attribute<br />

name. For example, the variable<br />

$OPC_CUSTOM[device] could return the value Lan.<br />

$OPC_EXACT_SELECTED_NODE_LABELS<br />

Returns the labels of all nodes and node groups that<br />

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

names are separated by spaces.<br />

$OPC_GUI_CLIENT<br />

Executes the application or action on the client where<br />

the Java-based GUI is currently running. This variable<br />

is resolved differently, depending on whether the GUI<br />

client is running on a <strong>UNIX</strong>-based system with DNS or<br />

on a PC using MS WINS (Windows Internet Name<br />

Service). If you are using WINS, $OPC_GUI_CLIENT<br />

returns the WINS hostname.<br />

$OPC_GUI_CLIENT_WEB<br />

Starts a web browser on the client where the<br />

Java-based GUI is currently running. This variable is<br />

resolved differently depending on whether the GUI<br />

client is running on a <strong>UNIX</strong>-based system with DNS or<br />

on a PC using MS WINS (Windows Internet Name<br />

Service). If you are using WINS,<br />

$OPC_GUI_CLIENT_WEB returns the WINS hostname.<br />

$OPC_NODE_LABELS<br />

Returns the labels of all nodes in the node tree that are<br />

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

names are separated by spaces.<br />

Chapter 2 155

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

Saved successfully!

Ooh no, something went wrong!