The command opcagt administers the agent processes running on an HP Operations Manager managed node. This command can be integrated in the startup procedure of the computer. If used without any option, opcagt returns the current status of the agent services running on the local system.
Windows
opcagt [ -help | -h | -stop | -kill | -start | -restart |
-cleanstart | -status | -type [-verbose]]
Linux
./opcagt [-help | -stop | -kill | -start | -restart |
-cleanstart | -status | -type [-verbose]]
-help | -h
-stop
-kill
-start
-restart
-cleanstart
-status
-type
-verbose
-version
This command exits with a value of zero after successful operation. If a failure occurs, the exit value is set to one and an appropriate message displays.
In addition, the HP Operations agents record any warnings or errors in the local HPOM log file:
'%OvAgentDir%\log\OpC\opcerror'
/var/opt/OV/log/OpC/opcerror
This command can be run only by a user with administrative rights.
To start all agent services on the local system
opcagt -start
Related Topics: