Top
Systemwalker Runbook Automation Reference Guide
Systemwalker

1.4.4 swrba_notifyevent (Event Notification Command)

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

-msgID Massage ID

Specify the message ID of occurring event. Specify it form 1 to 250 characters.

-host Host name

Specify the host name of occurring event. Specify it form 1 to 250 characters.

-comment Comment

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.

-key Access key

Specify the access key that is needed to specify the automated operation process. Acquire the access key according to the following procedures.

  1. Click [System Administration]-[Process Group Settings] in the Web console.
    The list of the Automated Operation Process Group is displayed.

  2. Select the Automated Operation Process Group that includes the automated operation process that you want to start.

  3. 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
Note: The default location is C:\Fujitsu\Systemwalker\SWRBAM

[Linux]

/opt/FJSVswrbam/bin


Privilege Required/Execution Environment

[Windows]

[Linux]

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.