Xymon Mailing List Archive search

PDF Reports

list Wiskbroom
Tue, 9 Mar 2010 09:17:19 -0500
Message-Id: <user-90d0b1b6e579@xymon.invalid>

Sorry, don't mean to be a pest, but I'd like to get my PDF's working :-)

Bottom line, I can generate PDF reports, but they do not contain charts.  

I am only able to see a pie chart for "24x7 Availability" with the word "Tests" in a box and the words "09-Mar-2010 availability : %" above the pie chart.

The pie chart is just a solid green circle, with a line from the center to the 12 o'clock position.

None of the other charts are displayed, I am getting "No graph" for these.

Any help would be greatly appreciated, thank you.

.vp
Even more errors:

2010-03-08 16:38:36 xgetenv: Cannot find value for variable BBREPGREEN
2010-03-08 16:39:23 Whoops ! bb failed to send message - timeout
2010-03-08 16:39:23 hobbitd status-board not available, code 7

Can anyone help?  Please &^)
All;

Further testing, by running in this manner:

source config
echo $HOBBITREP
sh $HOBBITREP/scripts/gencsv.sh

Results in the following errors; not sure if they are my problem:

2010-03-08 14:56:33 xgetenv: Cannot find value for variable BBREPGREEN

I am unable to find any variable using BBREPGREEN anywhere.

These seem to happen for every node CSV's are created for.

Thank you,


.vadim

Hi Chris;

perhaps you can elaborate? I get PDF reports partially working, here are some issues that I've encountered:

1. I can pull up a report, but the report contains only the page structure.

2. Often, subsequent attempts after my initial report often fail, almost as if I am only able to create but one. (again, just a page structure).

3. Attempts to run master.sh seem to hang forever (I have less than 50 hosts), here is what I am seeing after running for more than two hours:

[scripts]# sh -x ./master.sh
+ source config
++ HOBBITBIN=/xymon/server
++ HOBBITREP=/xymon/server/www/pdf
++ RRDREP=/xymon/rrd
++ RRDGRAPHS=/xymon/server/www/pdf/graphrrd
++ RRDNEW=N
++ RRDBIN=/usr/bin/rrdtool
+ sh /xymon/linux/www/pdf/scripts/rrdcputil.sh
+ sh /xymon/linux/www/pdf/scripts/rrdload.sh
+ sh /xymon/linux/www/pdf/scripts/rrdmemory.sh
+ sh /xymon/linux/www/pdf/scripts/rrdnetio.sh
+ sh /xymon/linux/www/pdf/scripts/rrdwio.sh
+ sh /xymon/linux/www/pdf/scripts/rrdrq.sh
+ sh /xymon/linux/www/pdf/scripts/gencsv.sh


4. When I select report.php, I am unable to see graphs for anything except for 24x7 Availability with the word "Tests" in a box and a large all green pie-chart, the chart says "Week 9 availability: %".

5. When I select analysis report I can see what I've entered for conclusion, but graphs for nothing else.

6. My main view page, bb.html, goes to a green/broken image one, then after a minute gets fixed, but goes back and forth to the broken (images seem to be broken) green background bb.html page.

NOTE: I am using RRDtool 1.4.2, and I've entered No for RRDNEW, but the same happens if I use Yes.

Any help in debugging this would be greatly appreciated.

Thanks all!

.vadim

Subject: RE: [hobbit] PDF Reports

Yes, I have PDF Reports working and sar graphs.

It took a little collaboration with Thomas to get there.

Original problem was with a PHP config paramater relating to
short_open_tag

Using SERVER_SOFTWARE="Apache/2.2.2 (Unix) PHP/5.1.4"

Regards,
Chris

-----Original Message-----
From: Jacobs, Eric [mailto:user-2ad24e73f3d4@xymon.invalid]
Sent: 05 March 2010 22:09
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] PDF Reports

Has anyone tried to get the PDF Reports add-in from XYMONTON working.
I've been trying and am not having much luck. (I'm suspecting it may
have something to do with version of PHP I installed). I also tried
getting the bb-sar.sh working. That works, sort-of. I get the reports
but not any of the graphs (Thomas Seglard, in his writeup about PDF
Reports, has instructions). Anyone have sar graphs working?

Eric Jacobs