Exotic way to pass variable into JDBC datacollection, JDBC Monitor and JDBC Query Monitor
Description
In the JDBC collector the IP address doing the data collection is passed by replacing OPENNMS_JDBC_HOSTNAME. The name is quite confusing, it seems it is replaces with the hostname of the OpenNMS server. The variable replacement should be done like in the Page Sequence Monitor with ${nodelabel} or ${ipaddr}.
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Show:
Marcel Fuhrmann September 17, 2018 at 6:06 AM
Edited
Also the definition is:
So when it can be resolved, this hostname is used primary otherwise the IP?
In the JDBC collector the IP address doing the data collection is passed by replacing OPENNMS_JDBC_HOSTNAME. The name is quite confusing, it seems it is replaces with the hostname of the OpenNMS server. The variable replacement should be done like in the Page Sequence Monitor with
${nodelabel}
or${ipaddr}
.