Monitoring IBMi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tim.kroeger
Posts: 12
Joined: Wed May 20, 2020 5:33 am

Monitoring IBMi

Post 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.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring IBMi

Post 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
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
tim.kroeger
Posts: 12
Joined: Wed May 20, 2020 5:33 am

Re: Monitoring IBMi

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring IBMi

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
tim.kroeger
Posts: 12
Joined: Wed May 20, 2020 5:33 am

Re: Monitoring IBMi

Post 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?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring IBMi

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
tim.kroeger
Posts: 12
Joined: Wed May 20, 2020 5:33 am

Re: Monitoring IBMi

Post by tim.kroeger »

we've already done that too and no one responded. We'll try again.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Monitoring IBMi

Post by benjaminsmith »

Hi Tim,

Ok, I'll reach out to them as well.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked