Xymon Mailing List Archive search

Apache tag not working, not playing nice with http tag.

7 messages in this thread

list Elizabeth Schwartz · Tue, 12 Jul 2011 13:34:31 -0400 ·
I've been trying to get apache results and am getting nothing, no
results, no errors, as if it the tag wasn't there.

UNLESS, and this is the weird part -  *IF* I disable http for a given
server I get *stats* under apache on the trends page, but still no
apache column on the server page.

Disabling http is not an option, as we've got nonstandard ports getting tested.

With any http test enabled, just get blank "nan" values for apache.
And no matter what, we don't get an apache column.

Xymon server is xymon 4.3.2 on Oracle Enterprise Linux;
most of the clients are running the latest apache and Solaris 10 u9.

servers have ExtendedStatus On
curl on the xymon server returns the expected stats with "curl
http://myserver.example.com/server-status?auto";

have tested using just a plain "apache" tag in hosts.cfg and
apache=http://myserver.example.com/server-status?auto
list Martin Ward · Wed, 13 Jul 2011 12:10:47 +0000 ·
Hi Elizabeth,

Just so as I understand it right, you are trying to monitor an Apache daemon running on a remote server?

Remote monitoring of ports is done from the Xymon server itself, i.e. the connection is initiated from your Xymon server to your webserver. Mine is configured and working like this:

hosts.cfg:10.5.1.2            server.colt.net   # ssh ftp http://server.colt.net/

In this manner I get a column labelled 'http' which shows green when the web server is running.

How does your setup differ from this?

|\/|
-----Original Message-----
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com]
On Behalf Of Elizabeth Schwartz
Sent: 12 July 2011 18:35
To: xymon at xymon.com
Subject: [Xymon] Apache tag not working, not playing nice with http tag.
quoted from Elizabeth Schwartz

I've been trying to get apache results and am getting nothing, no results, no
errors, as if it the tag wasn't there.

UNLESS, and this is the weird part -  *IF* I disable http for a given server I get
*stats* under apache on the trends page, but still no apache column on the
server page.

Disabling http is not an option, as we've got nonstandard ports getting
tested.

With any http test enabled, just get blank "nan" values for apache.
And no matter what, we don't get an apache column.

Xymon server is xymon 4.3.2 on Oracle Enterprise Linux; most of the clients
are running the latest apache and Solaris 10 u9.

servers have ExtendedStatus On
curl on the xymon server returns the expected stats with "curl
http://myserver.example.com/server-status?auto";

have tested using just a plain "apache" tag in hosts.cfg and
apache=http://myserver.example.com/server-status?auto
[Colt Disclaimer]
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way. The contents of
this message and its attachments are confidential and may also be subject to
legal privilege. If you are not the named addressee and/or have received this
message in error, please advise us by e-mailing user-51905b889b93@xymon.invalid and delete the
message and any attachments without retaining any copies. Internet
communications are not secure and Colt does not accept responsibility for this
message, its contents nor responsibility for any viruses. No contracts can be
created or varied on behalf of Colt Technology Services, its subsidiaries,
group companies or affiliates ("Colt") and any other party by email
communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900
list Elizabeth Schwartz · Sat, 16 Jul 2011 23:05:53 -0400 ·
my understanding is that the apache tag should give server performance
stats - it does seem to work this way if I don't have an http tag
also. So you need both - the apache tag for stats, the http tag to
test specific URL response. (many of our URL tests actually trigger
coldfusion tests)
list Martin Ward · Mon, 18 Jul 2011 16:58:28 +0000 ·
Ah, I see the difference between our configurations. I have not used the apache tag at all, only the HTTP tag to test network performance. Given that you need to set up the Xymon server to access http://your.server.com/server-status?auto I can't why you couldn't use that URL for your HTTP test, which will avoid your ColdFusion tests.
quoted from Elizabeth Schwartz

|\/|
-----Original Message-----
From: Elizabeth Schwartz [mailto:user-c61747246f66@xymon.invalid]
Sent: 17 July 2011 04:06
To: Ward, Martin
Cc: xymon at xymon.com
Subject: Re: [Xymon] Apache tag not working, not playing nice with http tag.

