From: Ben C. <BCl...@pe...> - 2004-12-07 16:27:47
|
Can you ensure that all files in the /cgi-bin directory are scripts?=20 Something like (on SUSE): ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" I will have to think hard about any other options... Ben Massimiliano Minniti wrote: >=20 >=20 >=20 >> Morning Massimiliano, >=20 > Dear Ben, >=20 >> >> Sorry to hear you have been having problems. >> >> Can you tell me whether any of your graphs display? >=20 > I don't never display anyone of the grafhs. >=20 >> >> Can you tell me if you perfparse.cfg file is correctly readable by the= =20 >> apache system. >=20 > I added the following lines in file httpd.conf: >=20 > <Files ~ "/usr/local/nagios/etc/perfparse.cfg"> > Order allow,deny > Deny from all > </Files> >=20 > and now apache system read the perfpars.cfg, but the problem continue. >=20 >> >> Did you specified the location of the file correctly on compilation.=20 >> Eg, if file is /usr/local/nagios/etc/perfparse.cfg >> >> Did you use: >> >> ./configure --prefix=3D/usr/local/nagios >=20 > I complied nagios with this prefix. >=20 >> >> Do you use the History Report? Can you tell me whether the Gant chart= =20 >> displays on a sample History Report? >=20 > No, I don't use History Report. I don't know History Report! :( >=20 >> >> Can you try running the graph from the command prompt as follows: >> >> # su apache (or what ever user Apache uses.) >> $ cd cgi-bin >> $ export=20 >> QUERY_STRING=3D"?host=3Dmailsvr%2Edomain%2Eit&service=3DPOP3&metric=3D= time&forcescale=3D1&accuratescale=3D1&min=3D0%2E000000&max=3D10%2E000000&= select_line=3D1&s_val=3D1&s_smo=3D0&s_war=3D1&s_cri=3D1&s_sta=3D1&g_sigma= =3D14.000000&unit=3D%2C016108s&size=3D585x300&output=3DHistogram&timeperi= od=3Dr&reltime=3D00%3A00&reldays=3D1&title=3DHost+%27mailsvr%2domain%2Eit= %27+++Service+%27POP3%27+++Metric+%27time%27=94=20 >> >> $ ./perfchart.png > sample.png >> >> Can you use some safe binary reader, or vi, and look at the=20 >> sample.png. Does the top of the file contain something like: >> >> "Expires: Sun, 02 Jan 2000 01:01:01 GMT >> content-type: image/png >> >> <89>PNG" >> > I follow your steps and my system correctly processed the perfchart.png= =20 > and I read the correct lines in the top of the yuor example. >=20 >> >> Please let us know. >> >> Ben. >> >=20 > I have still this problem. >=20 > Very Thanks for your support! >=20 > Massimiliano >=20 >> >=20 >> >> >> >> Massimiliano Minniti wrote: >> >>> Hi All, >>> >>> In the visualization of the url to display the grafh of the my host=20 >>> on the web server launch the follow error message: >>> >>> "The image=20 >>> =93http://host.domain.it/nagios/cgi-bin/perfchart.png?host=3Dmailsvr%= 2Edomain%2Eit&service=3DPOP3&metric=3Dtime&forcescale=3D1&accuratescale=3D= 1&min=3D0%2E000000&max=3D10%2E000000&select_line=3D1&s_val=3D1&s_smo=3D0&= s_war=3D1&s_cri=3D1&s_sta=3D1&g_sigma=3D14.000000&unit=3D%2C016108s&size=3D= 585x300&output=3DHistogram&timeperiod=3Dr&reltime=3D00%3A00&reldays=3D1&t= itle=3DHost+%27mailsvr%2domain%2Eit%27+++Service+%27POP3%27+++Metric+%27t= ime%27&pid=3D22900=94=20 >>> cannot be displayed, because it contains errors" >>> >>> I look the apache log (error_log/access_log) but there aren't error=20 >>> messages about grafh visualization. >>> >>> My configuration is the following: >>> >>> pp/database/version | 0,15 | 2004-12-06 10:25:2= 3 | >>> pp/perfparse/compilation date|Nov 12 2004 16:34:17| 2004-12-01 15:39:= 01| >>> pp/perfparse/version | 0.103.1 | 2004-12-01 15:39:0= 1 | >>> pp/uname/machine | i686 | 2004-12-01 15:39:0= 1 | >>> pp/uname/nodename | host | 2004-12-01 15:39:0= 1 | >>> pp/uname/release | 2.6.5-1.358 | 2004-12-01 15:39:0= 1 | >>> pp/uname/sysname | Linux | 2004-12-01 15:39:0= 1 | >>> pp/uname/version| #1 Sat May 8 09:04:50 EDT 2004 | 2004-12-01 15:39:0= 1 | >>> >>> I have installed the following libraries: >>> gd-2.0.21-3 >>> gd-devel-2.0.21-3 >>> libpng-1.2.2-22 >>> >>> Any ideas? >>> >>> Thanks a lot for now >>> >>> Massimiliano Minniti >>> >>> >>> >>> ------------------------------------------------------- >>> SF email is sponsored by - The IT Product Guide >>> Read honest & candid reviews on hundreds of IT Products from real use= rs. >>> Discover which products truly live up to the hype. Start reading now.= =20 >>> http://productguide.itmanagersjournal.com/ >>> _______________________________________________ >>> Perfparse-users mailing list >>> Per...@li... >>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >>> >> >> >=20 |