Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
gromitracer
bygromitracer, May 12, 2014
I am trying to make the plugin read from a file that has the full list of domains but I cannot make it to work. I also tried to check a DNS individually but it failed as well :( Help?
In the commands.cfg file I have it as:
'check_domain' command definition
define command
command_name check_domain
command_line $USER1$/check_domain -f $ARG1$ -w $ARG2$ -c $ARG3$
}
n the localhost.cfg file I have it as:
##########DOMAIN-CHECK####
define service{
use generic-service ; Name of service template to use
host_name localhost
service_description Domain Exp Date
check_command check_domain!f!30!10
}
In the commands.cfg file I have it as:
'check_domain' command definition
define command
command_name check_domain
command_line $USER1$/check_domain -f $ARG1$ -w $ARG2$ -c $ARG3$
}
n the localhost.cfg file I have it as:
##########DOMAIN-CHECK####
define service{
use generic-service ; Name of service template to use
host_name localhost
service_description Domain Exp Date
check_command check_domain!f!30!10
}