|
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
>>
>
>
|