Xymon Mailing List Archive search

IIS 6.0: No status change to CONT requests

6 messages in this thread

list Hermann-Josef Beckers · Mon, 3 Jan 2011 15:29:46 +0100 ·
xymon version is "xymon-4.3.0-0.20101114.beta3" on openSUSE 11.3 x64.
I'm using the following CONT request to an IIS 6.0 server:

"10.45.64.61    SSGIS01 #  cont=Altlasten;
http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Altlasten/MapServer?wsdl
;"www.esri.com" \
   cont=Abgrabungen;
http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Abgrabungen/MapServer?wsdl
;"www.esri.com" \
   cont=Aufschuettungen;
http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Aufschuettungen/MapServer?wsdl
;"www.esri.com""


Following is the response, I got once when I had the 2 first CONTs defined. Adding the third made no difference. The
difference between the xymon time and the server time should be okay as we are 1 hour off GMT.

"Mon Jan 3 13:13:29 2011: OK ; Configuration Maps/Altlasten.MapServer is not started.

green http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Abgrabungen/MapServer?wsdl - OK

HTTP/1.1 200 OK
Connection: close
Date: Mon, 03 Jan 2011 12:14:35 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml
Content-Length: 270681

Seconds:     0.25


red http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Altlasten/MapServer?wsdl - Configuration Maps/Altlasten.MapServer is not started.

HTTP/1.1 404 Configuration Maps/Altlasten.MapServer is not started.
Connection: close
Date: Mon, 03 Jan 2011 12:14:35 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Length: 0

Seconds:     0.20"

history.log shows a line "15:05 ... will not update ... SSGIS01.http - color unchanged (purple")
xymonnet.log has a warning at 15:07 "Runtime 678 longer than time limit (300)".

Do these tests simply not run? 
Thanks hjb
list Hermann-Josef Beckers · Tue, 4 Jan 2011 08:57:03 +0100 ·
"Hermann-Josef Beckers" <user-3e5362deca72@xymon.invalid> schrieb am 03.01.2011 15:29:46:
[Bild entfernt] 
[xymon] IIS 6.0: No status change to CONT requests

Hermann-Josef Beckers 
an:

xymon

03.01.2011 15:33

Bitte Antwort an xymon


xymon version is "xymon-4.3.0-0.20101114.beta3" on openSUSE 11.3 x64. I'm using the following CONT request to an IIS 6.0 server: 
"10.45.64.61    SSGIS01 #  cont=Altlasten;http://SSGIS01.kreis-
steinfurt.lokal/ArcGIS/services/Maps/Altlasten/MapServer?wsdl;"
www.esri.com" \
  cont=Abgrabungen;http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/
services/Maps/Abgrabungen/MapServer?wsdl;"www.esri.com" \
  cont=Aufschuettungen;http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/
services/Maps/Aufschuettungen/MapServer?wsdl;"www.esri.com"" 
When I run this request (just one long line, no continuation lines) under "Xymon 4.3.0-0.beta2, I get only the standard columns (conn, cpu, disk ...), the CONT statements are ignored. No error message in any logfile.
Is there a way to debug this?

Yours
hjb
list Hermann-Josef Beckers · Wed, 5 Jan 2011 15:14:32 +0100 ·
Can someone help me to a working CONT-configuration?

