Page 1 of 1
Domain expiration monitoring
Posted: Sun Jul 19, 2020 11:24 am
by RIDS_I2MP
Hi Team,
We want to monitor the Domain Expiration using Nagios.
Could you please help us on the same.
Thanks in advance!!
Re: Domain expiration monitoring
Posted: Mon Jul 20, 2020 2:36 pm
by jbrunkow
Absolutely! We have a Configruation Wizard for that very purpose.
Just navigate to the Configure section of XI using the top bar > click Configuration Wizards under Configuration Tools on the left > search for "Domain Exipration" in the search field provided > then click on the wizard and follow the subsequent steps.
I hope that helps! Let me know if you have any more questions.
Re: Domain expiration monitoring
Posted: Mon Jul 20, 2020 11:09 pm
by RIDS_I2MP
Hello,
Thanks for your help!!
Yes, we were able to monitor.
Please let us know if there is a way to configure the same in bulk. We have around 250 domains to be monitored.
Can we do it in one go?
We tried using "Bulk Cloning and Import" option but it is giving wrong information.
Please help!!
Re: Domain expiration monitoring
Posted: Tue Jul 21, 2020 3:35 pm
by jbrunkow
What "wrong information" is the
Bulk Cloning and Import Wizard giving?
I believe there are a couple other ways you could do this as well.
- You could use the REST API in XI.Navigate to the Help section of XI using the bar on top > click Config Reference under API Docs on the left pane > then see the "config/host/<host_name>" part of that page for details on how to create a new host object in XI with the API.
- You could write a script that will recursively add the entries to configuration files (to /usr/local/nagios/etc/import/)based on a list, and then run the reconfigure script to apply them.
Code: Select all
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
Re: Domain expiration monitoring
Posted: Wed Jul 22, 2020 11:30 am
by RIDS_I2MP
Hello,
What "wrong information" is the Bulk Cloning and Import Wizard giving?
=> It is inheriting the same domain license information which we are using as a reference in "Bulk Cloning and Import" wizard.
Please let us know if anything we can do there.
Re: Domain expiration monitoring
Posted: Thu Jul 23, 2020 11:33 am
by jbrunkow
That is why you may want to do this through the API. Navigate to the
Help section of
XI using the bar on top > click
Config Reference under
API Docs on the left pane > then see the "
config/service" part of that page for details on how to create a new host object in
XI with the API. Configuring checks through the API will allow you to quickly iterate through a set of domains.
Please see the document linked below for more information on using the API in
XI.
AUTOMATED HOST MANAGEMENT
Re: Domain expiration monitoring
Posted: Fri Jul 24, 2020 7:04 am
by RIDS_I2MP
Hello,
Thanks for your help!!
Its completed now.
Re: Domain expiration monitoring
Posted: Fri Jul 24, 2020 9:35 am
by scottwilkerson
RIDS_I2MP wrote:Hello,
Thanks for your help!!
Its completed now.
Great!
Locking thread