monit-general
[Top][All Lists]
Advanced

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

Re: Custom TCP Test


From: Igor Homyakov
Subject: Re: Custom TCP Test
Date: Wed, 10 Nov 2010 12:31:03 +0300

http://mmonit.com/monit/documentation/monit.html#connection_testing

Another example from documentation
if failed host cave.persia.ir port 4040
    send "Open, Sesame!\r\n"
    expect "Please enter the cave\r\n"
    send "Shut, Sesame!\r\n"
    expect "See you later [A-Za-z ]+\r\n"
 then restart

Regards
Igor Homyakov



On Wed, Nov 10, 2010 at 04:55, Mark Olliver <address@hidden> wrote:
> Hi,
> I seem to remember that you can get monit to do customer TCP tests in a
> expect style manor but i cant find the docs on it.
> Can anyone help with an example or two please.
> Thanks
> Mark
> --
> To unsubscribe:
> http://lists.nongnu.org/mailman/listinfo/monit-general
>



reply via email to

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