Table of Contents | ||||
---|---|---|---|---|
|
...
This can be set in <omk_dir>/conf/opCommon.nmis in the poller:
Code Block |
---|
'"opha_url_base'" =>: '"https://servername'.domain.com", |
If we set the url to https://servername in the discover, the poller is going to send its registry data to the Primary, and the Primary will get the correct url_base for the peer from that information.
If the opha_url_base is blank the Primary will swap the https:// URL for http://
Verify Hostname and URL Base configuration
To verify that the url base and hostnames are correct.
Code Block |
---|
grep -E "(opha|opevents|opflow|opcharts|opconfig|opflowsp|opreports|omkd)_(hostname|url_base)" /usr/local/omk/conf/opCommon.json |
The results should be that omkd and opha values are set but not others.
Code Block |
---|
"opflowsp_url_base" : "", "opflowsp_hostname" : "", "opflow_opcharts_url_base" : "", "opflow_url_base" : "", "opflow_hostname" : "", "opcharts_url_base" : "", "opcharts_hostname" : "", "opconfig_hostname" : "", "opconfig_url_base" : "", "omkd_url_base" : "", "opevents_hostname" : "", "opevents_url_base" : "", "opreports_url_base" : "", "opreports_hostname" : "", "opreports_opcharts_url_base" : "http://127.0.0.1:8042", "opha_hostname" : "lab-ms-primary", "opha_url_base" : "https://lab-ms-primary.opmantek.net", |
Some data is not updated in the Primary
...
Premature Connection Close
The web server closed the connection before the user agent could receive the whole response or that the user agent got destroyed, which forces all connections to be closed immediately.
We can tune the following values to prevent this error to happen:
In the primary server
If the poller is taking too long to respond, we can increase the value of omkd_inactivity_timeout in <omk_dir>/conf/opCommon.json.
...