Clarification on automating resource managment in XI
Posted: Mon Oct 20, 2025 12:40 pm
Hello!
Looking for some clarification on options for automating the management (CRUD) of resources in NXI.
I know about this doc - https://assets.nagios.com/downloads/nag ... I-2024.pdf and am familiar with the options there. Basically use the REST API or utilize built-in scripts + import directory when appropriate.
However I stumbled upon this page https://library.nagios.com/documentatio ... ion-guide/ , which suggests you can just edit the resource file directly (the example on this page is using Ansible, which is my tool of choice and why I stumbled upon this). This seems to be in conflict with what the Automated-Host-Management doc in the first link suggests. I am curious if this is an error. It would seem like that is a fine methodology for Nagios Core, but the page is about XI and the example Ansible code references XI as well.
Thank you!
Looking for some clarification on options for automating the management (CRUD) of resources in NXI.
I know about this doc - https://assets.nagios.com/downloads/nag ... I-2024.pdf and am familiar with the options there. Basically use the REST API or utilize built-in scripts + import directory when appropriate.
However I stumbled upon this page https://library.nagios.com/documentatio ... ion-guide/ , which suggests you can just edit the resource file directly (the example on this page is using Ansible, which is my tool of choice and why I stumbled upon this). This seems to be in conflict with what the Automated-Host-Management doc in the first link suggests. I am curious if this is an error. It would seem like that is a fine methodology for Nagios Core, but the page is about XI and the example Ansible code references XI as well.
Thank you!