Description
This command notifies an asynchronous event to the Management Server of Systemwalker Runbook Automation.
Synopsis
swrba_notifyevent -msgID Massage ID -host Host name -comment Comment -key Access key |
Options
Specify the message ID of occurring event. Specify it form 1 to 250 characters.
Specify the host name of occurring event. Specify it form 1 to 250 characters.
Specify the comment about occurring event. For instance, specify the message ID or the information that is needed to start the automated operation process. Specify it form 1 to 300 characters.
Specify the access key that is needed to specify the automated operation process. Acquire the access key according to the following procedures.
Click [System Administration]-[Process Group Settings] in the Web console.
The list of the Automated Operation Process Group is displayed.
Select the Automated Operation Process Group that includes the automated operation process that you want to start.
Click [Access Key] in [Details] tab of selected Automated Operation Process Group.
Return Values
Return Value | Meaning |
---|---|
0 | Normal termination |
1 | Command execution error |
2 | Parameter error |
6 | I/O error |
Irregularity | Forced ending |
Command Location
[Windows]
<Systemwalker Runbook Automation installation directory>\bin |
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using Windows Server 2008 or later operating system, run as an administrator.
This command can be executed on a Management Server.
[Linux]
This can only be executed by a system administrator (superuser).
This command can be executed on a Management Server.
Example
/opt/FJSVswrbam/bin/swrba_notifyevent -msgID 0001 -host test -comment database error -key **BEGIN_KEY--{{ezsGjLOinOQpHzfVu9I2JcHCRTIl2OzFNy7CVqexSKAwiKb/veZCJIx66nTr2rJsoG7wr8jKoeY3BQYWh70ORstQa/wbqOl87S7RsSeojQPDGbxrUG8LyTpiILl5WEDSAjzqpC+xprE6sX45GZF5mnPlkw23QYPl}}--END_KEY** |
Execution Result/Output Format
FSP_SW/RB-A_BASE: INFO: 02040: The event notify command has completed normally. |