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

[Bigsister-general] Graphs on W2K


Ken and Geir,

Thank you for your responses. They are very helpful! I apologize for
starting a new thread, but I somehow got confused on subscribing to this
list. I think I've resolved that problem now.

TO: Geir
RE: cgi/bsgraph

I tried your own fix but get the red 'x' with it also. Your link to
http://sourceforge.net/tracker/index.php?func=detail&aid=1020336&group_id=14
120&atid=114120 got me going in the right direction, but there are still
some problems.

I can view most of the BS graphs now, but there are no legends or text of
any sort. The graphs contain absolutely no text or numbers - only a line
graph. Recall we are using ActiveState's Perl 5.8. I've tried all 3
approaches with RRD. I've setup rrdtool.exe in my path and tried both
http://search.cpan.org/dist/RRDs-1.2015/ and
http://search.cpan.org/dist/RRD-Simple-1.40/ PPMs. All three approaches
provide the same results, a graph with no legends, titles or any text.
Although, it appears that some of the graphs have one, two or three periods
in the lower left corner. I assume these are supposed to be the legend
boxes - but they appear as periods.

There are .graph files for all of my hosts in the bigsis/var/graphs folder.
I've opened a couple of them to see if they contain legit data and they
appear to. I can see these files define the way the graph appears. I see the
titles, etc. in these .graph files.

I assume these are used by RRD since there are also matching .rrd files in
this same folder. These are getting updated regularly. Since I can see most
of my graphs I am assuming that the CGI scripts are pointing RRD to the
correct folder to find its data - but something is failing in loading these
.graph definition files.

Also, I mentioned a few times that we can view 'most of our graphs'. One
step at a time... but not all of the graphs display. Certain types of graphs
display a red 'x' in my browser. The ones that seem to consistently work are
"Ping Roundtrip", "Ping Packet Loss", "Service Response Times" and "Disk
usage on hostname". But none of my "Interface ..." graphs will display -
even though there is a corresponding .rrd file in my bigsis/var/graphs
folder.

TO: Ken
RE: cgi/bshistgraph

See the link above to get bsgraph working better. It wasn't a 100% solution
for me, but I am a lot closer now that the red 'x' is gone most of the time.

Getting to the html form page that allows setting the Chart, Options and
Data Export settings required db.cfg to be configured for a database. I
chose the DBD::CSV file method over MySQL for now. I believe this is working
correctly.

But a problem is obvious on this page. The Graph dropdown is empty. Clicking
either of the Display buttons simply refreshes the page. The Download button
sends me an empty .CSV file. I've never seen this page (bshistgraph) work
correctly, so I don't know what to expect. Possibly the graph is supposed to
be being display on this same page. I see no errors or a red 'x' in place of
a failed image. I only see html form and buttons.

I've never seen BS setup and configured correctly so I'm not positive of how
it all works. One thing that is suspicious to me is that my
bigsis/www/logs/history/ folder never contains any data. NTFS and IIS Write
permissions are set correctly, but this folder never has any files.

Maybe I have a configuration issue - do you have any files in this folder?
Do they end with .graph and .rrd - or are they .html files?

Since the bshistgraph script is showing me an empty dropdown list for the
Graph type I am wondering if it is looking in this www/logs/history folder
for the data/available graphs. bsgraph appears to find this data in
bigsis/var/graphs.

I copied all of the .graph and .rrd files in bigsis/var/graphs to
bigsys/www/logs/history and tried again. This made no difference to the
problems - the Graph dropdown was still empty, Display buttons only appear
to refresh the page and the Download buttons sends me an empty .CSV. No
graph displays.

You mentioned R and Ghostscript. I'm not sure why I would need those. I
can't find the Big Sister documentation relating to these. Do you know what
they are required for? I downloaded Ghostscript and installed it - but it
was a 28mb application that got installed in my \Program Files directory.


Maybe both of these scripts are having one problem common to each - fixing
one will fix the other.

Tom (Big Sister), can you provide some help on how to troubleshoot these
problems?

Bob Kramer




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