check_imap: good parameters ?
Karl DeBisschop
karl at debisschop.net
Wed Jul 16 13:05:26 CEST 2003
On Wed, 2003-07-16 at 03:28, Carsten Rose wrote:
> Hi Folks
>
> can anyone tell good parameters of 'check_imap' for "-s" and "-e" ?
>
> If I specify none of them, everything is ok, but: with good parameters
> it may be possible to be a little bit more 'real' testing.
>
> -s, --send=STRING
> String to send to the server
> -e, --expect=STRING
> String to expect in server response -W, --wait=INTEGER
> Seconds to wait between sending string and polling for response
The default send and expect strings should be fairly easy to read out of
the source for check_tcp - near the beginning of the file there's a
block of definitions for each of the variants that check_tcp handles.
That block includes the send and expect strings for the protocol i fthe
differ from those used to check a raw TCP connection.
--
Karl
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
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