Error: Service check command
Henrique Machado
henri.mjr at gmail.com
Thu Jun 14 23:31:35 CEST 2012
I've already solved it. The problem was the -H in te service definiton.
Thanks
Att,
Henrique Machado
ITIL V3 Certified
2012/6/12 Giorgio Zarrelli <zarrelli at linux.it>
> Right,
> Please provide the Service definition
>
> Ciao,
>
> Giorgio
>
> Il giorno 12/giu/2012, alle ore 15:18, Claudio Kuenzler <
> ck at claudiokuenzler.com> ha scritto:
>
>
> On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado <henri.mjr at gmail.com>wrote:
>
>> Hi.
>>
>> I'm trying to add the check_ftp command for one of my hosts. But i got
>> this error:
>>
>> Error: Service check command 'check_ftp -H ftpserver' specified in
>> service 'FTP' for host ' ftpserver' not defined anywhere!
>> Checked 89 services.
>>
>>
>> In my commands.cfg I have:
>>
>> # 'check_ftp' command definition
>> define command{
>> command_name check_ftp
>> command_line $USER1$/check_ftp -H $HOSTADDRESS$ $ARG1$
>> }
>>
>>
>> What i'm missing?
>
>
> Show the service definition which fails.
> The command definition looks alright.
>
>
>>
>> Tks
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when
>> reporting any issue.
>> ::: Messages without supporting info will risk being sent to /dev/null
>>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120614/c279668b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list