Problem Hostgroups in Nagiosxi

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem Hostgroups in Nagiosxi

Post by tgriep »

Thanks, I received the file. Like you said, no errors.

Lets try the ndo2db.debug file again but do one more change.
Open the /usr/local/nagios/etc/ndo2db.cfg file in a text editor, and change these lines from

Code: Select all

debug_level=-1
max_debug_file_size=1000000
to

Code: Select all

debug_level=2
max_debug_file_size=10000000
Save, exit, and restart nagios and ndo2db.

Code: Select all

service nagios stop
service ndo2db restart
service nagios start
Then go in to the XI GUI and edit a Host Group by adding a host and saving it.
Remove that host, save it and Apply the Config.

Then give the system a minutes to run and post the /usr/local/nagios/var/ndo2db.debug file here?
Check to see if the Groups are visible in XI.
Be sure to check out our Knowledgebase for helpful articles and solutions!
roccoss
Posts: 25
Joined: Tue Sep 02, 2014 11:47 am

Re: Problem Hostgroups in Nagiosxi

Post by roccoss »

Hi @tgriep

I modify the file as you say, and restart nagios/ndo2db

debug_level=2
max_debug_file_size=10000000

I modify hostgroup "adsp_ree.sg" and add hosts "ui2g, ui2t" apply configuration, later delete this hosts, also create new hostgroup "prueba" with host ah1g and apply configuration.

The hostgroups are not visible, I send ndo2.debug in PM

Thank you
roccoss
Posts: 25
Joined: Tue Sep 02, 2014 11:47 am

Re: Problem Hostgroups in Nagiosxi

Post by roccoss »

hi @tgriep

I have problem to send log in PM,

Can you download?

https://we.tl/t-5rl8WU92lM

Thank you
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem Hostgroups in Nagiosxi

Post by tgriep »

I did receive the file so you can remove it from that site.

Login to the XI GUI, go to the Admin > Performance Settings menu.
If the Use Unified Hostgroup Screens : box is unchecked, chect it. If it is Checked, uncheck it and update the settings.

Go to the Manage System Config menu and update the Program URL to remove the s from https in the URL and Update the Settings.
See if that helps.

One question, the URL you are showing in your examples, has port 9999 in it and you are using localhost as the server name.
Can you provide more details on how that is setup?
Be sure to check out our Knowledgebase for helpful articles and solutions!
roccoss
Posts: 25
Joined: Tue Sep 02, 2014 11:47 am

Re: Problem Hostgroups in Nagiosxi

Post by roccoss »

Hi @tgriep,

Checking the box Use Unified Hostgroup , resolved the problem!!!!

Since my pc, i have´t connexion port 80 the Nagios machine, I have configure tunnel SSH

Thank you
Regards
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem Hostgroups in Nagiosxi

Post by tgriep »

Glad to hear that the Hostgroups are visible now in the XI GUI.
It could be that the ssh tunneling was blocking the viewing of the Hostgroups but at least it is working now.
Be sure to check out our Knowledgebase for helpful articles and solutions!
roccoss
Posts: 25
Joined: Tue Sep 02, 2014 11:47 am

Re: Problem Hostgroups in Nagiosxi

Post by roccoss »

Hi @tgriep

Now i have other problem. When I'm going to seen the host's services i can't show them.
I obtain the next error "no matching services found"

What is the cause?

Thank you
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem Hostgroups in Nagiosxi

Post by tgriep »

I would guess that the ssh tunneling may be causing the system from gathering the information as it uses your browsers URL to display it and since the URL does not match, it would not display the data.
Can you access the server directly?
Be sure to check out our Knowledgebase for helpful articles and solutions!
roccoss
Posts: 25
Joined: Tue Sep 02, 2014 11:47 am

Re: Problem Hostgroups in Nagiosxi

Post by roccoss »

Hi @tgriep

I haven't direct access to the server. The SSH tunnel doesn't might the problem, because in the same net there are some Nagios servers in which appearance hosts services.

Thank you
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Problem Hostgroups in Nagiosxi

Post by tgriep »

Are you saying that you can view some Host and Service Details in the GUI and some you cannot?

Or is it that you cannot view all of the Host and Service details?

Can you get direct access to the server to see if they display correctly without tunneling?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked