Page 1 of 1

Adding an IBM i host

Posted: Tue Mar 31, 2020 4:26 pm
by Nagios_IBMi
Hi,

I installed Nagios XI and trying to add an IBM i Node for the monitoring. When I try to do it. I get the following error.

Register profile error:
java.io.IOException: Permission denied
java.io.UnixFileSystem.createFileExclusively(Native Method)
java.io.File.createNewFile(File.java:1012)
com.ibm.nagios.config.HostConfig.load(HostConfig.java:179)
com.ibm.nagios.config.HostConfig.Insert(HostConfig.java:126)
com.ibm.nagios.config.HostConfig.main(HostConfig.java:60)
Insert host failed

Re: Adding an IBM i host

Posted: Tue Mar 31, 2020 5:38 pm
by Box293
What steps did you follow to add the host?

Re: Adding an IBM i host

Posted: Thu Apr 02, 2020 7:52 am
by Nagios_IBMi
Box293 wrote:What steps did you follow to add the host?
I log in to Nagios and select Configure option - > Configuration Wizard -> search for IBM i and provided the IP address of my host. And selected some of the options to monitor and add. I also provide the credential to authenticate to the host.

Let me know if I missed a step.

Thanks,

Re: Adding an IBM i host

Posted: Thu Apr 02, 2020 3:30 pm
by ssax
Please run this tail command (and leave it running):

Code: Select all

tail -Fn0 /var/log/messages /var/log/httpd/error_log /var/log/httpd/ssl_error_log
The replicate the issue again and see if we get any relevant errors.

It looks like it's a permissions issue, we need to find out where that is.