Page 3 of 5
Re: Problem Hostgroups in Nagiosxi
Posted: Wed Jan 30, 2019 5:29 pm
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.
Re: Problem Hostgroups in Nagiosxi
Posted: Thu Jan 31, 2019 2:44 am
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
Re: Problem Hostgroups in Nagiosxi
Posted: Thu Jan 31, 2019 8:05 am
by roccoss
hi @tgriep
I have problem to send log in PM,
Can you download?
https://we.tl/t-5rl8WU92lM
Thank you
Re: Problem Hostgroups in Nagiosxi
Posted: Thu Jan 31, 2019 9:44 am
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?
Re: Problem Hostgroups in Nagiosxi
Posted: Fri Feb 01, 2019 3:08 am
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
Re: Problem Hostgroups in Nagiosxi
Posted: Fri Feb 01, 2019 10:04 am
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.
Re: Problem Hostgroups in Nagiosxi
Posted: Mon Feb 04, 2019 1:05 pm
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
Re: Problem Hostgroups in Nagiosxi
Posted: Mon Feb 04, 2019 2:42 pm
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?
Re: Problem Hostgroups in Nagiosxi
Posted: Mon Feb 04, 2019 4:14 pm
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
Re: Problem Hostgroups in Nagiosxi
Posted: Mon Feb 04, 2019 5:12 pm
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?