Hi,
We are using Nagios XI.
We have deleted the host host1 and applied configuration. We are getting following error.
host1 is not a valid parent for host2.
I checked the parent child relation for host2. But host1 is not defined as parent for host2.
What could be the reason of this error. How to get rid of this error.
Regards,
Pratap
host1 is not a valid parent for host2
Re: host1 is not a valid parent for host2
Hello Pratap
Thanks for reaching out, I understand that you are trying to remove a host and you are receiving an error message that refers to an invalid parent.
Let's make sure that the services have been restarted and that there are no ghost services.
This will list the running instances:
Run the following to 'end running processes' and restart services:
Once things are up and running again please remove the host and let me know the results,
Perry
Thanks for reaching out, I understand that you are trying to remove a host and you are receiving an error message that refers to an invalid parent.
Let's make sure that the services have been restarted and that there are no ghost services.
This will list the running instances:
Code: Select all
ps -aux | grep -E '/bin/nagios'
Code: Select all
service nagios stop
pkill -9 nagios
service nagios start
Perry
Re: host1 is not a valid parent for host2
We have configured some devices even after getting this error. Will that remain intact if we restart nagios.
Re: host1 is not a valid parent for host2
Hello Pratapa,
Thanks for following up and server reboot will be fine and all services will spin up.
Regards,
Perry
Thanks for following up and server reboot will be fine and all services will spin up.
Regards,
Perry