Automatically Implementing New Service Check Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
phil821
Posts: 20
Joined: Mon May 11, 2015 10:11 am

Automatically Implementing New Service Check Nagios XI

Post 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 ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Automatically Implementing New Service Check Nagios XI

Post 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.
Former Nagios employee
Locked