Previous Topic: GCEventAddCmd.bat—Run the Universal ConnectorNext Topic: Publish Multiple Status Events, CIs, and Services


Publish a Single Status Event

The batch program can publish a single event to CA SOI when specified with the appropriate command line parameters. For a single event, you can pass most of the parameters in the argument list. In this case, run the batch program as follows:

GCEventAddCmd -h<wsHostName:wsPort> -a<MdrElementID> -i<AlertedMdrElementID> -s<severity> -t<AlertType>  -m<summary>
-h<wsHostName:wsPort>

Specifies the web services host name and port number, which is the same as the SA Manager host name and port number. By default, the SA Manager port is 7090.

-a<MdrElementID>

Specifies the unique alert ID.

-i<AlertedMdrElementID>

Specifies the AlertedMdrElementID, which is the MdrElementID of the CI that the alert is associated with.

-s<severity>

Specifies the alert severity. The valid values are Normal, Minor, Major, Critical, Down.

-t<AlertType>

Specifies the type of alert. The valid values are Risk and Quality.

-m<summary>

Specifies the appropriate message text that you want to display.