OVNM 5.3 - Operations Agent for NonStop Event Management Guide for Windows

HP Operations Manager Policies 40
The following diagram explains the nscmd message flow.
Figure 4-12 NSCMD Message Flow
Nscmd Basic Parameters
-node Remote HP NonStop Node Name (without “\”)
-cmd Command String within “ “ (double quotation marks). Command can be either a Guardian or OSS command or
Utility.
Example:
nscmd –node TEST –cmd “DSAP $SUBJECT”
nscmd – node TEST –cmd “osh ls -l”
Please note that neither –c nor –p options can be used with “osh”.
Optional Variables
The following optional message variables can be used with “nscmd”.
NODENAME Node name of the Nonstop Server message
SUBJECT Subject of the NonStop message
MANAGER Manager of the NonStop message
Examples:
nscmd -node <$OPTION(NODENAME)> -cmd “DSAP <$OPTION(SUBJECT)>”
nscmd -node <$OPTION(NODENAME)> -cmd "SCF; STATUS LINE <$OPTION(SUBJECT)>,
DETAIL”
nscmd -node <$OPTION(NODENAME)> -cmd "spoolcom <$OPTION(MANAGER)>; COLLECT
<$OPTION(SUBJECT)>, status detail"
NOTE: The HP Operations Manager policies for the NonStop server are deployed on the HP Operations
Manager Management console and not on the HP NonStop server.