Page 1 of 1

Auto-discovery not working

Posted: Fri Jan 22, 2021 10:28 am
by mshakhnovich-fdu
Hello,

We are testing the ncpa client, we currently use the nsclient. We have installed the ncpa on a host, we can add that host using the ncpa configuration template but when we try to do an auto-discover to that ip the auto-discover just spins, we left it in that state for over 24 hrs. What is the cause of this issue?

Re: Auto-discovery not working

Posted: Fri Jan 22, 2021 4:43 pm
by benjaminsmith
Hi @mshakhnovich-fdu,

What version of Nagiso XI are you currently running?

It could be a permissions issue, you should see some job files in the following directory. Let's check the permissions.

Code: Select all

ls -l /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
They should be set as follows.

Code: Select all

chmod 775 /usr/local/nagiosxi/html/includes/components/autodiscovery/jobs
If that's not it, please run the following tail command to watch the Apache logs, then run an autodiscovery job and post the output.

Code: Select all

tail -f /var/log/httpd/*error_log
Regards,
Benjamin