Page 1 of 1

Auto deploy new servers discovered by auto-discovery jobs

Posted: Tue Jul 06, 2021 4:18 pm
by meganwilliford
Hello,

I am trying to find out if this has already been figured out and to get some guidance. I am looking to be able to automatically deploy a set of service monitors for new servers discovered through scheduled auto-discovery jobs. This would be without having to manually run the Auto-Discovery configuration wizard. Is this possible and is there any documentation on how to set it up?

Thank you!

Re: Auto deploy new servers discovered by auto-discovery job

Posted: Wed Jul 07, 2021 9:46 am
by ssax
The functionality to automate the auto-discovery discovered hosts/services is not currently a part of the XI feature-set. I can submit a feature request to development for this on your behalf if you'd like?

We have some Ansible documentation that could help if you use Ansible:

https://support.nagios.com/kb/article/n ... l-819.html

Or by integrating the XI API in order to add/remove hosts/services as necessary if you have an automated spin-up/spin-down procedure/config management solution that adds/removes hosts in your environment. You can see the Help > API sections to see working examples.

https://assets.nagios.com/downloads/nag ... gement.pdf