Hey all,
Im currently working a script that will pull a list of domains to check the expiry on.
IF there is a newly added domain compared to the previous pull, the script will automatically write a service definition, the somehow have Nagios XI import this.
Do you have any thoughts ?
Automatically Implementing New Service Check Nagios XI
Re: Automatically Implementing New Service Check Nagios XI
Can't help you too much with the domain-checking portion, but in XI 5 there is a new API that allows you to programmatically create hosts and services from the command line. The documentation is in the XI 5 web interface under the Help menu. I'd take a look at that and see if it will suit your needs.
Former Nagios employee