Apache tag not working, not playing nice with http tag.
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
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.
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
[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 abuse at colt.net 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
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)
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.
|\/|
-----Original Message----- From: Elizabeth Schwartz [mailto:betsy.schwartz at gmail.com] 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 abuse at colt.net 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
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 ....
On Mon, Jul 18, 2011 at 12:58 PM, Ward, Martin <Martin.Ward at colt.net> 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.
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
participants (3)
-
betsy.schwartz@gmail.com
-
henrik@hswn.dk
-
Martin.Ward@colt.net