Using spo_event on Windows Systems

You can use the spo_event command to send any event report from a Windows system to Operations Sentinel server. You can call this command from a Windows command prompt, from within a Windows batch file, or from within a user program.

The spo_event sends alert to the primary Operations Sentinel server. It picks the value of primary server by default. The default value of secondary server is NULL. If the alert has to be sent to both primary and secondary servers, you have to create the following environment variables:

The spo_event executable file is installed along with the WRM in the same installation folder. See “Installation Overview”

Call the spo_event command using the following format:

cd sp-agent-installation-folder spo_event "
attribute-name-1 = value-1 [ | attribute-name-2 = value-2 ] ..."

where sp-agent-installation-folder is the folder in which the WRM was installed on the Windows system.

The attribute value pairs must conform to the syntax of the event report being sent.

You can include quotation marks around the entire sequence of attribute value pairs. Missing quotation marks result in a command error, since the Windows shell interprets the vertical bar symbol “|” as a pipe symbol otherwise.