Create servicegroup to check domain status
Posted: Wed Sep 18, 2019 9:34 am
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.
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.