There is a Debug Log in the Log menu... shows the events like send/reply
http stuff.

Maybe check your resulting txt character by character, maybe a TAB/other not
a space?

Richard

-----Original Message-----
From: Eivind Ravndal [mailto:[EMAIL PROTECTED]
Sent: Thursday, 16 October 2003 10:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [WhatsUp Forum] tcp/ip service


I've tested it with telnet on port 80. It returns the text file as it
should.
The text file is made by a perl script on a Windows server,
I don't know why it adds the space and linebreak after the '0', but I don't
think I'm able to modify this.

Are there logs or something in WhatsUp that perhaps could help?


Mvh,
Regards,
Eivind Ravndal

----- Original Message ----- 
From: "Richard Beckmannflay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 2:37 PM
Subject: RE: [WhatsUp Forum] tcp/ip service


> I assume you've tested the txt file with a web-browser, to be sure your
> webserver isn't treating it as a weird server-side mime type? rename to
htm
> perhaps to be sure?
>
> I agree with Matt, test it with something, even telnet on 80, paste the
> request in, read the reply. The match you want shouldn't need the trailing
> space and linebreak after your 0
>
> Richard
>
> -----Original Message-----
> From: Adcock, Matt [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 16 October 2003 9:53 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [WhatsUp Forum] tcp/ip service
>
>
> I'd try a couple of things:
>
> 1.  Use a tool like webfetch to look at what's actually coming back from
the
> Web server.
> 2.  Try the expect string without the leading .* or both of them.  I don't
> use them in any of my monitors.
>
> I'm guessing you're looking for the error to be 0, so you can't drop the
> space and 0?
>
> Matt
>
> -----Original Message-----
> From: Eivind Ravndal [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 16, 2003 7:43 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [WhatsUp Forum] tcp/ip service
>
> Yes, I have tested against this tool, and it is supposed to work.
According
> to the tool I get a match when I cut&paste the text from the index.txt
file.
>
> I use this:
> Expect=~.*Error: 0.*
> In stead of this:
> Expect=~.*Error: 0
>
> That's because the index.txt file contains a space and a line break in the
> end (right after the '0' character)
> .* means any number of any characters
>
>
> Mvh,
> Regards,
> Eivind Ravndal
>
> ----- Original Message ----- 
> From: "Adcock, Matt" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 16, 2003 1:32 PM
> Subject: RE: [WhatsUp Forum] tcp/ip service
>
>
> > Have you tried testing the expect string against text from the page in
the
> > monitor configuration (there's a tool to do this under one of the
> buttons -
> > don't have it in front of me now so I can't tell you which one)?  I
think
> > you have some extra characters in your expect string that's throwing it
> off.
> > Note that Richard's expect string was:
> >
> > Expect=~.*Error: 0
> >
> > Matt
> >
> > -----Original Message-----
> > From: Eivind Ravndal [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, October 16, 2003 7:22 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [WhatsUp Forum] tcp/ip service
> >
> > I need to use http1.1 because it's a shared server and http1.0 doesn't
> > support host headers.
> >
> > What's strange is that the following is working on another server:
> > ---
> > Send=GET / HTTP/1.1\r\nAccept: */*\r\nConnection: close\r\nUser-Agent:
> > Eivind/21.0\r\nHost: host.domain.com\r\n\r\n
> > Expect=~.*</HTML>
> > ---
> >
> > I can't really see what's the big difference
> >
> >
> > Mvh,
> > Regards,
> > Eivind Ravndal
> >
> > ----- Original Message ----- 
> > From: "Richard Beckmannflay" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, October 16, 2003 10:18 AM
> > Subject: RE: [WhatsUp Forum] tcp/ip service
> >
> >
> > > Eivind,
> > >
> > > Have you tried...
> > >
> > > Send=GET /index.txt HTTP/1.0\r\nAccept: */*\r\nUser-Agent:
> > > Ipswitch_Whatsup/4.0\r\n\r\n
> > > Expect=~.*Error: 0
> > >
> > > Copy and paste from default....
> > >
> > > Richard
> > >
> > >
> > > -----Original Message-----
> > > From: Eivind Ravndal [mailto:[EMAIL PROTECTED]
> > > Sent: Thursday, 16 October 2003 5:06 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: [WhatsUp Forum] tcp/ip service
> > >
> > >
> > > Hi,
> > >
> > > I have a tcp/ip service configured like this at port 80:
> > > ---
> > > Send=GET /index.txt HTTP/1.1\r\nAccept: */*\r\nConnection:
> > > close\r\nUser-Agent: Eivind/21.0\r\nHost: host.domain.com\r\n\r\n
> > > Expect=~.*Error: 0.*
> > > ---
> > >
> > > And at the host I am checking there's a file called index.txt which
> > contains
> > > this:
> > > ---
> > > Liste over kamera:
> > > 00408c58e6f9_1: OK
> > > 00408c51e38b_1: OK
> > > 00408c51807e_1: OK
> > > Error: 0
> > >
> > > ---
> > >
> > > This should work, but it doesn't, it turns pink in WhatsUp.
> > > Anyone got any ideas how make this work ?
> > >
> > >
> > > Mvh,
> > > Regards,
> > > Eivind Ravndal
> > >
> > >
> > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > to be removed from this list.
> > >
> > > An Archive of this list is available at:
> > > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> > >
> > >
> > >
> > > NOTICE:
> > > This e-mail and any attachments are privileged and confidential and
> > > may contain copyright material of Stellar Call Centres or third
> > > parties. If you are not an authorised recipient of this e-mail
> > > please delete this e-mail and any attachments and notify the sender
> > > immediately by return e-mail or by telephone on 02 9465 2222.
> > > In addition, if you are not an authorised recipient of this e-mail
> > > you should not use, store, print, copy, distribute, or act in reliance
> > > on this e-mail, any attachment to this e-mail, or any information
> > > contained in this e-mail or any attachment to this e-mail.
> > > If you are an authorised recipient of this e-mail please note that
> > > any views or opinions presented in this e-mail or any attachment to
> > > this e-mail are solely those of the individual sender, except where
> > > the sender specifically states them to be the views or opinions of
> > > the Stellar Call Centres. You should only re-transmit, distribute or
> > > commercialise the information contained in this e-mail and any
> > > attachments if you are authorised to do so. Stellar Call Centres
> > > respects your privacy.
> > > Our privacy policy can be viewed on our website:
> > > www.stellarcallcentres.com.au
> > >
> > > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > > to be removed from this list.
> > >
> > > An Archive of this list is available at:
> > > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> > >
> >
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> >
> > Please visit http://www.ipswitch.com/support/mailing-lists.html
> > to be removed from this list.
> >
> > An Archive of this list is available at:
> > http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
> >
>
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
>
>
>
> NOTICE:
> This e-mail and any attachments are privileged and confidential and
> may contain copyright material of Stellar Call Centres or third
> parties. If you are not an authorised recipient of this e-mail
> please delete this e-mail and any attachments and notify the sender
> immediately by return e-mail or by telephone on 02 9465 2222.
> In addition, if you are not an authorised recipient of this e-mail
> you should not use, store, print, copy, distribute, or act in reliance
> on this e-mail, any attachment to this e-mail, or any information
> contained in this e-mail or any attachment to this e-mail.
> If you are an authorised recipient of this e-mail please note that
> any views or opinions presented in this e-mail or any attachment to
> this e-mail are solely those of the individual sender, except where
> the sender specifically states them to be the views or opinions of
> the Stellar Call Centres. You should only re-transmit, distribute or
> commercialise the information contained in this e-mail and any
> attachments if you are authorised to do so. Stellar Call Centres
> respects your privacy.
> Our privacy policy can be viewed on our website:
> www.stellarcallcentres.com.au
>
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
> An Archive of this list is available at:
> http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/
>


Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/



NOTICE: 
This e-mail and any attachments are privileged and confidential and 
may contain copyright material of Stellar Call Centres or third 
parties. If you are not an authorised recipient of this e-mail 
please delete this e-mail and any attachments and notify the sender 
immediately by return e-mail or by telephone on 02 9465 2222. 
In addition, if you are not an authorised recipient of this e-mail 
you should not use, store, print, copy, distribute, or act in reliance 
on this e-mail, any attachment to this e-mail, or any information 
contained in this e-mail or any attachment to this e-mail. 
If you are an authorised recipient of this e-mail please note that 
any views or opinions presented in this e-mail or any attachment to 
this e-mail are solely those of the individual sender, except where 
the sender specifically states them to be the views or opinions of 
the Stellar Call Centres. You should only re-transmit, distribute or 
commercialise the information contained in this e-mail and any 
attachments if you are authorised to do so. Stellar Call Centres 
respects your privacy. 
Our privacy policy can be viewed on our website:
www.stellarcallcentres.com.au

Please visit http://www.ipswitch.com/support/mailing-lists.html 
to be removed from this list.

An Archive of this list is available at:
http://www.mail-archive.com/whatsup_forum%40list.ipswitch.com/

Reply via email to