Page 1 of 1
Monitoring IBMi
Posted: Mon Jun 22, 2020 8:51 am
by tim.kroeger
I'm trying to monitor some power servers using the IBMi wizard and I'm getting the following error:
java.io.EOFException: Unexpected end of ZLIB input stream
java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)
java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2719)
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2735)
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3212)
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:895)
java.io.ObjectInputStream.(ObjectInputStream.java:357)
com.ibm.nagios.config.HostConfig.load(HostConfig.java:199)
com.ibm.nagios.config.HostConfig.Insert(HostConfig.java:126)
com.ibm.nagios.config.HostConfig.main(HostConfig.java:60)
Insert host failed
Thanks in advance for the help.
Re: Monitoring IBMi
Posted: Mon Jun 22, 2020 2:31 pm
by benjaminsmith
Hi Tim,
This particular wizard is developed and maintained by IBM. Recently, we had a customer experience an error setting up the wizard, and the developer provided updated version of the main java program.
While not exactly the same error message, please try updating your system with the latest program file and if you continue to receive errors please post them to the thread and I can assist you in contacting the developers at IBM.
1. Replace the file /usr/local/nagios/libexec/nagios4i.jar by the attached one (make backup of current file)
2. Restart the server by command bash /usr/local/nagios/libexec/server_restart.sh
Thanks.
Benjamin
Re: Monitoring IBMi
Posted: Tue Jun 23, 2020 7:58 am
by tim.kroeger
Thanks! I copied the new .jar file over and restarted the service, but I'm still getting the following error:
Register profile error:
java.io.EOFException: Unexpected end of ZLIB input stream
java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)
java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2719)
java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2735)
java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:3212)
java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:895)
java.io.ObjectInputStream.(ObjectInputStream.java:357)
com.ibm.nagios.config.HostConfig.load(HostConfig.java:198)
com.ibm.nagios.config.HostConfig.Insert(HostConfig.java:125)
com.ibm.nagios.config.HostConfig.main(HostConfig.java:63)
Insert host failed
Re: Monitoring IBMi
Posted: Tue Jun 23, 2020 9:15 am
by lmiltchev
As mentioned before, this is developed/maintained by IBM and it is out of scope of Nagios support. Please seek help here:
https://www.ibm.com/support/pages/node/1274296
Re: Monitoring IBMi
Posted: Tue Jun 23, 2020 9:36 am
by tim.kroeger
In the first reply, I was told you all would assist me in working with IBM. Is that no longer the case?
Re: Monitoring IBMi
Posted: Tue Jun 23, 2020 10:04 am
by benjaminsmith
Hi Tim,
Since this was not resolved, please open an issue on the GitHub repo with the error message your getting, so this potential bug can be tracked.
https://github.com/IBM/nagios-for-i/issues
If you don't get a reply, I can follow up with them as well.
Thanks,
Benjamin
Re: Monitoring IBMi
Posted: Tue Jun 23, 2020 10:06 am
by tim.kroeger
we've already done that too and no one responded. We'll try again.
Re: Monitoring IBMi
Posted: Tue Jun 23, 2020 10:32 am
by benjaminsmith
Hi Tim,
Ok, I'll reach out to them as well.