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

 

     Re: http monitoring and hostmon-client

On Fri, 25 Sep 1998, Ben_White wrote:

[snip]
[re-wrapped for readability]
> Also what is the easiest way to monitor http is being served over
> various servers.  I am having problems also trying to monitor nntp
> servers if anyone has a working example of that they could send me? 

For SMTP, try something like:

HOST name   12.23.34.45 SMTPport 25 Critical HELO nocol
info    250

For a Webserver, something like:

HOST servername 12.23.34.45 WWWport 80 Critical GET /index.html HTTP/1.0\n
info HTTP/1.1 200 OK

If you're running an older webserver, you may have to use "HTTP/1.0"
instead.

For an INN (a news server), I use:

HOST servername 12.23.34.45   NNTPport        119     Critical 
critical space
info    posting ok
info    expire
info    no posting
critical Bad file number writing history file -- throttling

While I'm here, for POP-3 I use

HOST servername 12.23.34.45    POP3port        110     Critical user nocol
info    +OK


> Any help appreciated.
> 
> Ben White
> 

-- 
"Life is much too important to be taken seriously."
Thomas Erskine        <thomas.erskine-dated@crc.ca>           (613) 998-2836