Apache Graph
list Stefan Freisler
Hi, who can i create an Apache Graph? On my server is an apache installed and apche.rrd is created but no data will collect an graph isn's drawn. There are no test to look for Apache. what is to do to have this test an graph? thx Stefan
list Tom Georgoulias
▸
user-75055581652a@xymon.invalid wrote:
Hi, who can i create an Apache Graph? On my server is an apache installed and apche.rrd is created but no data will collect an graph isn's drawn. There are no test to look for Apache. what is to do to have this test an graph?
Here are a few things to test: Is apache was configured to allow the server-status to be displayed? Can you can access the server-status page on the server you are trying to monitor through your web browser? Can you get the server status data with a wget from your hobbit server? Tom -- Tom Georgoulias Systems Engineer McClatchy Interactive
list Lars Ebeling
You have to test this: http://hostname/server-status If this does not work, you have to change your httpd.conf add or remove # from the server status lines, like this: <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from XXX.XXX.XXX.XXX YYY.YYY.YYY.YYY </Location> Change ExtendedStatus to On Then you have to change you bb-hosts Add this among the tests for your Apacheserver: ... telnet apache=http://XXX.XXX.XXX/server-status?auto And this to the LARRD: LARD:*,apache:apache|apache1|apache2|apache3,......... Hope this helps REgards Lars ----- Original Message ----- From: user-75055581652a@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Sent: Thursday, November 09, 2006 4:22 PM Subject: [hobbit] Apache Graph
▸
Hi, who can i create an Apache Graph?
On my server is an apache installed and apche.rrd is created but no data will collect an graph isn's drawn.
There are no test to look for Apache.
what is to do to have this test an graph?
thx Stefan
list Stef Coene
Hi, I tried to get the apache graphs working. Everything is working, they show up on the trends page, I can see the apache.rrd file and it is upated each 5 minutes. However, there are no updates, so the graph shows NaNQ. This is for an apache server, part of an oracle mid tier installation. If you know oracle, it is possible they changed the layout of the server-status page. I attached the server-status page. Can somebody checks the layout of this page or has a solution for my problem ? Stef
list Lars Ebeling
This is what I get when running http://host/server-status?auto . Iam running Apache 2 on a HP-UX 11.11 Lars ----- Original Message ----- From: "Stef Coene" <user-dbffe946c0f4@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Tuesday, December 05, 2006 8:04 PM
▸
Subject: [hobbit] apache graph
Hi, I tried to get the apache graphs working. Everything is working, they show up on the trends page, I can see the apache.rrd file and it is upated each 5 minutes. However, there are no updates, so the graph shows NaNQ. This is for an apache server, part of an oracle mid tier installation. If you know oracle, it is possible they changed the layout of the server-status page. I attached the server-status page. Can somebody checks the layout of this page or has a solution for my problem ? Stef
list Stef Coene
Hi, The apache server is listening on port 7792 and I forgot to add ?auto to the url in bb-hosts. But only the TA and TKB counters are updated. I have the same problem on a linux box (apache 2) rrdtool info apache.rrd | grep last_ds ds[TA].last_ds = "5257984" ds[TKB].last_ds = "15938577" ds[BW].last_ds = "UNKN" ds[IW].last_ds = "UNKN" ds[CPU].last_ds = "UNKN" ds[REQPERSEC].last_ds = "UNKN" This is the server-status page: Total Accesses: 5258069 Total kBytes: 15939014 CPULoad: .00565547 Uptime: 7100739 ReqPerSec: .740496 BytesPerSec: 2298.57 BytesPerReq: 3104.1 BusyServers: 2 IdleServers: 18 Scoreboard: Stef
list Steve Aiello
Is "ExtendedStatus On" in your httpd.conf ? Otherwise not all the stats will be shown. Note that this option can "The collection of extended status information can slow down the server." per the apache 2.0 docs.
▸
-----Original Message----- From: Stef Coene [mailto:user-dbffe946c0f4@xymon.invalid] Sent: Tuesday, December 05, 2006 3:28 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] apache graph: UPDATE Hi, The apache server is listening on port 7792 and I forgot to add ?auto to the url in bb-hosts. But only the TA and TKB counters are updated. I have the same problem on a linux box (apache 2) rrdtool info apache.rrd | grep last_ds ds[TA].last_ds = "5257984" ds[TKB].last_ds = "15938577" ds[BW].last_ds = "UNKN" ds[IW].last_ds = "UNKN" ds[CPU].last_ds = "UNKN" ds[REQPERSEC].last_ds = "UNKN" This is the server-status page: Total Accesses: 5258069 Total kBytes: 15939014 CPULoad: .00565547 Uptime: 7100739 ReqPerSec: .740496 BytesPerSec: 2298.57 BytesPerReq: 3104.1 BusyServers: 2 IdleServers: 18 Scoreboard: Stef
list Stef Coene
On Tuesday 05 December 2006 21:38, Aiello, Steve (GE, Corporate, consultant)
▸
wrote:Is "ExtendedStatus On" in your httpd.conf ? Otherwise not all the stats will be shown. Note that this option can "The collection of extended status information can slow down the server." per the apache 2.0 docs.
Yes, I enabled debugging for rrd and this is in the log: 2006-12-05 21:50:18 hobbitd_rrd: Got message 5 @@data#5|1165351818.947607| 172.30.0.36||igfniasprd01|apache 2006-12-05 21:50:18 startpos 22029, fillpos 22029, endpos -1 2006-12-05 21:50:18 RRD update param 00: 'rrdupdate' 2006-12-05 21:50:18 RRD update param 01: '/home/users/hobbit/data/rrd/igfniasprd01/apache.rrd' 2006-12-05 21:50:18 RRD update param 02: '-t' 2006-12-05 21:50:18 RRD update param 03: 'TA:TKB:BW:IW:CPU:REQPERSEC' 2006-12-05 21:50:18 RRD update param 04: '1165351818:5258570:15942591:3:17:.00566578:.740424' 2006-12-05 21:50:18 Want msg 6, startpos 22029, fillpos 22029, endpos -1, usedbytes=0, bufleft=506354 This is the info in the rrd file rrdtool info apache.rrd | grep last last_update = 1165351818 ds[TA].last_ds = "5258570" ds[TKB].last_ds = "15942591" ds[BW].last_ds = "UNKN" ds[IW].last_ds = "UNKN" ds[CPU].last_ds = "UNKN" ds[REQPERSEC].last_ds = "UNKN" So it looks like only the first 2 numbers are stored and the rest is ignored. Stef
list Stef Coene
Pff, it's working. I grep'ed for last_ds in the rrd file and that's not the last value in the rrd like I thought. Stef