<div>Yeah! The "good" worked for me. Thank you guys.</div><br><div class="gmail_quote">2012/6/12 Travis Runyard <span dir="ltr"><<a href="mailto:travisrunyard@gmail.com" target="_blank">travisrunyard@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Don't specify "-H ftpserver" in the service definition since the command already knows which host to check.<div>
<br></div><div>Good:</div><div><br></div><div><div>define service{</div><div>        use                              generic-service</div>
<div>        hostgroup_name            web-servers</div><div>        service_description        FTP</div><div>        check_command           check_ftp</div><div>        }</div><div><br></div><div>Bad:</div><div><br></div>

<div><div>define service{</div><div>        use                              generic-service</div><div>        hostgroup_name            web-servers</div><div>        service_description        FTP</div><div>        check_command           check_ftp -H ftpserver</div>

<div>        }</div></div><div><div class="h5"><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 6:18 AM, Claudio Kuenzler <span dir="ltr"><<a href="mailto:ck@claudiokuenzler.com" target="_blank">ck@claudiokuenzler.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_quote"><div><div>On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado <span dir="ltr"><<a href="mailto:henri.mjr@gmail.com" target="_blank">henri.mjr@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hi.</div><div><br></div><div>I'm trying to add the check_ftp command for one of my hosts. But i got this error:</div><div><br></div><div>Error: Service check command 'check_ftp -H ftpserver' specified in service 'FTP' for host '
ftpserver' not defined anywhere!</div><div>        Checked 89 services.</div><div><br></div><div><br></div><div>In my commands.cfg I have:</div><div><div><br></div><div># 'check_ftp' command definition</div><div>



define command{</div><div>        command_name    check_ftp</div><div>        command_line    $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$</div><div>        }</div><div><br></div></div><br>What i'm missing?
</blockquote></div></div><div><br>Show the service definition which fails.<br>
The command definition looks alright.<br> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><br></div><div>Tks</div>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br></div></div></div>
<br>------------------------------------------------------------------------------<br>
Live Security Virtual Conference<br>
Exclusive live event will cover all the ways today's security and<br>
threat landscape has changed and how IT managers can respond. Discussions<br>
will include endpoint security, mobile security and the latest in malware<br>
threats. <a href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/" target="_blank">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><br>_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>