Page 1 of 1

Adding a second or more parent devices to a host.

Posted: Tue Aug 29, 2023 9:32 am
by rgnick
Hello everyone!
Just made an account! Very happy to be in this forum.
Lately I'm having an issue with my Nagios Core instance. Sorry if this is a re-post but I did a big search here and there but wasn't able to find a solution.
I'm trying to add a second parent device to a host.
In general I've got a second route to reach some devices that I'm monitoring for redundancy.
Is it possible to add second parent to a host? If yes can you tell me the exact syntax?
Thanks in advance for any answer.

Re: Adding a second or more parent devices to a host.

Posted: Tue Aug 29, 2023 1:41 pm
by danderson
Thanks for reaching out @rgnick,

The parents definition for host objects accepts a comma delimited list of hosts, like so

Code: Select all

define host {
...
	parents	parentName1,parentName2,parentName3
...
}
Core documentation on hosts here
Let me know if you need any further help.