What I have: A working system with hosts grouped according to function, separated in hosts.cfg by page and include directives. 
I would like to add cont tests to a few hosts. If I put them in the same include file where
the server is first defined, it works. But the displayed table gets quite wide. So I put
those cont test in an additional file (see below #web-tests). When I do this, the
definitions from the file of the first host-definitions and those from the web-tests file
get combined, leading to the same wide display. Besides that after a short while the
dots for the cont definitions and the http column turn purple.

I tried different combinations of NOCOLUMNS,  GROUP(-)ONLY, NOCONN and changing the "0.0.0.0" in the web-tests file to the IP as already defined:: no changes.

Bonus question: The "Drucker" test for "linux-dmcl" shows nowhere. This is  copied from a message from 2006/8, where there was a reply "works like a charm" ...


# verschiedene Rechner
10.45.96.115 linux-dmcl  # # AixUnix-server
10.45.64.33   lscopy02 # # Windows_Steinfurt:
10.45.64.61    SSGIS01 # #web-tests
0.0.0.0    lscopy02 # cont=Zabix;
http://lscopy02.kreis-steinfurt.lokal/zabbix;"zabbix";
0.0.0.0    SSGIS01 # cont=Altlasten;
http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Altlasten/MapServer?wsdl
;"www.esri.com"           cont=Abgrabungen;
http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Abgrabungen/MapServer?wsdl
;"www.esri.com"                          cont=Aufschuettungen;
http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/services/Maps/Aufschuettungen/MapServer?wsdl
;"www.esri.com"
0.0.0.0  linux-dmcl  #  cont=Drucker;
http://linux-dmcl.kreis-steinfurt.lokal:631/printers;"Drucker";

Any tipps?

Thanks hjb
list Hermann-Josef Beckers · Fri, 7 Jan 2011 12:18:01 +0100 ·
Does really no one know the answer to my problem? Do I really have to use NAGIOS for that?

Yours
hjb


"Hermann-Josef Beckers" <user-3e5362deca72@xymon.invalid> schrieb am 05.01.2011 15:14:32:
[Bild entfernt] 
[xymon] working CONT configuration was: IIS 6.0: No status change to
CONT requests

Hermann-Josef Beckers 
an:

xymon

05.01.2011 15:18

Bitte Antwort an xymon
quoted from Hermann-Josef Beckers


Can someone help me to a working CONT-configuration? 
What I have: A working system with hosts grouped according to function, separated in hosts.cfg by page and include directives. 
I would like to add cont tests to a few hosts. If I put them in the same include file where the server is first defined, it works. But the displayed table gets quite wide. So I put those cont test in an additional file (see below #web-tests). When I
do this, the definitions from the file of the first host-definitions and those from the web-tests file get combined, leading to the same wide display. Besides that after a
short while the dots for the cont definitions and the http column turn purple. 
I tried different combinations of NOCOLUMNS,  GROUP(-)ONLY, NOCONN and changing the "0.0.0.0" in the web-tests file to the IP as already defined:: no changes. 
Bonus question: The "Drucker" test for "linux-dmcl" shows nowhere. This 
is 
copied from a message from 2006/8, where there was a reply "works like a charm" ... 
# verschiedene Rechner
10.45.96.115 linux-dmcl  # # AixUnix-server
10.45.64.33   lscopy02 # # Windows_Steinfurt:
10.45.64.61    SSGIS01 # #web-tests
0.0.0.0    lscopy02 # cont=Zabix;

http://lscopy02.kreis-steinfurt.lokal/zabbix
;"zabbix"
0.0.0.0    SSGIS01 # cont=Altlasten;http://SSGIS01.kreis-
steinfurt.lokal/ArcGIS/services/Maps/Altlasten/MapServer?wsdl;"
www.esri.com
"           cont=Abgrabungen;http://SSGIS01.kreis-steinfurt.lokal/
ArcGIS/services/Maps/Abgrabungen/MapServer?wsdl;"www.esri.com" cont=Aufschuettungen;http://SSGIS01.kreis-steinfurt.lokal/ArcGIS/
services/Maps/Aufschuettungen/MapServer?wsdl;"www.esri.com"
0.0.0.0  linux-dmcl  #  cont=Drucker;http://linux-dmcl.kreis-
steinfurt.lokal:631/printers;"Drucker" 
Any tipps? 
Thanks hjb 
list Henrik Størner · Fri, 7 Jan 2011 11:46:17 +0000 (UTC) ·
quoted from Hermann-Josef Beckers
In <user-5376d6a9fa17@xymon.invalid> "Hermann-Josef Beckers" <user-3e5362deca72@xymon.invalid> writes:
Can someone help me to a working CONT-configuration?
What I have: A working system with hosts grouped according to function, 
separated in hosts.cfg by page and include directives. 
I would like to add cont tests to a few hosts. If I put them in the same 
include file where the server is first defined, it works. But the displayed 
table gets quite wide. So I put those cont test in an additional file 
Bad idea. You can have hosts defined multiple times in the hosts.cfg 
(bb-hosts) file, but you MUST keep all of the network tests in one
place - all of the others should be "0.0.0.0 hostname # noconn".

You should have heeded the warning you get when trying to split
them across multiple locations: xymonnet will complain

"Host foo appears twice in hosts.cfg! This may cause strange results"

and indeed, that is what you got.


So begin by putting all of the http/cont/whatever tests in one place.
To be certain that is the definition Xymon uses, you can add the 
keyword "prefer" to this entry.


Then to control what columns show up where, use "group-only" and/or
"group-except". E.g. I use this to have some special web-columns
show up on one line, and the other statuses on another line:

group-only frontpage|loginpage Web portal
10.0.0.1 host1  # prefer \
                  cont=frontpage;http://foo/index.html;Welcome \
		  cont=loginpage;http://foo/login.jsp;Password \
		  ssh
... other hosts ...
group-except frontpage|loginpage Webservers
0.0.0.0  host1  # noconn

The first group shows only the "frontpage" and "loginpage" statuses.
The second entry shows all EXCEPT those two, i.e. the data from the
"ssh" test, and data sent by the client running on that host.


Regards,
Henrik
list Hermann-Josef Beckers · Fri, 7 Jan 2011 15:01:20 +0100 ·
Henrik "Størner" <user-ce4a2c883f75@xymon.invalid> schrieb am 07.01.2011 12:46:17:
quoted from Henrik Størner

...
Bad idea. You can have hosts defined multiple times in the hosts.cfg (bb-hosts) file, but you MUST keep all of the network tests in one
place - all of the others should be "0.0.0.0 hostname # noconn".

You should have heeded the warning you get when trying to split
them across multiple locations: xymonnet will complain

"Host foo appears twice in hosts.cfg! This may cause strange results"
Hm ... I grepped all logfiles for that string, but it didn't appear twice nor once ...
quoted from Henrik Størner
and indeed, that is what you got.


So begin by putting all of the http/cont/whatever tests in one place.
To be certain that is the definition Xymon uses, you can add the keyword "prefer" to this entry.

Thanks Henrik,
works as described. 
Have a nice weekend

Hermann-Josef Beckers