[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:

[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 SMTPport 25 Critical HELO nocol
info    250

For a Webserver, something like:

HOST servername 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"

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

HOST servername   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    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