Page 1 of 1

NDO2DB service not found in XI 5.8.x version

Posted: Thu Mar 11, 2021 5:47 pm
by capgemtools
Hello Support,

We recently upgraded our system to latest i.e. 5.8.2. This is a test system and its integrated with DEV service now instance. we were getting all the events in the service now but some how its stopped. while checking found that there is no ndo2db service running on this server. Is it replaced with something else?

we are getting attached error with service now connector while fetching events from the test server.

Re: NDO2DB service not found in XI 5.8.x version

Posted: Thu Mar 11, 2021 5:49 pm
by capgemtools
Please find system profile.
profile (1).zip

Moderator's Note: The profile has been shared with the support team but has been removed from the public forum.

Re: NDO2DB service not found in XI 5.8.x version

Posted: Fri Mar 12, 2021 3:47 pm
by benjaminsmith
Hi Sandeep,

Starting in Nagios Xi 5.7.x we upgraded the backend database application to a new version, called ndo3. Are you using the following integration with Service Now?

https://docs.servicenow.com/bundle/queb ... nectr.html

I would reach out to their support team (ServiceNow) to find out if this integration can work with NDO3 and where it's failing in it's connection. In the following file usr/local/nagios/etc/ndo.cfg, you should see a section that looks like this:
acknowledgement_data=1
comment_data=1
contact_status_data=1
downtime_data=1
event_handler_data=1
external_command_data=1
flapping_data=1
host_check_data=1
host_status_data=1
log_data=1
main_config_data=1
notification_data=1
object_config_data=1
process_data=1
program_status_data=1
retention_data=1
service_check_data=1
service_status_data=1
state_change_data=1
system_command_data=1
timed_event_data=1
With similar options for processing data type as ndo2db, but some options have been removed since they were not used frequently.

Alternatively, you could downgrade to the older version. The instructions are below.

### STANDARD DOWNGRADE OF NDO3

Code: Select all

systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented:

Code: Select all

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Make sure this line is commented:

Code: Select all

#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Then start the nagios service:

Code: Select all

systemctl start nagios

Re: NDO2DB service not found in XI 5.8.x version

Posted: Tue Mar 16, 2021 9:05 am
by capgemtools
Hi Benjamin,

The first solution you mentioned did not work. It might not have worked for anyone with the new XI version. It would be great if you could reach out to Service Now and find out how to make this integration working with the XI's latest backend database (NDO3). If this integration doesn't work with the new XI version then there is no point of upgrading the XI to the latest version.

Thanks for the help in advance.

Re: NDO2DB service not found in XI 5.8.x version

Posted: Tue Mar 16, 2021 1:01 pm
by capgemtools
Hello Benjamin,

Just got a response from service now developer that it was a bug in service now itself so Service Now support provided them a fix and its now working.

Re: NDO2DB service not found in XI 5.8.x version

Posted: Tue Mar 16, 2021 4:13 pm
by benjaminsmith
Hi Sandeep,
Just got a response from service now developer that it was a bug in service now itself so Service Now support provided them a fix and its now working.
Great! Thanks for letting us know.

Cheers,
Benjamin