[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bigsister-general] Graphs on W2K


Robert W. Kramer III wrote on Fri, 5 Jan 2007 15:43:44 -0600:

> For one thing, I run my all of my web pages from the D: on this box. The
> pre-compiled version assumes everything is being ran from the C: and this
> doesn't work for me, so I downloaded the source code for BS and compiled it
> on my laptop using CYGWIN. I still had to make some changes manually. For
> example, all of the cgi/ scripts could not find the bigsister/common.pm
> include.

I usually hit the same problem with the "pre-compiled" stuff on Windows. It's 
been a while since I installed the last. I think I just replace some prefix 
path in all the files. A while ago I also compiled on a Linux machine and used 
the paths for the Windows machine, worked just fine.

> Also had a problem with the scripts in the /cgi folder. IIS doesn't appear
> to have a way to map a document without specifying a file extension. The
> easiest way to overcome this was to just rename all the /cgi/ scripts so
> they ended with .cgi and then configure IIS to map those extensions to perl
> as usual. Of course, this required me to make some changes to the html
> template for the skin I am using. This all seems to work.

Fortunately, this is not a problem on Apache.

> 
> At this point, when I click on the little graph icon to view a host's graph,
> I see a form with a list of available graphs and time period columns to
> choose from. I've tried every combination possible, but when I click the
> View button I get a page that lists the host name at the top, followed by a
> form to select the time period and zoom factor - but only a small image icon
> with a red "x". The graph does not appear. This form seems to use the
> bsgraph script.

I hit exactly the same problem. I didn't bother to resolve it yet, though ;-)

> Another method used the bshistgraph script. This one is used when you click
> the ">>" arrows at the end of the graph form. When I click on these ">>"
> arrows I get a page that allows me to specify a date range.

I just get an "Internal Server Error". (see below)

> Yet, there is data:
> 
>   www/graphs/ fills up with .html files for each host I monitor.
>   var/graphs/ files up with .graph and .rrd files for each host I monitor.
> The .rrd files are updated frequently.

Same here. The problem probably is that bsgraph cannot produce the image.

I looked in the Apache error log and it tells me that rrdtool.exe is not 
recognized as a program. So I added E:\bigsis\bin to the PATH and all errors 
in the error log for this page are gone now. Still no graph, though.

As for the bshistgraph page, I get an error about a missing DBI.pm. After 
installing DBI with PPM next error was it could not create a "tmp" directory. 
I figured it wants that in the cgi directory and created one. Now I get that 
page that asks for a range. If I go further it says "host not found in <8.3 
filename>". At this point I decided to look in the manual ;-)
I added DBD-MySQL, edited the bs.cfg and moved it to adm, created the database 
and user and restarted BigSister (as always on Windows by killing the 
processes). The database got filled and I also have some data in it. I'm now 
getting to the stage you get, the "Chart for" page. And I get the same 
symptoms. It either reloads the page or creates an empty csv. But I see this 
error message:
In order for graphing to work, R (see http://www.r-project.org/) and 
ghostscript need to be installed. It seems, they are not. 

So, I have to install these as well. I give up for the moment since I don't 
have time to investigate this any further.


Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.