my understanding is that the apache tag should give server performance
stats - it does seem to work this way if I don't have an http tag also. So you
need both - the apache tag for stats, the http tag to test specific URL
response. (many of our URL tests actually trigger coldfusion tests)
[Colt Disclaimer]
The message is intended for the named addressee only and may not be disclosed
to or used by anyone else, nor may it be copied in any way. The contents of
this message and its attachments are confidential and may also be subject to
legal privilege. If you are not the named addressee and/or have received this
message in error, please advise us by e-mailing user-51905b889b93@xymon.invalid and delete the
message and any attachments without retaining any copies. Internet
communications are not secure and Colt does not accept responsibility for this
message, its contents nor responsibility for any viruses. No contracts can be
created or varied on behalf of Colt Technology Services, its subsidiaries,
group companies or affiliates ("Colt") and any other party by email
communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate
potential viruses and unsolicited promotional emails. For more information
refer to www.colt.net or contact us on +44(0)20 7390 3900
list Elizabeth Schwartz · Mon, 18 Jul 2011 13:42:30 -0400 ·
I'd like to see it work because we want to collect the stats, and
apache in xymon is supposed to collect the stats, and all the nice RRD
stuff is already written for the apache test ....
quoted from Martin Ward

On Mon, Jul 18, 2011 at 12:58 PM, Ward, Martin <user-2d33a6eb6a05@xymon.invalid> wrote:
Ah, I see the difference between our configurations. I have not used the apache tag at all, only the HTTP tag to test network performance. Given that you need to set up the Xymon server to access http://your.server.com/server-status?auto I can't why you couldn't use that URL for your HTTP test, which will avoid your ColdFusion tests.
list Henrik Størner · Sun, 31 Jul 2011 11:51:04 +0200 ·
quoted from Martin Ward
I've been trying to get apache results and am getting nothing, no
results, no errors, as if it the tag wasn't there.

UNLESS, and this is the weird part -  *IF* I disable http for a given
server I get *stats* under apache on the trends page, but still no
apache column on the server page.

Disabling http is not an option, as we've got nonstandard ports getting tested.

With any http test enabled, just get blank "nan" values for apache.
And no matter what, we don't get an apache column.
The data for the Apache stats don't generate an Apache status - it just 
generates an apache RRD file, you can see it in the "trends" column.

I've tried reproducing your problem here, but I cannot - no matter how I 
try to configure hosts.cfg, when running the network tests I get both 
the normal "http" status update, and the "apache" data update.

Could you try running the network tests against that host like this:

xymoncmd xymonnet --noping --debug --no-update HOSTNAME 2>&1 >log.txt

and see if there is a line with "data HOSTNAME.apache" together with the 
apache statistics in there ?


Regards,
Henrik
list Elizabeth Schwartz · Thu, 4 Aug 2011 00:53:03 -0400 ·
I think I misunderstood how it was supposed to work. I was trying very
very hard to get an apache status dot. So apache statuses show up in
trends only?

I confess I can't reproduce the nan values myself, after leaving it
alone for a solid week. Is there perhaps a delay before those values
start to show up? Maybe I was being too impatient.

thanks Betsy
quoted from Henrik Størner

On Sun, Jul 31, 2011 at 5:51 AM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
I've been trying to get apache results and am getting nothing, no
results, no errors, as if it the tag wasn't there.

UNLESS, and this is the weird part -  *IF* I disable http for a given
server I get *stats* under apache on the trends page, but still no
apache column on the server page.

Disabling http is not an option, as we've got nonstandard ports getting
tested.

With any http test enabled, just get blank "nan" values for apache.
And no matter what, we don't get an apache column.
The data for the Apache stats don't generate an Apache status - it just
generates an apache RRD file, you can see it in the "trends" column.

I've tried reproducing your problem here, but I cannot - no matter how I try
to configure hosts.cfg, when running the network tests I get both the normal
"http" status update, and the "apache" data update.

Could you try running the network tests against that host like this:

xymoncmd xymonnet --noping --debug --no-update HOSTNAME 2>&1 >log.txt

and see if there is a line with "data HOSTNAME.apache" together with the
apache statistics in there ?


Regards,
Henrik