Automating parent child relationship creation - NOT manually
Posted: Mon Jan 15, 2018 6:28 pm
For Nagios XI version 5.4.8 or 5.4.11, 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. E.g., I would prefer to write a script to send requests to establish relationships.
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
p.s., I originally posted this under Nagios Core accidentally. Thus I'm reposting here.
MOD NOTE: link to original: https://support.nagios.com/forum/viewto ... 999#bottom
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
p.s., I originally posted this under Nagios Core accidentally. Thus I'm reposting here.
MOD NOTE: link to original: https://support.nagios.com/forum/viewto ... 999#bottom