[Nagiosplug-help] Help me

Vu. Phan Van vupv at vinagame.com.vn
Tue May 12 10:15:33 CEST 2009


Hi

command definition :


# 'check_tcp' command definition
define command{
        command_name    check_tcp
        command_line    $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ $ARG2$
        }


End  service define :

define service{
use                     generic-service
host_name               GT-GN01_Game02
service_description     Port 80
check_command           check_tcp! -p 80
}

--------------------------------
Cheers ,

Scott Zũ

Coding for life

From: Ian Rarity [mailto:Ian.Rarity at espc.com]
Sent: Tuesday, May 12, 2009 3:05 PM
To: 'Nagios Plugin Help List'
Subject: Re: [Nagiosplug-help] Help me

Can you post the check command that the service calls?

Ian.

From: Vu. Phan Van [mailto:vupv at vinagame.com.vn]
Sent: 12 May 2009 07:20
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] Help me

I try

  check_command         check_tcp –p 80


I recive error ( UNKNOWN)  :  check_tcp: Port must be a positive integer

--------------------------------
Cheers ,

Scott Zũ

Coding for life

________________________________

Private and Confidential: This e-mail transmission is strictly confidential and intended solely for the addressee. It may contain privileged and confidential information and if you are not the intended recipient, you must not copy, disclose, distribute or take any action in reliance on it. If you have received this e-mail in error, please delete it and notify our E-mail Systems Administrator on +44 (0) 131 624 8000. ESPC (UK) Ltd does not accept any liability for any harm that may be caused to the recipient's system or data by this message or any attachment.

ESPC (UK) Ltd is a company registered under the Companies Acts in Scotland (Registered Number SC203585), and having its registered office at 90A George Street, Edinburgh, Midlothian EH2 3DF.

ESPC (UK) Ltd is an Appointed Representative of Accord Consultancy which is authorised and regulated by the Financial Services Authority.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090512/64b025ee/attachment.html>


More information about the Help mailing list