Thread: [mod-security-users] apache-monitor error
Brought to you by:
victorhora,
zimmerletw
|
From: Rudi S. <te...@wi...> - 2005-02-02 08:02:09
|
Hi, I just downloaded the latest version of the apache security tools from=20 http://www.apachesecurity.net/ This is my error : =2E/apache-monitor /root/scripts/httpd/server-status=20 http://myserver.com/server-status/?auto Failed to parse URL output at ./apache-monitor line 59. This is line 59: my %data =3D parse_page("URL output", $page); if (!%data) { die("Failed to parse URL output"); } So I added print $page; exit(0); Just before line 59 to try and find why there is a parse error ... This is the output: BusyWorkers: 132 IdleWorkers: 35 Scoreboard:=20 W.___K___KCKK_K_.CWW_GGGW___WKGKC__GKKW.WG_W_WK__KK_GK_.KWWW_KWKW.KCGWGK_= KGWKKW.GGKKGWWK_G.W_GK_GKW.GW_GKW.GWGWK_.KKWGK.K.GGG.KWGRWK.KKCWGCK.WGW_G= GKCG_GWGW_KGGG.K___.GK.KKKWKWW_K_............G.............C.............= =2E....G...G.....G..............G........................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E......................................................................= =2E..................................................... Hmm .. seems like it should all be working fine. Can anyone please advise on how to get over this error ?? Many thanks Regards Rudi |
|
From: Ivan R. <iv...@we...> - 2005-02-02 09:16:06
|
Rudi Starcevic wrote: > Hi, > > I just downloaded the latest version of the apache security tools from > http://www.apachesecurity.net/ > > ... > > Just before line 59 to try and find why there is a parse error ... > > This is the output: > > BusyWorkers: 132 > IdleWorkers: 35 > Scoreboard: > W.___K___KCKK_K_.CWW_GGGW___WKGKC__GKKW.WG_W_WK__KK_GK_.KWWW_KWKW. Some things seem to be missing from the output. Do you have ExtendedStatus set to On (in the Apache configuration)? -- Ivan Ristic (http://www.modsecurity.org) |
|
From: Rudi S. <te...@wi...> - 2005-02-03 01:33:50
|
Hi, >> Some things seem to be missing from the output. Do you have >> ExtendedStatus set to On (in the Apache configuration)? Doh .. no I didn't. This scirpt works fine now, sorry for my stoopid mistake. The apache-monitor-graph is not so happy for me though. Graphs are generated from the dat and rrd files OK but there are no graphs. The blue bar charts are totally absent. Hmm. I'd like to generate stats for the last hour so I'm using something like: ./apache-monitor-graph /root/scripts/httpd/server-status/server1 /home/www/httpd/server-status 3600 This does not show any error and does produce 4 gifs with 1 hour timeline but no bar charts ... Any ideas? Thanks Rudi |
|
From: Ivan R. <iv...@we...> - 2005-02-03 16:34:48
|
Rudi Starcevic wrote: > Hi, > > >> Some things seem to be missing from the output. Do you have > >> ExtendedStatus set to On (in the Apache configuration)? > > Doh .. no I didn't. > This scirpt works fine now, sorry for my stoopid mistake. > > The apache-monitor-graph is not so happy for me though. > Graphs are generated from the dat and rrd files OK but there are no graphs. > The blue bar charts are totally absent. > > Hmm. > I'd like to generate stats for the last hour so I'm using something like: > > ./apache-monitor-graph /root/scripts/httpd/server-status/server1 > /home/www/httpd/server-status 3600 > > This does not show any error and does produce 4 gifs with 1 hour > timeline but no bar charts ... The format of the RRD file has changed. You may need to erase the RRD files to allow the script to re-create them. Looking at the source code, it checks for error after every RRD operation - it's strange that it does not output anything. Are you starting them from the command line? -- Ivan Ristic (http://www.modsecurity.org) |