IBM / nagios-for-i

MIT License
19 stars 20 forks source link

application requester cannot establish the connection. (Connection refused (Connection refused)) #14

Open richiecoy opened 3 years ago

richiecoy commented 3 years ago

I am trying to monitor an iseries and I am receiving an exception error on some of the monitors, but not all.

When I try ASPUsage I get: Exception - com.ibm.as400.access.ConnectionPoolException: The application requester cannot establish the connection. (Connection refused (Connection refused)) com.ibm.as400.access.AS400JDBCConnectionPool.fill(AS400JDBCConnectionPool.java:360) com.ibm.as400.access.AS400JDBCConnectionPool.getPooledConnection(AS400JDBCConnectionPool.java:501) com.ibm.as400.access.AS400JDBCConnectionPool.getConnection(AS400JDBCConnectionPool.java:456) com.ibm.nagios.util.JDBCConnection.getJDBCConnection(JDBCConnection.java:56) com.ibm.nagios.service.impl.ASPUsage.execute)ASPUsage.java:39) com.ibm.nagios.client.CheckIBMiStatus.main(CheckIBMiStatus.java:77)

However, If I try BasicInfo - it works and I get a response back.

zhangyan101 commented 3 years ago

Plugin takes advantage of JTOpen toolbox to connect to IBM i system. It requires the following ports to be enabled. http: 449,446,8470,8471,8472,8473,8474,8475,8476 https: 448,9470,9471,9472,9473,9474,9475,9476