Adding a second or more parent devices to a host.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
rgnick
Posts: 1
Joined: Tue Aug 29, 2023 9:13 am

Adding a second or more parent devices to a host.

Post 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.
User avatar
danderson
Posts: 111
Joined: Wed Aug 09, 2023 10:05 am

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

Post 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.
Post Reply