FW: Help with new installation for OpenNMS 21.1.0

Zhi-Wei Lu <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <SN2PR0801MB2143DA9C53AAC1E745DAD471CB950@SN2PR0801MB2143.namprd08.prod.outlook.com>
Hi OpenNMS gurus,

I have been evaluating a number of network managament systems for a while to manage about 2000 routers/switches.
I installed OpenNMS horizton 21.1.0 last week and I really like it what I have seen so far.

I installed it on a VM with (32 cores, 32 GB of RAM and a SSD backed file system). The VM is running ubuntu 18.04.
I had trouble installing cassandra 3.0.x from datastax.com, so I install cassandra 3.0.x from package directly from apache.org.
The subsequent OpenNMS appears to work.  Here are some of the system information.

OpenNMS Version:        21.1.0
Home Directory:         /usr/share/opennms
RRD store by group enabled?     False
RRD store by foreign source enabled?    True
Reports directory:   /var/lib/opennms/reports
Jetty HTTP host:     Unspecified
Jetty HTTP port:     8980
Jetty HTTPS host:    Unspecified
Jetty HTTPS port:    Unspecified
SNMP trap port:      162
Syslog port:         10514

Server Time:         Mon May 21 09:08:51 PDT 2018
Client Time:         Mon May 21 2018 09:08:51 GMT-0700 (PDT)
Java Version:        1.8.0_171 Oracle Corporation
Java Virtual Machine:          25.171-b11 Oracle Corporation
Operating System:              Linux 4.15.0-20-generic (amd64)
Servlet Container:             jetty/9.4.2.v20170220 (Servlet Spec 3.1)

I have provisioned about 160 nodes (mostly routers). The "SNMP interfaces" for many routers have not being found for those routers. I wonder if I can force it to detect the interface.

In the provisiond log file, there are regular warning about:

2018-05-21 10:03:36,131 WARN  [pool-27-thread-61] o.o.n.j.c.PasswordStrategy: PasswordStrategy is STANDARD but credentials are provided. Using PASSWORD_CLEAR instead.

I don't know where I should modify the configuration to get rid of this warning.

There are also regular warnings about and I would love to get some tips to properly tune the OpenNMS systems.

2018-05-21 10:07:28,035 WARN  [scanExecutor-8] o.a.c.p.PhaseInterceptorChain: Interceptor for {http://cxf.wsman.core.opennms.org/}Identi
fyOperationsService#{http://cxf.wsman.core.opennms.org/}Identify has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error writing to XMLStreamWriter.
        at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:317
) ~[cxf-rt-bindings-soap-3.1.11.jar:3.1.11]
        at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:293
) ~[cxf-rt-bindings-soap-3.1.11.jar:3.1.11]
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) [cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514) [cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423) [cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324) [cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277) [cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96) [cxf-rt-frontend-simple-3.1.11.jar:3.1.11]
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:139) [cxf-rt-frontend-jaxws-3.1.11.jar:3.1.11]
        at com.sun.proxy.$Proxy244.identify(Unknown Source) [?:?]
        at org.opennms.core.wsman.cxf.CXFWSManClient.identify(CXFWSManClient.java:152) [org.opennms.core.wsman.cxf-1.2.2.jar:?]
        at org.opennms.netmgt.provision.detector.wsman.WsManDetector.isServiceDetected(WsManDetector.java:91) [org.opennms.features.wsma
n-21.1.0.jar:?]
        at org.opennms.netmgt.provision.detector.wsman.WsManDetector.detect(WsManDetector.java:74) [org.opennms.features.wsman-21.1.0.ja
r:?]
        at org.opennms.netmgt.provision.detector.client.rpc.DetectorClientRpcModule$1.get(DetectorClientRpcModule.java:89) [opennms-dete
ctorclient-rpc-21.1.0.jar:?]
        at org.opennms.netmgt.provision.detector.client.rpc.DetectorClientRpcModule$1.get(DetectorClientRpcModule.java:85) [opennms-dete
ctorclient-rpc-21.1.0.jar:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) [?:1.8.0_171]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_171]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_171]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:1.8.
0_171]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.8.0_171]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_171]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_171]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: com.ctc.wstx.exc.WstxIOException: connect timed out
        at com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1421) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:532) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at org.apache.cxf.staxutils.DelegatingXMLStreamWriter.writeEndDocument(DelegatingXMLStreamWriter.java:119) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:306

        ... 22 more
Caused by: java.net.SocketTimeoutException: connect timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_171]
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_171]
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_171]
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_171]
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_171]
        at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_171]
        at sun.net.NetworkClient.doConnect(NetworkClient.java:175) ~[?:1.8.0_171]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:463) ~[?:1.8.0_171]
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:558) ~[?:1.8.0_171]
        at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:264) ~[?:1.8.0_171]
        at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:367) ~[?:1.8.0_171]
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191) ~[?:1.8.0_171]
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1199) ~[?:1.8.0_171]
       at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1050) ~[?:1.8.0_171]
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177) ~[?:1.8.0_171]
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334) ~[?:1.8.0_171]
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309) ~[?:1.8.0_171]
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259) ~[?:1.8.0_171]
        at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.setupWrappedStream(URLConnectionHTTPConduit.java:273) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleHeadersTrustCaching(HTTPConduit.java:1328) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.onFirstWrite(HTTPConduit.java:1288) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.transport.http.URLConnectionHTTPConduit$URLConnectionWrappedOutputStream.onFirstWrite(URLConnectionHTTPConduit.java:305) ~[cxf-rt-transports-http-3.1.11.jar:3.1.11]
        at org.apache.cxf.io.AbstractWrappedOutputStream.write(AbstractWrappedOutputStream.java:47) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.io.AbstractThresholdOutputStream.write(AbstractThresholdOutputStream.java:69) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.io.CacheAndWriteOutputStream.write(CacheAndWriteOutputStream.java:80) ~[cxf-core-3.1.11.jar:3.1.11]
        at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:100) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:241) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at com.ctc.wstx.sw.BufferingXmlWriter.close(BufferingXmlWriter.java:214) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at com.ctc.wstx.sw.BaseStreamWriter._finishDocument(BaseStreamWriter.java:1419) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at com.ctc.wstx.sw.BaseStreamWriter.writeEndDocument(BaseStreamWriter.java:532) ~[woodstox-core-asl-4.4.1.jar:4.4.1]
        at org.apache.cxf.staxutils.DelegatingXMLStreamWriter.writeEndDocument(DelegatingXMLStreamWriter.java:119) ~[cxf-core-3.1.11.jar:3.1.11]
        at org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor$SoapOutEndingInterceptor.handleMessage(SoapOutInterceptor.java:306) ~[cxf-rt-bindings-soap-3.1.11.jar:3.1.11]
        ... 22 more

Thank you.

Zhi-Wei Lu
IET-CR-Network Operations Center
University of California, Davis
(530) 752-0155

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.