Create servicegroup to check domain status

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
randlebailey
Posts: 14
Joined: Thu Mar 28, 2019 1:20 pm

Create servicegroup to check domain status

Post by randlebailey »

I'm attempting to create a servicegroup to be used from several services I created to check_domains.php.

I created a separate service for each domain we want to monitor for expiration.
Config Name for each is "Domains"
Description contains the domain name to monitor.
Check command is check_domain
Command view is $USER1$/check_domain.php -d $ARG1$ -w 30 -c 10

The goal here is to monitor a domain for expiration - warning of 30 days, critical of 10 days. This is working fine. I'm attempting to monitor the 11 domains once a day (1440 minutes).

When I create a servicegroup called Domains, I am prompted for Services to add - none of my just-created Domain services appear (in the list that begins with "H:". Is this because my Domain services do not reference a host? If so, will I need to create a host for every domain and reference the each service to that host? And if I have to create a host for each domain name, what do I use for IP address - the actual address of the domain name?

I'm fairly new to Nagios XI, so be kind. :geek:
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Create servicegroup to check domain status

Post by benjaminsmith »

Hello @randlebailey,

Every service needs to have a host associated with it. You can use the IP address or the domain ( if Nagios XI can resolve this to an IP address).

When you create new services, make sure you fill out all the required fields in the CCM and then Apply Configuration.

Also, when you are adding services to your service group, it lists by hostname then service description. Make sure you're searching for the correct name.

If you can't get it resolved, PM your system profile and I can take a closer look.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message and then reply to this post to bring it up in the queue.
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!
randlebailey
Posts: 14
Joined: Thu Mar 28, 2019 1:20 pm

Re: Create servicegroup to check domain status - RESOLVED!

Post by randlebailey »

Thanks Benjamin.

I started over and deleted all references to the domain checks (with the exception of the check_domain.php plug-in). Creating a separate host for each domain name did the trick. I was able to create services for each host using check_domain.php and then create a service group - works like a champ! The part I was missing was the host requirement for each service.

Thank you again Benjamin!
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Create servicegroup to check domain status

Post by benjaminsmith »

Hi,

No problem! Thanks for following up and happy to hear it's working now.

I'll go ahead and locked this up, but feel free to open another if you have any new 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!
Locked