Page 1 of 1

New XI Server not Showing Data

Posted: Mon May 04, 2020 7:17 am
by blariv
hi,

i have 2 servers showing XI data, the 3rd is not. I is a brand new XI install, php settings have been tweaked per my last post. I also do not see any logs in the fusion.log. I tested connectivity and it connected fine, the authentication also connected.

Re: New XI Server not Showing Data

Posted: Mon May 04, 2020 1:11 pm
by ssax
Brand new meaning XI 5.6.14?

Are you seeing any errors in the poller logs in /usr/local/nagiosfusion/var?

Anything in Admin > Fusion Logs?

Then in the Nagios Fusion web interface go to Admin > System Settings:
- Set Log Level to trace
- Check the box next to Enable writing log data to the specified file
- Check the box next to Enable writing debug data to the specified file.

Then in that same SSH session, please run this command (as root) and LEAVE IT RUNNING:

Code: Select all

tail -Fn0 /var/log/messages /var/log/cron /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosfusion/var/log/*.log
Then go to Admin in the web interface and under the "Subsys Status" section, click the gear icon to the right of Polling Locks and then click the "Clear polling locks" button.

Now wait 10 minutes and send me the full output from the still running tail command above.

The following example is a command you can run as root on the Fusion server to see if it can connect to the remote Nagios server using the fusekey.

Run the following replacing the nagiosxiserver with the XI server's host name and the xxxxxxxxxxxxxxxxxxxxxxxx with the fusion key.

Code: Select all

curl -k -L -v http://nagiosxiserver/nagiosxi/api/v1/system/status?fusekey=xxxxxxxxxxxxxxxxxxxxxxxx
What does that output?

Re: New XI Server not Showing Data

Posted: Mon May 04, 2020 1:51 pm
by blariv
poller log showed disk space errors. I extended the drive so that is fixed. new server still didn't show so I grabbed the trace log (attached).

the test connection w/ fuse key worked.

Re: New XI Server not Showing Data

Posted: Mon May 04, 2020 2:34 pm
by ssax
There may still be some old locks.

Since you cleaned that up, do this:

Please run this command (as root) and LEAVE IT RUNNING:

Code: Select all

tail -Fn0 /var/log/messages /var/log/cron /var/log/httpd/error_log /var/log/httpd/ssl_error_log /usr/local/nagiosfusion/var/log/*.log
Then go to Admin in the web interface and under the "Subsys Status" section, click the gear icon to the right of Polling Locks and then click the "Clear polling locks" button.

Now wait 10 minutes and send me the full output from the still running tail command above.

Re: New XI Server not Showing Data

Posted: Mon May 04, 2020 3:00 pm
by blariv
here you go.

Re: New XI Server not Showing Data

Posted: Mon May 04, 2020 5:18 pm
by ssax
I'm not seeing any issues in there, are you still seeing them as not showing? Please post a screenshot of your polling settings for the server and in Admin > System Settings > Data and Polling tab.

Thank you

Re: New XI Server not Showing Data

Posted: Mon May 04, 2020 5:43 pm
by blariv
attached

Re: New XI Server not Showing Data

Posted: Tue May 05, 2020 10:55 am
by ssax
Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup:

https://support.nagios.com/tickets/

Thank you

Re: New XI Server not Showing Data

Posted: Tue May 05, 2020 3:24 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.

Thank you