monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: check in monit like telnet on tcp port


From: Igor Homyakov
Subject: Re: check in monit like telnet on tcp port
Date: Wed, 30 Nov 2011 17:02:23 +0400

Hi Ulrich,

Telnet client produce that message so the simple tcp test for port 9292
should be enough for your case.

Something like following code

 if failed host HOSTNAME  port 9292 type tcp then alert

Regards
Igor Homyakov



On Wed, Nov 30, 2011 at 16:22, YUM System Administration
<address@hidden> wrote:
> Hello,
>
> we would like to check if a service is running on TCP-Port 9292. When
> checking this manually, I just use telnet <hostname> <portname>. If I get
> "connected to <HOSTNAME>
> Escape character is '^]'.
> then I know the service is running. So, there is no need to interact
> with the daemon for the check.
>
> Is there a way to setup a check like the described telnet test in monit?
>
> Regards
> Hans Ulrich
>
>
>
> --
> YUM GmbH | Agentur für neue Medien
> Hanauer Landstraße 136
> 60314 Frankfurt
> Tel.: +49 (69) 480076-50 (Zentrale)  Fax: +49 (69) 480076-55
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general



reply via email to

[Prev in Thread] Current Thread [Next in Thread]