Duane,

Thank you for sending me this very important information. It is always a
problem to adopt a code without understanding it.

regards
Silvia



                                                                                       
                                          
                    Duane Waddle                                                       
                                          
                    <[EMAIL PROTECTED]>               To:     
[EMAIL PROTECTED]                                   
                    Sent by:                           cc:                             
                                          
                    [EMAIL PROTECTED]        Subject:     Re: [WhatsUp 
Forum] IP Custom Services                       
                    switch.com                                                         
                                          
                                                                                       
                                          
                                                                                       
                                          
                    23.08.2001 13:48                                                   
                                          
                    Please respond to                                                  
                                          
                    WhatsUp_Forum                                                      
                                          
                                                                                       
                                          
                                                                                       
                                          




Silvia,

Are you sending

GET HTTP/1.0\r\nAccept: */*\r\nUser-Agent: Ipswitch_Whatsup/4.0\r\n\r\n

or

GET / HTTP/1.0\r\nAccept: */*\r\nUser-Agent: Ipswitch_Whatsup/4.0\r\n\r\n

?

One of them has a URI spec, and the other does not.  HTTP requires the URI
specification to properly return a page.  The URI specification always
comes between the HTTP command (GET in this case) and the Protocol
specification.

Hope this helps...


--D

Duane Waddle
[EMAIL PROTECTED]
"With sufficient thrust, pigs fly just fine..."  -- RFC1925



                    <[EMAIL PROTECTED]
                    obal.com>                         To:
[EMAIL PROTECTED]
                    Sent by:                          cc:
                    [EMAIL PROTECTED]       Subject:     Re:
[WhatsUp Forum] IP Custom Services
                    switch.com


                    08/23/01 02:52 AM
                    Please respond to
                    WhatsUp_Forum






Joe,

I'm still not able to modify the code that it works for every website.
I tried to check a website which can be stopped without problems, to be
sure that it really works: http://controlcenter (an intranet-website)

I guess that the Send command on connect is the following, because WUG gets
the device info (host controlcenter) from the map device (as you told me in
your mail):
GET HTTP/1.0\r\nAccept: */*\r\nUser-Agent: Ipswitch_Whatsup/4.0\r\n\r\n

But no difference if the website (in IIS) is stopped or not, the device is
always marked as "device down"...

I checked the header with "net tools" - "html", there is a response...

Please help me...

Thx again
Silvia




                    Joe Sepielli

                    <[EMAIL PROTECTED]>          To:
[EMAIL PROTECTED]
                    Sent by:                           cc:

                    [EMAIL PROTECTED]        Subject:     Re:
[WhatsUp Forum] IP Custom Services
                    switch.com



                    22.08.2001 16:23

                    Please respond to

                    WhatsUp_Forum







Silvia,

Your Send command on connect is incorrect.  Should be:
GET /webgate/suterlaw.nsf/vwFiles/StatHTML/$FILE/index.html
HTTP/1.0\r\nAccept: */*\r\nUser-Agent: Ipswitch_Whatsup/4.0\r\n\r\n

You do not put the host part (www.suterlaw.ch) in the send string as
WhatsUp Gold gets the device info from the
map device.  You create a Custom service as above and then assign it to a
map device.

Joe


----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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/


----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.


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