OpenNMS datasource is actually a database datasource to access the database tables of OpenNMS. Therefore, the principles are basically same as working with any database. For OpenNMS specific details you are encouraged to review the default scripts bundled with the OpenNMS plugin installation:
- RS_HOME/RapidSuite/operations/datasource/OpenNmsSingleTableDatabaseDatasourceOperations.groovy
- RS_HOME/RapidSuite/scripts/openNmsAlarm.groovy
 | Database adapter wrapped by the OpenNMS datasource converts the data types to corresponding Java data types (e.g. Varchar to String). However, null values will be retrieved as empty strings to make manipulation easier in RapidOSS scripts. |
Add Comment