Domain expiration monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Domain expiration monitoring

Post 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!!
Thanks & Regards,
I2MP Team.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Domain expiration monitoring

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Domain expiration monitoring

Post 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!!
Thanks & Regards,
I2MP Team.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Domain expiration monitoring

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Domain expiration monitoring

Post 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.
Thanks & Regards,
I2MP Team.
User avatar
jbrunkow
Posts: 441
Joined: Fri Mar 13, 2020 10:45 am

Re: Domain expiration monitoring

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Domain expiration monitoring

Post by RIDS_I2MP »

Hello,

Thanks for your help!!

Its completed now.
Thanks & Regards,
I2MP Team.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Domain expiration monitoring

Post by scottwilkerson »

RIDS_I2MP wrote:Hello,

Thanks for your help!!

Its completed now.
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked