Page 1 of 1

Automatically Implementing New Service Check Nagios XI

Posted: Thu Oct 15, 2015 3:56 pm
by phil821
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 ?

Re: Automatically Implementing New Service Check Nagios XI

Posted: Thu Oct 15, 2015 4:08 pm
by tmcdonald
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.