Is there a way to automate the creation of a parent child relationship instead of having to manually do this and then apply in the UI? I have thousands of relationships I want to create, I need to find the least manual approach to accomplish this.
I don't see this functionality available in the REST API - at least not in the documentation. It looks like perhaps it would be an option to insert records directly in the MySQL DB or develop a custom API endpoint integration.
Does anyone have an idea on what the best practice would be? Thanks in advance.
Todd
Automating parent child relationship creation - NOT manually
-
- Posts: 29
- Joined: Sun Jan 14, 2018 12:56 pm
- Location: Madison, WI
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Automating parent child relationship creation - NOT manu
Are you using Core or XI? The above quote makes me thing XI. Either way, not having the restart/reload is coming in Core 5: https://www.nagios.com/roadmaps/toneill2000 wrote: I don't see this functionality available in the REST API
-
- Posts: 29
- Joined: Sun Jan 14, 2018 12:56 pm
- Location: Madison, WI
Re: Automating parent child relationship creation - NOT manu
We are using Nagios XI 5.4.8 and an instance of 5.4.11. You reference the road map for V5. Is there a way (best practice) to accomplish this with the versions I'm using? I'll include version on my next posts to help clarify. Thanks a lot in advance.
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Automating parent child relationship creation - NOT manu
No big deal, but for future reference, we can move posts as needed. I'm going to leave and lock this one since you created a new one.