Page 2 of 2
Re: Unable to delete a service
Posted: Tue Jun 28, 2016 2:27 pm
by tgriep
If looks like those services are in these service groups.
Dutch DAX PROD Services Group
Dutch DAX UAT Services Group
If you go in to the Core Config Manager > Service Groups and delete the services from them, you should be able to delete those services.
Re: Unable to delete a service
Posted: Tue Jun 28, 2016 3:48 pm
by Naveed
Thank you very much!
Impacted service do not show in list of all services.
I go into Configure==> Core Config Manager > Service Groups and then select a service group
I cant find impacted service in list of services.
Screenshot is attached.
Thank you
Re: Unable to delete a service
Posted: Tue Jun 28, 2016 4:18 pm
by tgriep
Lets run a repair of the MYSQL database and restart the processes to see if that fixes the issue.
Login as root to the XI server and run the following to do that
Code: Select all
cd /usr/local/nagiosxi/scripts
./repair_databases.sh
service nagios stop
service ndo2db stop
killall -9 nagios
killall -9 ndo2db
service mysqld restart
service ndo2db start
service nagios start
Wait a few minutes for the server to startup, login to the XI GUI and see if you can delete those services if they still exist.
Re: Unable to delete a service
Posted: Wed Jun 29, 2016 10:17 am
by Naveed
Thank you!
I have followed the same procedure.
I have killed all processes and restart nagios and ndo2db services but mysql did not restart and generated followign error.
[root@AXmonitor scripts]# service mysqld restart
Redirecting to /bin/systemctl restart mysqld.service
Failed to issue method call: Unit mysqld.service failed to load: No such file or directory.
Kindly suggest.
Thank you!
Re: Unable to delete a service
Posted: Wed Jun 29, 2016 10:45 am
by rkennedy
Try service mariadb restart instead.
Re: Unable to delete a service
Posted: Wed Jun 29, 2016 11:09 am
by Naveed
I have restarted service by suggested command and its in active state now.
I have found another problem in my one hostgroup, 2 services are in unknown state and both services are showing below error.
Note: I cant delete these services from GUI and these do not exist in nagios config files, I have checked it from CLI.
screenshot is attached.
One hostgroup is showing invalid password for all host for one service only..
Other hostgroup error is attached.
Thank you!
Re: Unable to delete a service
Posted: Wed Jun 29, 2016 12:57 pm
by rkennedy
Let's continue this at your newest thread, as this is now related to the same issue going on, where you are unable to delete a service / track it down. This will help to keep us organized to one post, rather then all over the board.
https://support.nagios.com/forum/viewto ... 999#bottom