From: Massimiliano M. <mmi...@ab...> - 2004-12-07 09:30:45
|
Hi All, In the visualization of the url to display the grafh of the my host on the web server launch the follow error message: "The image “http://host.domain.it/nagios/cgi-bin/perfchart.png?host=mailsvr%2Edomain%2Eit&service=POP3&metric=time&forcescale=1&accuratescale=1&min=0%2E000000&max=10%2E000000&select_line=1&s_val=1&s_smo=0&s_war=1&s_cri=1&s_sta=1&g_sigma=14.000000&unit=%2C016108s&size=585x300&output=Histogram&timeperiod=r&reltime=00%3A00&reldays=1&title=Host+%27mailsvr%2domain%2Eit%27+++Service+%27POP3%27+++Metric+%27time%27&pid=22900” cannot be displayed, because it contains errors" I look the apache log (error_log/access_log) but there aren't error messages about grafh visualization. My configuration is the following: 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 | 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 |
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 |
From: Massimiliano M. <mmi...@ab...> - 2004-12-07 16:04:47
|
> Morning Massimiliano, Dear Ben, > > Sorry to hear you have been having problems. > > Can you tell me whether any of your graphs display? I don't never display anyone of the grafhs. > > Can you tell me if you perfparse.cfg file is correctly readable by the > apache system. I added the following lines in file httpd.conf: <Files ~ "/usr/local/nagios/etc/perfparse.cfg"> Order allow,deny Deny from all </Files> and now apache system read the perfpars.cfg, but the problem continue. > > Did you specified the location of the file correctly on compilation. Eg, > if file is /usr/local/nagios/etc/perfparse.cfg > > Did you use: > > ./configure --prefix=/usr/local/nagios I complied nagios with this prefix. > > Do you use the History Report? Can you tell me whether the Gant chart > displays on a sample History Report? No, I don't use History Report. I don't know 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 > QUERY_STRING="?host=mailsvr%2Edomain%2Eit&service=POP3&metric=time&forcescale=1&accuratescale=1&min=0%2E000000&max=10%2E000000&select_line=1&s_val=1&s_smo=0&s_war=1&s_cri=1&s_sta=1&g_sigma=14.000000&unit=%2C016108s&size=585x300&output=Histogram&timeperiod=r&reltime=00%3A00&reldays=1&title=Host+%27mailsvr%2domain%2Eit%27+++Service+%27POP3%27+++Metric+%27time%27” > > $ ./perfchart.png > sample.png > > Can you use some safe binary reader, or vi, and look at the 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 and I read the correct lines in the top of the yuor example. > > Please let us know. > > Ben. > I have still this problem. Very Thanks for your support! Massimiliano > > > > > Massimiliano Minniti wrote: > >> Hi All, >> >> In the visualization of the url to display the grafh of the my host on >> the web server launch the follow error message: >> >> "The image >> “http://host.domain.it/nagios/cgi-bin/perfchart.png?host=mailsvr%2Edomain%2Eit&service=POP3&metric=time&forcescale=1&accuratescale=1&min=0%2E000000&max=10%2E000000&select_line=1&s_val=1&s_smo=0&s_war=1&s_cri=1&s_sta=1&g_sigma=14.000000&unit=%2C016108s&size=585x300&output=Histogram&timeperiod=r&reltime=00%3A00&reldays=1&title=Host+%27mailsvr%2domain%2Eit%27+++Service+%27POP3%27+++Metric+%27time%27&pid=22900” >> cannot be displayed, because it contains errors" >> >> I look the apache log (error_log/access_log) but there aren't error >> messages about grafh visualization. >> >> My configuration is the following: >> >> 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 | >> >> 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 users. >> Discover which products truly live up to the hype. Start reading now. >> http://productguide.itmanagersjournal.com/ >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users >> > > |
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 |