Re: [Nagios-users] Error: Service check command

2012-06-14 Thread Henrique Machado
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 > Right, > Please provide the Service definition > > Ciao, > > Giorgio > > Il giorno 12/giu/2012, alle ore 15:18, Claudio Kuenzler < > c...@claudi

Re: [Nagios-users] Error: Service check command

2012-06-14 Thread Giorgio Zarrelli
Right, Please provide the Service definition Ciao, Giorgio Il giorno 12/giu/2012, alle ore 15:18, Claudio Kuenzler ha scritto: > > On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado wrote: > Hi. > > I'm trying to add the check_ftp command for one of my hosts. But i got this > error: > > E

Re: [Nagios-users] Error: Service check command

2012-06-12 Thread Henrique Machado
Yeah! The "good" worked for me. Thank you guys. 2012/6/12 Travis Runyard > Don't specify "-H ftpserver" in the service definition since the command > already knows which host to check. > > Good: > > define service{ > use generic-service > hostgroup_na

Re: [Nagios-users] Error: Service check command

2012-06-12 Thread Travis Runyard
Don't specify "-H ftpserver" in the service definition since the command already knows which host to check. Good: define service{ use generic-service hostgroup_nameweb-servers service_descriptionFTP check_command

Re: [Nagios-users] Error: Service check command

2012-06-12 Thread Claudio Kuenzler
On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado 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! > Check

[Nagios-users] Error: Service check command

2012-06-12 Thread Henrique Machado
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 defi