Random Project

I have a question. I am this close in making the plugin work.

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
}