From: Ben C. <BCl...@pe...> - 2004-12-07 09:47:21
|
Morning Massimiliano, Sorry to hear you have been having problems. Can you tell me whether any of your graphs display? Can you tell me if you perfparse.cfg file is correctly readable by the=20 apache system. 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 Do you use the History Report? Can you tell me whether the Gant chart=20 displays on a sample History Report? 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=3Dtim= e&forcescale=3D1&accuratescale=3D1&min=3D0%2E000000&max=3D10%2E000000&sel= ect_line=3D1&s_val=3D1&s_smo=3D0&s_war=3D1&s_cri=3D1&s_sta=3D1&g_sigma=3D= 14.000000&unit=3D%2C016108s&size=3D585x300&output=3DHistogram&timeperiod=3D= r&reltime=3D00%3A00&reldays=3D1&title=3DHost+%27mailsvr%2domain%2Eit%27++= +Service+%27POP3%27+++Metric+%27time%27=94 $ ./perfchart.png > sample.png Can you use some safe binary reader, or vi, and look at the sample.png.=20 Does the top of the file contain something like: "Expires: Sun, 02 Jan 2000 01:01:01 GMT content-type: image/png <89>PNG" Please let us know. Ben. Massimiliano Minniti wrote: > Hi All, >=20 > In the visualization of the url to display the grafh of the my host on=20 > the web server launch the follow error message: >=20 > "The image=20 > =93http://host.domain.it/nagios/cgi-bin/perfchart.png?host=3Dmailsvr%2E= domain%2Eit&service=3DPOP3&metric=3Dtime&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=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" >=20 > I look the apache log (error_log/access_log) but there aren't error=20 > messages about grafh visualization. >=20 > My configuration is the following: >=20 > pp/database/version | 0,15 | 2004-12-06 10:25:23 = | > 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:01 = | > pp/uname/machine | i686 | 2004-12-01 15:39:01 = | > pp/uname/nodename | host | 2004-12-01 15:39:01 = | > pp/uname/release | 2.6.5-1.358 | 2004-12-01 15:39:01 = | > pp/uname/sysname | Linux | 2004-12-01 15:39:01 = | > pp/uname/version| #1 Sat May 8 09:04:50 EDT 2004 | 2004-12-01 15:39:01 = | >=20 > I have installed the following libraries: > gd-2.0.21-3 > gd-devel-2.0.21-3 > libpng-1.2.2-22 >=20 > Any ideas? >=20 > Thanks a lot for now >=20 > Massimiliano Minniti >=20 >=20 >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > 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 |