Page 1 of 1

ndo2db process does not exist

Posted: Tue Sep 08, 2020 11:05 am
by nmarbue79
hi:
I have a question, reviewing the nagios and database processes I found that the ndo2db connector is not there as a service, I have the version of nagiosxi 5.7.1 in red hat 7.8 enterprise, this is so in this version or I am missing that module I see it weird. Is the connection made in another way of the frontent of nagios with the mariadb database?

[root @ nagiosxi log] # service ndo2db status
Redirecting to / bin / systemctl status ndo2db.service
Unit ndo2db.service could not be found.
[root @ nagiosxi log] # systemctl status ndo2db.service
Unit ndo2db.service could not be found.

Re: ndo2db process does not exist

Posted: Tue Sep 08, 2020 11:52 am
by scottwilkerson
nmarbue79 wrote:Is the connection made in another way of the frontent of nagios with the mariadb database?
Yes, starting in 5.7.0 the ndo2db process is deprecated and the connection is made directly in the ndo module

Re: ndo2db process does not exist

Posted: Thu Sep 10, 2020 4:16 am
by nmarbue79
So if I want to restart the process, how do I do? I say this in case a table breaks and I have to repair it as it has ever happened to me and stop those database processes apart from nagios.

I used to do this:
service nagios stop
service ndo2db stop
service crond stop
service postgresql restart
pkill -9 -u nagios

Re: ndo2db process does not exist

Posted: Thu Sep 10, 2020 6:45 am
by scottwilkerson
nmarbue79 wrote:So if I want to restart the process, how do I do? I say this in case a table breaks and I have to repair it as it has ever happened to me and stop those database processes apart from nagios.

I used to do this:
service nagios stop
service ndo2db stop
service crond stop
service postgresql restart
pkill -9 -u nagios
Just take the ndo2db part out

Code: Select all

service nagios stop
service crond stop
service postgresql restart
pkill -9 -u nagios

Re: ndo2db process does not exist

Posted: Thu Sep 24, 2020 11:59 am
by nmarbue79
thank you very much it is clear to me

Re: ndo2db process does not exist

Posted: Thu Sep 24, 2020 2:07 pm
by scottwilkerson
nmarbue79 wrote:thank you very much it is clear to me
Closing thread