<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.18.1">
</HEAD>
<BODY>
Morning,<BR>
<BR>
I am attempting to use the above referenced plugin without success. I can execute it from a command line and it works fine, when I add it to the cfg file it does not. I get the "Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration." error. Here is the syntax I am using:<BR>
<BR>
define service{<BR>
use generic-service<BR>
host_name somehost<BR>
service_description URL<BR>
check_command check_url.pl!URL!1<BR>
max_check_attempts 5<BR>
normal_check_interval 5<BR>
retry_check_interval 3<BR>
check_period 24x7<BR>
notification_interval 0<BR>
notification_period 24x7<BR>
notification_options c,r<BR>
contact_groups some group <BR>
}<BR>
<BR>
I have defined this info in the command.cfg file, I assume this must be done for all added check commands? Is this true?<BR>
<BR>
# 'check_url command' definition<BR>
define command{<BR>
command_name check_url<BR>
command_line $USER1$/check_url.pl $HOSTADDRESS$ $ARG1$ $ARG2$<BR>
}<BR>
<BR>
Through trail and error I have remmed out all lines in the "define service" section 1 at a time and restart the Nagios service and have identified the "service_description" line as being the problem. That seem very strange to me since it appears to only be a name. Never the less, I obviously have some syntax error preventing this from operating properly. Thanks for any assistance!<BR>
<BR>
Van
<DIV><P><HR>
The information contained in and transmitted with this e-mail is confidential. It is intended only for the individual or entity designated above. You are hereby notified that any dissemination, distribution, copying or use of or reliance on the information contained in and transmitted with this e-mail by or to anyone other than the recipient designated above by the sender is unauthorized and strictly prohibited. If you have received this e-mail in error, please contact the sender immediately and notify them that you received this in error. Any e-mail erroneously transmitted to you should be immediately destroyed. Thank you for your attention to this note of confidentiality. <BR>
<BR>
</P></DIV>
</BODY>
</HTML>