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

 

     portmon and multiple similar servers...

hi all,

I've got an instance of NOCOL running and I'm trying to monitor a bank
of webservers with it. So, in my portmon config I have the following...
(IPs changed)

# Web httpd daemon
HOST  www1    100.100.100.1     WWWport   80    Critical  GET /
HTTP/1.0\n
info            HTTP/1.1 200 OK

HOST  www2    100.100.100.2     WWWport   80    Critical  GET /
HTTP/1.0\n
info            HTTP/1.1 200 OK

HOST  www3    100.100.100.3     WWWport   80    Critical  GET /
HTTP/1.0\n
info            HTTP/1.1 200 OK

HOST  www4    100.100.100.4     WWWport   80    Critical  GET /
HTTP/1.0\n
info            HTTP/1.1 200 OK

HOST  www5    100.100.100.5     WWWport   80    Critical  GET /
HTTP/1.0\n
info            HTTP/1.1 200 OK

HOST  www6    100.100.100.6     WWWport   80    Critical  GET /
HTTP/1.0\n
info            HTTP/1.1 200 OK

HOST  www   200.200.200.16     WWWspeed   80   Critical  GET /
HTTP/1.0\n
TIME    5  10  15       </BODY>
TIME            </Body>
TIME            </body>

I've manually checked each server and all return identical results.

The problem is that protmon only sees the first two servers as up and
reports all the rest down. Has anyone seen this before? Does anyone have
any suggestions?

I've run portmon in debug mode and get the following:

(debug) Connected: 'www3:80'
(debug) portmon: Checking site 'www3:80'
(debug) Looking for any initial connect string
(debug) timeout_read(): Reading a line from socket..
(debug) timeout_read: Read 0 bytes from socket
 (debug) portmon: ignoring connect string ''
(debug) timeout_read(): Reading a line from socket..
(debug) timeout_read: Read 0 bytes from socket
read error for 'www3:80'read: Bad file descriptor
 (debug) process_host(): returning severity 1
(debug) Connected: 'www4:80'
(debug) portmon: Checking site 'www4:80'
(debug) Looking for any initial connect string
(debug) timeout_read(): Reading a line from socket..
(debug) timeout_read: Read 0 bytes from socket
 (debug) portmon: ignoring connect string ''
(debug) timeout_read(): Reading a line from socket..
(debug) timeout_read: Read 0 bytes from socket

Any ideas?

thanx,
sascha =)
read error for 'www4:80'read: Bad file descriptor
 (debug) process_host(): returning severity 1
(debug) Connected: 'www5:80'
(debug) portmon: Checking site 'www5:80'
(debug) Looking for any initial connect string
(debug) timeout_read(): Reading a line from socket..
begin:vcard 
n:Linn;Sascha
tel;fax:310.858.6067
tel;work:310.858.0147
x-mozilla-html:FALSE
org:CheckOut.com
version:2.1
email;internet:sascha@checkout.com
title:VP Networking and Operations
adr;quoted-printable:;;345 North Maple Drive=0D=0ASuite 300;Beverly Hills;CA;90210;US
x-mozilla-cpt:;0
fn:Sascha Linn
end:vcard