Netcool OMNIbus monitor adapter events

The elements in the Tivoli Netcool/OMNIbus monitor event differ depending on whether the value for the <single-monitor-event> element defined in the adapter configuration is true or false.

The following figure describes the elements for the Tivoli Netcool/OMNIbus monitor adapter event when the value of the <single-monitor-event> element is true.

Elements for the monitor adapter event when < single-monitor-event > is true

Element

Description

<row>

Reports the values returned for a single row of the query

<column>

Reports the column name and value returned in the response

<metadata>

Reports the summary information for the request

<target-name>

Reports the host on which the query was executed

<query-executed>

Reports the syntax of the query defined in the adapter request

<execution-milliseconds>

Reports the duration of the request execution, in milliseconds

<response-row-count>

Reports the number of rows returned in the response

<response-column-count>

Reports the number of columns that are returned for each row in the response

<status>

Indicates the status of the request execution

Valid values: success, error

<error>

Contains the error message when a request execution is interrupted

The following figure shows an XML sample of a Tivoli Netcool/OMNIbus monitor adapter event when the value of the <single-monitor-event> element is true.

*XML sample of a Tivoli Netcool/OMNIbus monitor adapter event value of the <single-monitor-event> element is true


<omnibus-monitor-response>
<row>
<column name="movie_id">1</column>
<column name="movie_name">Bruce Almighty</column>
<column name="movie_type">5</column>
<column name="movie_year">2003</column>
<column name="movie_leadactor">1</column>
<column name="movie_director">2</column>
<column name="movie_running_time">102</column>
<column name="movie_cost">10</column>
</row>
<row>
<column name="movie_id">2</column>
<column name="movie_name">Office Space</column>
<column name="movie_type">5</column>
<column name="movie_year">1999</column>
<column name="movie_leadactor">5</column>
<column name="movie_director">6</column>
<column name="movie_running_time">90</column>
<column name="movie_cost">3</column>
</row>
<metadata>
<query-executed>select * from movie;</query-executed>
<target-name>target1</target-name>
<response-row-count>2</response-row-ccount>
<response-column-count>8</response-column-count>
<status>success</status>
</metadata>
</omnibus-monitor-response>

The following table describes the elements for the Tivoli Netcool/OMNIbus monitor adapter event when the value of the <single-monitor-event> element is false.

Elements of Tivoli Netcool/OMNIbus monitor adapter event when < single-monitor-event > is false

Element

Description

<row>

Reports the values returned for one row of the query

<column>

Reports the column name and value returned in the response

<metadata>

Reports the summary information for the request

<target-name>

Reports the host on which the query was executed

<query-executed>

Reports the syntax of the query defined in the adapter request

<execution-milliseconds>

Reports the duration of the request execution, in milliseconds

<response-row-count>

Reports the number of rows returned in the response

<response-column-count>

Reports the number of columns returned for each row

<status>

Indicates the status of the request execution

Valid values: success, error

<error>

Contains the error message in the event of an interruption during the execution of a request

When the value of the <status> element is success, the <error> element is not present.

The following figure shows an <items> XML sample of a Tivoli Netcool/OMNIbus monitor adapter event when the value of the <single-monitor-event> element is false.

XML sample of a Tivoli Netcool/OMNIbus monitor adapter event when < single-monitor-event > is false


<omnibus-monitor-response>
<column name="movie_id">1</column>
<column name="movie_name">Bruce Almighty</column>
<column name="movie_type">5</column>
<column name="movie_year">2003</column>
<column name="movie_leadactor">1</column>
<column name="movie_director">2</column>
<column name="movie_running_time">102</column>
<column name="movie_cost">10</column>
</row>
<metadata>
<target-name>target1</target-name>
<query-executed>select * from movie;</query-executed>
<row-number>1</row-number>
<response-row-count>2</response-row-ccount>
<response-column-count>8</response-column-count>
<status>success</status>
</metadata>
</omnibus-monitor-response>

Was this page helpful? Yes No Submitting... Thank you

Comments