Random Project

how it work

Hello,

Can you help me. What I must write in section “define service”? If I write it:

check_command check_website! -P 203.146.82.253 -w 20000 -c 50000 www.name.com – it is work not correctly.

In the commands.cfg I wrote it:

command_line $USER1$/check_website.sh -P $ARG1$ -w $ARG2$ -c $ARG3$ $HOSTADDRESS$

If I try to run this script

/usr/lib/nagios/plugins/check_website.sh -p 80 -u /index.html -P 203.146.82.253 -w 22000 -c 50000 www.name.com – all work!