Build precise queries to find exactly what you need
Press ESC to close
@ivani
Member Since: June 3, 2014
Favorites0
Views
Projects0
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!
Reviewed 11 years ago