Page 1 of 2

Installing Nagiosxi for project.

Posted: Wed May 13, 2020 3:09 pm
by Robertoo88
hey,

I am installing a nagiosXI setup on Ubuntu 18.xx.
the set-up and install completed without problems (great installer!)

But..........

The Nagios XI "Interface" are showing no hosts or services listed. However if you go into CCM you can see that all hosts/services/groups are present as they should be.

I have tried to restart Nagios. the server i am trying to monitor is running in VMware workstation.
the server is a simpel windows 2019 r2 server.
I can ping the nagios server from windows and vice versa.

Also the Monitoring Engine Event Queue is empty.

I know I am missing something but need help to correct.

Re: Installing Nagiosxi for project.

Posted: Wed May 13, 2020 4:14 pm
by jbrunkow
Hello Robertoo88!

Welcome to the forum. :D Thanks for contributing.

Nagios does not recognize hosts on its network automatically. The easiest way to configure communication between XI and a host is to run the appropriate Wizard. Just navigate to the Configure section using the bar on top > click Configuration Wizards under Configuration Tools > then search or select the Wizard that matches your target operating system and just follow the steps.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Please let me know if I can answer any more questions.

Re: Installing Nagiosxi for project.

Posted: Thu May 14, 2020 7:38 am
by Robertoo88
Hello thanks for the welcome.

I used the wizards for that host.

Re: Installing Nagiosxi for project.

Posted: Thu May 14, 2020 9:38 am
by Robertoo88
hey,
after looking around.
i found this (foto)

Could this be the cause of my problem?

Re: Installing Nagiosxi for project.

Posted: Thu May 14, 2020 10:41 am
by jbrunkow
That certainly could be the problem. On what page do you see those indicators?

Pardon me if this is another obvious suggestion, but have you applied the configuration? You can do so by navigating to Configure using the bar on top of XI > click Core Config Manager under Advanced Configuration on the left pane > then click Apply Configuration under Quick Tools > and click the Apply Configuration button on that page.

Sometimes hosts can be hidden by adding register 0 to the hostgroup or object.

Re: Installing Nagiosxi for project.

Posted: Thu May 14, 2020 11:00 am
by Robertoo88
Hey,

I see those on the Birdseye menu option.

The config is applied and still no hosts ;(

Re: Installing Nagiosxi for project.

Posted: Fri May 15, 2020 10:40 am
by jbrunkow
Can you please check if the Nagios service is running? You can see this by hovering and clicking on the check mark to the left of your account name.

It may help to rewrite your configuration files. Navigate to Configure using the bar on top > click Core Config Manager under Advanced Configuration on the left pane > then click Config File Management under Tools > and use the buttons on that page to perform the following steps.
  1. Click Delete Files to remove your problematic configuration files.
  • Click Write Configs to generate new configuration files.
  • Click Verify Files to check for errors.
  • If any errors are returned, correct the problem they specify and then do steps 1 - 3 again.
  • Once errors are cleared, click Restart Nagios Core to apply changes.
If this does not work, please provide the errors here, and send us a profile so that we can look into this further. You can do so by navigating to System Profile under System Config on the left pane > and clicking the Download Profile button on that page.

Re: Installing Nagiosxi for project.

Posted: Sat May 16, 2020 3:55 am
by Robertoo88
Hey,

I done the steps still no result ;(
I have added the pics of the results.
There where no errors.

Re: Installing Nagiosxi for project.

Posted: Mon May 18, 2020 4:13 pm
by benjaminsmith
Hi @Robertoo88,

Thanks for sharing your profile, please run the following tail command, then Apply Configuration the CCM and post the full output to the thread.

Code: Select all

tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Additionally, please refer to the following guide to verify that the PHP timezone setting matches the value in the Nagios XI settings, Admin < System Config > System Settings.

Nagios XI Changing the System Time

Thanks.

Re: Installing Nagiosxi for project.

Posted: Wed May 20, 2020 4:55 am
by Robertoo88
Hey,

I SOLVED IT.

The Problem.
I AM AN IDIOT!

I installed nagios xi over nagios core without whiping the server.
This broke nagios XI.

So I installed it on a clean server and its up and running.
Thanks for all the help!