PDF Reports
list Eric Jacobs
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 Infrastructure and Operations Information Technology Group Phone:XXX-XXX-XXXX Email:user-2ad24e73f3d4@xymon.invalid
list Chris Morris
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
Infrastructure and Operations
Information Technology Group
Phone:XXX-XXX-XXXX
Email:user-2ad24e73f3d4@xymon.invalid
****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
list Wiskbroom
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 Jacobslist Wiskbroom
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! .vadimSubject: 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
list Eric Jacobs
Well, it's nice to know it works. I'll probably have to drop back a version or two on PHP and try again. As far as SAR graphs go, did you follow Thomas' directions or do something different? Eric
▸
-----Original Message-----
From: user-e510f6c03e57@xymon.invalid [mailto:user-e510f6c03e57@xymon.invalid]
Sent: Monday, March 08, 2010 5:01 AM
To: user-ae9b8668bcde@xymon.invalid
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
Infrastructure and Operations
Information Technology Group
Phone:XXX-XXX-XXXX
Email:user-2ad24e73f3d4@xymon.invalid
************************************************************************
****
The information contained in this email is intended only for the use of
the intended recipient at the email address to which it has been
addressed. If the reader of this message is not an intended recipient,
you are hereby notified that you have received this document in error
and that any review, dissemination or copying of the message or
associated attachments is strictly prohibited. If you have received this
email in error, please contact the sender by return email or call 01793
877777 and ask for the sender and then delete it immediately from your
system.Please note that neither the RWE Group of Companies nor the
sender accepts any responsibility for viruses and it is your
responsibility to scan attachments (if any).
************************************************************************
*****
list Wiskbroom
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, .vadimHi 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! .vadimSubject: 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
list Wiskbroom
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, .vadimHi 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! .vadimSubject: 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
list Chris Morris
My configuration :- Xymon 4.4.0.1 Apache 2.2.2 PHP 5.1.4 RRDTOOL 1.2.26 TCPDF 4.3.003 To make sure that the basic apache configuration is correct (before worrying about xymon data), point a web browser at the tcpdf directory under your apache htdocs directory (or wherever you installed tcpdf). There you should have a sub-directory called examples which contains example pdf documents - if these don't display in your browser then your basic configuration is wrong!!
▸
Regards,
Chris
-----Original Message-----
From: Jacobs, Eric [mailto:user-2ad24e73f3d4@xymon.invalid]
Sent: 08 March 2010 20:54
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] PDF Reports
Well, it's nice to know it works. I'll probably have to drop back a
version or two on PHP and try again.
As far as SAR graphs go, did you follow Thomas' directions or do
something different?
Eric
-----Original Message-----
From: user-e510f6c03e57@xymon.invalid [mailto:user-e510f6c03e57@xymon.invalid]
Sent: Monday, March 08, 2010 5:01 AM
To: user-ae9b8668bcde@xymon.invalid
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
Infrastructure and Operations
Information Technology Group
Phone:XXX-XXX-XXXX
Email:user-2ad24e73f3d4@xymon.invalid
************************************************************************
****
The information contained in this email is intended only for the use of
the intended recipient at the email address to which it has been
addressed. If the reader of this message is not an intended recipient,
you are hereby notified that you have received this document in error
and that any review, dissemination or copying of the message or
associated attachments is strictly prohibited. If you have received this
email in error, please contact the sender by return email or call 01793
877777 and ask for the sender and then delete it immediately from your
system.Please note that neither the RWE Group of Companies nor the
sender accepts any responsibility for viruses and it is your
responsibility to scan attachments (if any).
************************************************************************
*****
****************************************************************************
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
list Wiskbroom
Sorry in advance for the long reply, I want to provide as much info as I possibly can.
My configuration:
Xymon 4.3.0-beta2 (Wow, where did you get 4.4.0.1?)
Apache/2.2.3
PHP 5.1.6
RRDtool 1.4.2
TCPDF 4.8.036
My issues:
1. I can see the files under tcpdf/example, and I am able to see the templates for this project, but I am unable to see the graphs that those template PDF's are supposed to contain.
2. When I use my company logo, which is a JPG, and I try to use it, it fails to display on the template PDF. I am using the same path as the logo_example.png, which does work. Here is what I have in pdf/class.report.inc.php:
$this->Image('/xymon/www/pdf/images/logo_example.png',10,8,30,15,'png','http://www.example.com';);
If I use:
$this->Image('/xymon/www/pdf/images/my_real_logo.jpg',10,8,30,15,'jpg','http://www.example.com';);
It doesn't display.
Here are some PHP errors that I am seeing, unfortunately I do not know what to do about these:
[Tue Mar 09 11:47:16 2010] [error] [client 192.168.1.13] PHP Notice: Undefined variable: pctconn in /xymon/server/www/pdf/report.skel.php on line 71, referer: http://xymon-1/pdf/pdf.php
[Tue Mar 09 11:47:16 2010] [error] [client 192.168.1.13] PHP Notice: Undefined variable: pctconn in /xymon/server/www/pdf/report.skel.php on line 73, referer: http://xymon-1/pdf/pdf.php
Do I need to install something missing on PHP, or modify my php.ini file anywhere?
Modified tcpdf/config files in the following manner, although it did not help:
tcpdf/config/tcpdf_config_alt.php
tcpdf/config/tcpdf_config.php
$_SERVER['DOCUMENT_ROOT'] = '/xymon/server/www';
Default to above was set to /var/www
From: user-e510f6c03e57@xymon.invalid
▸
My configuration :-
Xymon 4.4.0.1
Apache 2.2.2
PHP 5.1.4
RRDTOOL 1.2.26
TCPDF 4.3.003
To make sure that the basic apache configuration is correct (before
worrying about xymon data), point a web browser at the tcpdf directory
under your apache htdocs directory (or wherever you installed tcpdf).
There you should have a sub-directory called examples which contains
example pdf documents - if these don't display in your browser then your
basic configuration is wrong!!
Regards,
Chris
-----Original Message-----
From: Jacobs, Eric [mailto:user-2ad24e73f3d4@xymon.invalid]
Sent: 08 March 2010 20:54
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] PDF Reports
Well, it's nice to know it works. I'll probably have to drop back a
version or two on PHP and try again.
As far as SAR graphs go, did you follow Thomas' directions or do
something different?
Eric
-----Original Message-----
From: user-e510f6c03e57@xymon.invalid [mailto:user-e510f6c03e57@xymon.invalid]
Sent: Monday, March 08, 2010 5:01 AM
To: user-ae9b8668bcde@xymon.invalid
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
Infrastructure and Operations
Information Technology Group
Phone:XXX-XXX-XXXX
Email:user-2ad24e73f3d4@xymon.invalid
list Jerald Sheets
On Tue, Mar 9, 2010 at 11:57 AM, <user-ddebaeecde97@xymon.invalid> wrote: Xymon 4.3.0-beta2 (Wow, where did
you get 4.4.0.1?)
Seriously! Is that the current source level? --- Jerald M. Sheets jr.
list Cade Robinson
If you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know. I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been.
▸
On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:
On Tue, Mar 9, 2010 at 11:57 AM, <user-ddebaeecde97@xymon.invalid> wrote:
Xymon 4.3.0-beta2
(Wow, where did you get 4.4.0.1?)
Seriously! Is that the current source level?
---
Jerald M. Sheets jr.
list Wiskbroom
OK, now back to topic ;-) I *AM* able to see the following: http://my-xymon-server/pdf/graphrrd/SOME-CLIENT/load.SOME-CLIENT-year.png The graph above But this PNG never gets injected into the PDF for some reason, i.e. when I select either report, or nalaysis for SOME-CLIENT. Thanks again, .vp
▸
If you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know. I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been. On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:On Tue, Mar 9, 2010 at 11:57 AM, wrote: Xymon 4.3.0-beta2 (Wow, where did you get 4.4.0.1?) Seriously! Is that the current source level? --- Jerald M. Sheets jr.
list Thomas Séglard
Hello guys, I'm sorry to answer now but I'm very busy those days. I will try to answer some of your questions about reports but... tomorrow :) The only things I can told you is I never tested the PDF reports on Xymon above 4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP. By the way, I'm just wondering why The Shire is not accessible anymore ? Cheers. ThomaS
▸
user-ddebaeecde97@xymon.invalid a écrit :OK, now back to topic ;-) I *AM* able to see the following: http://my-xymon-server/pdf/graphrrd/SOME-CLIENT/load.SOME-CLIENT-year.png The graph above But this PNG never gets injected into the PDF for some reason, i.e. when I select either report, or nalaysis for SOME-CLIENT. Thanks again, .vpIf you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know. I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been. On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:On Tue, Mar 9, 2010 at 11:57 AM, wrote: Xymon 4.3.0-beta2 (Wow, where did you get 4.4.0.1?) Seriously! Is that the current source level? --- Jerald M. Sheets jr.
list Martin Flemming
Hi, Thomas !
By the way, I'm just wondering why The Shire is not accessible anymore ?
Please try http://xymonton.trantor.org/doku.php. it's work for me .. cheers, martin
▸
On Tue, 9 Mar 2010, Thomas Séglard wrote:
Hello guys, I'm sorry to answer now but I'm very busy those days. I will try to answer some of your questions about reports but... tomorrow :) The only things I can told you is I never tested the PDF reports on Xymon above 4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP. By the way, I'm just wondering why The Shire is not accessible anymore ? Cheers. ThomaS user-ddebaeecde97@xymon.invalid a écrit :OK, now back to topic ;-) I *AM* able to see the following: http://my-xymon-server/pdf/graphrrd/SOME-CLIENT/load.SOME-CLIENT-year.png The graph above But this PNG never gets injected into the PDF for some reason, i.e. when I select either report, or nalaysis for SOME-CLIENT. Thanks again, .vpIf you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know.I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been. On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:On Tue, Mar 9, 2010 at 11:57 AM, wrote:Xymon 4.3.0-beta2(Wow, where did you get 4.4.0.1?)Seriously! Is that the current source level?---Jerald M. Sheets jr.
To unsubscribe from the hobbit list, send an e-mail to user-095ef1c764a2@xymon.invalid
list Wiskbroom
4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP.
How do you enable GD? Is there a way to test? Thanks, .vp
list Jerald Sheets
Yep. http://xymonton.trantor.org/doku.php Works from Atlanta, GA --- Jerald M. Sheets jr.
▸
On Tue, Mar 9, 2010 at 2:19 PM, Martin Flemming <user-f286aaa49a76@xymon.invalid>wrote:
Hi, Thomas ! By the way, I'm just wondering why The Shire is not accessible anymore ?Please try http://xymonton.trantor.org/doku.php. it's work for me .. cheers, martin On Tue, 9 Mar 2010, Thomas Séglard wrote: Hello guys,I'm sorry to answer now but I'm very busy those days. I will try to answer some of your questions about reports but... tomorrow :) The only things I can told you is I never tested the PDF reports on Xymon above 4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP. By the way, I'm just wondering why The Shire is not accessible anymore ? Cheers. ThomaS user-ddebaeecde97@xymon.invalid a écrit :OK, now back to topic ;-) I *AM* able to see the following: http://my-xymon-server/pdf/graphrrd/SOME-CLIENT/load.SOME-CLIENT-year.png The graph above But this PNG never gets injected into the PDF for some reason, i.e. when I select either report, or nalaysis for SOME-CLIENT. Thanks again, .vpIf you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know.I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been. On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:On Tue, Mar 9, 2010 at 11:57 AM, wrote:Xymon 4.3.0-beta2(Wow, where did you get 4.4.0.1?)Seriously! Is that the current source level?---Jerald M. Sheets jr.To unsubscribe from the hobbit list, send an e-mail to user-095ef1c764a2@xymon.invalid
list Josh Luthman
Yum info php-gd Also may help... Php -i|grep -i gd
▸
On 3/9/10, user-ddebaeecde97@xymon.invalid <user-ddebaeecde97@xymon.invalid> wrote:4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP.How do you enable GD? Is there a way to test? Thanks, .vp
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
“Success is not final, failure is not fatal: it is the courage to
continue that counts.”
--- Winston Churchill
list Wiskbroom
Yum info php-gd Also may help... Php -i|grep -i gd
It's installed :-( Thanks.
▸
On 3/9/10, user-ddebaeecde97@xymon.invalid wrote:4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP.How do you enable GD? Is there a way to test? Thanks, .vp
list Chris Morris
Downloaded it from SourceForge SVN Branches long time ago!
▸
From: Jerald Sheets [mailto:user-96a6f34c5806@xymon.invalid] Sent: 09 March 2010 17:11
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] PDF Reports
On Tue, Mar 9, 2010 at 11:57 AM, <user-ddebaeecde97@xymon.invalid> wrote:
Xymon
4.3.0-beta2 (Wow, where did you get 4.4.0.1?)
Seriously! Is that the current source level?
---
Jerald M. Sheets jr.
**************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
*****************************************************************************
list Thomas Séglard
Hi Martin :) Thanks, it's working. For your information, I'm not able to find this link neither on the Xymon Website nor in the documentation. Maybe redirects could be made from http://theshire.sourceforge.net/ and http://www.trantor.org/theshire/ to this new location ? Cheers, Thomas Séglard
▸
Martin Flemming a écrit :Hi, Thomas !By the way, I'm just wondering why The Shire is not accessible anymore ?Please try http://xymonton.trantor.org/doku.php. it's work for me .. cheers, martin On Tue, 9 Mar 2010, Thomas Séglard wrote:Hello guys, I'm sorry to answer now but I'm very busy those days. I will try to answer some of your questions about reports but... tomorrow :) The only things I can told you is I never tested the PDF reports on Xymon above 4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP. By the way, I'm just wondering why The Shire is not accessible anymore ? Cheers. ThomaS user-ddebaeecde97@xymon.invalid a écrit :OK, now back to topic ;-) I *AM* able to see the following: http://my-xymon-server/pdf/graphrrd/SOME-CLIENT/load.SOME-CLIENT-year.png The graph above But this PNG never gets injected into the PDF for some reason, i.e. when I select either report, or nalaysis for SOME-CLIENT. Thanks again, .vpIf you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know.I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been. On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:On Tue, Mar 9, 2010 at 11:57 AM, wrote:Xymon 4.3.0-beta2(Wow, where did you get 4.4.0.1?)Seriously! Is that the current source level?---Jerald M. Sheets jr.To unsubscribe from the hobbit list, send an e-mail to user-095ef1c764a2@xymon.invalid
list Thomas Séglard
Hi Vadim,
I got two questions for you :)
1) could you please, try an older version of TCPDF ? I suspect an incompatibility between your RRDTOOL version and TCPDF.
2) could you give me the output for this command :
shell$ file pdf/graphrrd/CLIENT/load.CLIENT-year.png
For your information, here is mine :
graphrrd/www01/cputil.www01-2day.png: PNG image data, 697 x 255, 8-bit/color RGBA, non-interlaced
Then, green circle you saw on second page, is generated with the values on the left. These values are calculated by the "master.sh" script. You should see in your "graphrrd" directory csv files. You can open csv to look at the values. If you have none, maybe something has changed in Xymon 4.3.x ? I'm using the following command to generate csv :
$HOBBITBIN/bin/bbgen --reportopts=$TODAY:$NOWTIME:0:all --csv=$RRDGRAPHS/$dir/${GRAPH}-day.csv
Sincerly,
Thomas Séglard
▸
user-ddebaeecde97@xymon.invalid a écrit :Yum info php-gd Also may help... Php -i|grep -i gdIt's installed :-( Thanks.On 3/9/10, user-ddebaeecde97@xymon.invalid wrote:4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP.How do you enable GD? Is there a way to test? Thanks, .vp
list Galen Johnson
I'll look into the link on SF. It should be redirecting you to xymonton. The Shire was changed to Xymonton over a year ago and has even changed hosting locations 2x :-). =G=
▸
-----Original Message----- From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid] Sent: Wednesday, March 10, 2010 4:54 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] PDF Reports Hi Martin :) Thanks, it's working. For your information, I'm not able to find this link neither on the Xymon Website nor in the documentation. Maybe redirects could be made from http://theshire.sourceforge.net/ and http://www.trantor.org/theshire/ to this new location ? Cheers, Thomas Séglard Martin Flemming a écrit :
Hi, Thomas !By the way, I'm just wondering why The Shire is not accessible anymore ?Please try http://xymonton.trantor.org/doku.php. it's work for me .. cheers, martin On Tue, 9 Mar 2010, Thomas Séglard wrote:Hello guys, I'm sorry to answer now but I'm very busy those days. I will try to answer some of your questions about reports but... tomorrow :) The only things I can told you is I never tested the PDF reports on Xymon above 4.2.3. My PHP version is 5.2 and you need to enable the GD module for PHP. By the way, I'm just wondering why The Shire is not accessible anymore ? Cheers. ThomaS user-ddebaeecde97@xymon.invalid a écrit :OK, now back to topic ;-) I *AM* able to see the following: http://my-xymon-server/pdf/graphrrd/SOME-CLIENT/load.SOME-CLIENT-year.png The graph above But this PNG never gets injected into the PDF for some reason, i.e. when I select either report, or nalaysis for SOME-CLIENT. Thanks again, .vpIf you pull SVN down there is a 4.4.0 branch. It is about 200+ commits ahead of trunk - why I don't know. The 4.3.0 branch is also WAY ahead of trunk - again why I don't know.I would like to see the 4.4.0 branch be merged into trunk and removed and development be on "trunk" and not the branches, where it looks like most of the last commits have been. On Tue, 2010-03-09 at 12:10 -0500, Jerald Sheets wrote:On Tue, Mar 9, 2010 at 11:57 AM, wrote:Xymon 4.3.0-beta2(Wow, where did you get 4.4.0.1?)Seriously! Is that the current source level?---Jerald M. Sheets jr.To unsubscribe from the hobbit list, send an e-mail to user-095ef1c764a2@xymon.invalid
list Wiskbroom
▸
1) could you please, try an older version of TCPDF ? I suspect an incompatibility between your RRDTOOL version and TCPDF.
I haven't done this yet, but I will try after sending you the data below, but I am only able to see the two most recent at http://sourceforge.net/projects/tcpdf/files/
▸
2) could you give me the output for this command : shell$ file pdf/graphrrd/CLIENT/load.CLIENT-year.png
[root at xymon-1 graphrrd]# file ./CLIENT/load.CLIENT-2week.png ./CLIENT/load.CLIENT-2week.png: PNG image data, 697 x 193, 8-bit/color RGBA, non-interlaced
▸
For your information, here is mine : graphrrd/www01/cputil.www01-2day.png: PNG image data, 697 x 255, 8-bit/color RGBA, non-interlaced
Looks quite similiar.
▸
Then, green circle you saw on second page, is generated with the values on the left. These values are calculated by the "master.sh" script. You should see in your "graphrrd" directory csv files. You can open csv to look at the values. If you have none, maybe something has changed in Xymon 4.3.x ? I'm using the following command to generate csv :
Not sure about this, BUT if I point my browser at: http://xymon-1.example.com/pdf/graphrrd/CLIENT/load.CLIENT-2week.png It displays a beautiful graph generated using RRD. I am not sure why it is not displaying properly within the tcpdf report, perhaps a misconfiguration somewhere? (I've searched hard..)
list Thomas Séglard
I think something is broken - again - in the transparency conversion. I
quote Johan Grotherus (thanks to him) who said something very useful
about this. Could you try his workaround, please ?
"--start of quote
I have checked the scripts and found the problem to be in the
analysis.skel.php and report.skel.php files.
This is the original code from report.skel.php
//
// Place the cpu load graph and text here
//
$pdf->SetXY(25,30);
$pdf->Image($imageload,10,26,0,13) ;
$pdf->Titre($titreload);
if (file_exists($graphload)) {
$img = ImageCreateFromPNG($graphload) ;
imageAlphaBlending($img, false);
imageSaveAlpha($img, false);
imagePNG($img, "$graphload-woalpha.png");
$pdf->Image("$graphload-woalpha.png",10,40,190,60,$extn,'', true, 72) ;
unlink("$graphload-woalpha.png");
} else {
$pdf->Cell(10,20,$nograph,0,1) ;
$pdf->Ln(80);
}
I simply used the sed command to change the imagePNG($img,
"$graphload-woalpha.png"); to imagePNG($img, "$graphload"); to get it to
work. I did that for every section.
--end of quote
"
Cheers,
Thomas Séglard
▸
user-ddebaeecde97@xymon.invalid a écrit :1) could you please, try an older version of TCPDF ? I suspect an incompatibility between your RRDTOOL version and TCPDF.I haven't done this yet, but I will try after sending you the data below, but I am only able to see the two most recent at http://sourceforge.net/projects/tcpdf/files/2) could you give me the output for this command : shell$ file pdf/graphrrd/CLIENT/load.CLIENT-year.png[root at xymon-1 graphrrd]# file ./CLIENT/load.CLIENT-2week.png ./CLIENT/load.CLIENT-2week.png: PNG image data, 697 x 193, 8-bit/color RGBA, non-interlacedFor your information, here is mine : graphrrd/www01/cputil.www01-2day.png: PNG image data, 697 x 255, 8-bit/color RGBA, non-interlacedLooks quite similiar.Then, green circle you saw on second page, is generated with the values on the left. These values are calculated by the "master.sh" script. You should see in your "graphrrd" directory csv files. You can open csv to look at the values. If you have none, maybe something has changed in Xymon 4.3.x ? I'm using the following command to generate csv :Not sure about this, BUT if I point my browser at: http://xymon-1.example.com/pdf/graphrrd/CLIENT/load.CLIENT-2week.png It displays a beautiful graph generated using RRD. I am not sure why it is not displaying properly within the tcpdf report, perhaps a misconfiguration somewhere? (I've searched hard..)
list Chris Morris
DING DING DING!! That is one of the things I nneded to do to get my graphs to work - remove the "-woalpha" from the imagePNG statements. Regards, Chris
▸
-----Original Message-----
From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid] Sent: 10 March 2010 18:18
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] PDF Reports
I think something is broken - again - in the transparency conversion. I quote Johan Grotherus (thanks to him) who said something very useful about this. Could you try his workaround, please ?
"--start of quote
I have checked the scripts and found the problem to be in the analysis.skel.php and report.skel.php files.
This is the original code from report.skel.php
//
// Place the cpu load graph and text here //
$pdf->SetXY(25,30);
$pdf->Image($imageload,10,26,0,13) ;
$pdf->Titre($titreload);
if (file_exists($graphload)) {
$img = ImageCreateFromPNG($graphload) ;
imageAlphaBlending($img, false);
imageSaveAlpha($img, false);
imagePNG($img, "$graphload-woalpha.png");
$pdf->Image("$graphload-woalpha.png",10,40,190,60,$extn,'', true, 72) ;
unlink("$graphload-woalpha.png");
} else {
$pdf->Cell(10,20,$nograph,0,1) ;
$pdf->Ln(80);
}
I simply used the sed command to change the imagePNG($img, "$graphload-woalpha.png"); to imagePNG($img, "$graphload"); to get it to work. I did that for every section.
--end of quote
"
Cheers,
Thomas Séglard
user-ddebaeecde97@xymon.invalid a écrit :1) could you please, try an older version of TCPDF ? I suspect an incompatibility between your RRDTOOL version and TCPDF.I haven't done this yet, but I will try after sending you the data below, but I am only able to see the two most recent at http://sourceforge.net/projects/tcpdf/files/2) could you give me the output for this command : shell$ file pdf/graphrrd/CLIENT/load.CLIENT-year.png[root at xymon-1 graphrrd]# file ./CLIENT/load.CLIENT-2week.png ./CLIENT/load.CLIENT-2week.png: PNG image data, 697 x 193, 8-bit/color RGBA, non-interlacedFor your information, here is mine : graphrrd/www01/cputil.www01-2day.png: PNG image data, 697 x 255, 8-bit/color RGBA, non-interlacedLooks quite similiar.Then, green circle you saw on second page, is generated with the values on the left. These values are calculated by the "master.sh" script. You should see in your "graphrrd" directory csv files. You can open csv to look at the values. If you have none, maybe something has changed in Xymon 4.3.x ? I'm using the following command to generate csv :Not sure about this, BUT if I point my browser at: http://xymon-1.example.com/pdf/graphrrd/CLIENT/load.CLIENT-2week.png It displays a beautiful graph generated using RRD. I am not sure why it is not displaying properly within the tcpdf report, perhaps a misconfiguration somewhere? (I've searched hard..)
**************************************************************************** The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any). *****************************************************************************
list Wiskbroom
[root at xymon-1 pdf]# grep "\$graphload-woalpha.png" report.skel.php
imagePNG($img, "$graphload-woalpha.png");
$pdf->Image("$graphload-woalpha.png",10,40,190,60,$extn,'', true, 72) ;
unlink("$graphload-woalpha.png");
Thus, I only found one line containing:
imagePNG($img, "$graphload-woalpha.png");
Changing this one line to:
imagePNG($img, "$graphload");
Resulted in the same missing graphs.
.vp
▸
I think something is broken - again - in the transparency conversion. I quote Johan Grotherus (thanks to him) who said something very useful about this. Could you try his workaround, please ? "--start of quote I have checked the scripts and found the problem to be in the analysis.skel.php and report.skel.php files. This is the original code from report.skel.php // // Place the cpu load graph and text here // $pdf->SetXY(25,30); $pdf->Image($imageload,10,26,0,13) ; $pdf->Titre($titreload); if (file_exists($graphload)) { $img = ImageCreateFromPNG($graphload) ; imageAlphaBlending($img, false); imageSaveAlpha($img, false); imagePNG($img, "$graphload-woalpha.png"); $pdf->Image("$graphload-woalpha.png",10,40,190,60,$extn,'', true, 72) ; unlink("$graphload-woalpha.png"); } else { $pdf->Cell(10,20,$nograph,0,1) ; $pdf->Ln(80); } I simply used the sed command to change the imagePNG($img, "$graphload-woalpha.png"); to imagePNG($img, "$graphload"); to get it to work. I did that for every section. --end of quote " Cheers, Thomas Séglard user-ddebaeecde97@xymon.invalid a écrit :1) could you please, try an older version of TCPDF ? I suspect an incompatibility between your RRDTOOL version and TCPDF.I haven't done this yet, but I will try after sending you the data below, but I am only able to see the two most recent at http://sourceforge.net/projects/tcpdf/files/2) could you give me the output for this command : shell$ file pdf/graphrrd/CLIENT/load.CLIENT-year.png[root at xymon-1 graphrrd]# file ./CLIENT/load.CLIENT-2week.png ./CLIENT/load.CLIENT-2week.png: PNG image data, 697 x 193, 8-bit/color RGBA, non-interlacedFor your information, here is mine : graphrrd/www01/cputil.www01-2day.png: PNG image data, 697 x 255, 8-bit/color RGBA, non-interlacedLooks quite similiar.Then, green circle you saw on second page, is generated with the values on the left. These values are calculated by the "master.sh" script. You should see in your "graphrrd" directory csv files. You can open csv to look at the values. If you have none, maybe something has changed in Xymon 4.3.x ? I'm using the following command to generate csv :Not sure about this, BUT if I point my browser at: http://xymon-1.example.com/pdf/graphrrd/CLIENT/load.CLIENT-2week.png It displays a beautiful graph generated using RRD. I am not sure why it is not displaying properly within the tcpdf report, perhaps a misconfiguration somewhere? (I've searched hard..)
list Wiskbroom
OK, I feel like a WINNER!!!! (The bells helped a great deal ;-) My graphs are starting to show up, although I needed to remove "-woalpha.png", otherwise it was searching for something.png.png. On another note, does anyone know how I can convert my companies logo (in JPEG format) to PNG? For some reason TCPDF does not show my company logo, but does work for the sample_logo.png. Thank you! .vadim
▸
DING DING DING!! That is one of the things I nneded to do to get my graphs to work - remove the "-woalpha" from the imagePNG statements. Regards, Chris -----Original Message----- From: Thomas Séglard [mailto:user-358ce494902e@xymon.invalid] Sent: 10 March 2010 18:18 To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] PDF Reports I think something is broken - again - in the transparency conversion. I quote Johan Grotherus (thanks to him) who said something very useful about this. Could you try his workaround, please ? "--start of quote I have checked the scripts and found the problem to be in the analysis.skel.php and report.skel.php files. This is the original code from report.skel.php // // Place the cpu load graph and text here // $pdf->SetXY(25,30); $pdf->Image($imageload,10,26,0,13) ; $pdf->Titre($titreload); if (file_exists($graphload)) { $img = ImageCreateFromPNG($graphload) ; imageAlphaBlending($img, false); imageSaveAlpha($img, false); imagePNG($img, "$graphload-woalpha.png"); $pdf->Image("$graphload-woalpha.png",10,40,190,60,$extn,'', true, 72) ; unlink("$graphload-woalpha.png"); } else { $pdf->Cell(10,20,$nograph,0,1) ; $pdf->Ln(80); } I simply used the sed command to change the imagePNG($img, "$graphload-woalpha.png"); to imagePNG($img, "$graphload"); to get it to work. I did that for every section. --end of quote " Cheers, Thomas Séglard user-ddebaeecde97@xymon.invalid a écrit :1) could you please, try an older version of TCPDF ? I suspect an incompatibility between your RRDTOOL version and TCPDF.I haven't done this yet, but I will try after sending you the data below, but I am only able to see the two most recent at http://sourceforge.net/projects/tcpdf/files/2) could you give me the output for this command : shell$ file pdf/graphrrd/CLIENT/load.CLIENT-year.png[root at xymon-1 graphrrd]# file ./CLIENT/load.CLIENT-2week.png ./CLIENT/load.CLIENT-2week.png: PNG image data, 697 x 193, 8-bit/color RGBA, non-interlacedFor your information, here is mine : graphrrd/www01/cputil.www01-2day.png: PNG image data, 697 x 255, 8-bit/color RGBA, non-interlacedLooks quite similiar.Then, green circle you saw on second page, is generated with the values on the left. These values are calculated by the "master.sh" script. You should see in your "graphrrd" directory csv files. You can open csv to look at the values. If you have none, maybe something has changed in Xymon 4.3.x ? I'm using the following command to generate csv :Not sure about this, BUT if I point my browser at: http://xymon-1.example.com/pdf/graphrrd/CLIENT/load.CLIENT-2week.png It displays a beautiful graph generated using RRD. I am not sure why it is not displaying properly within the tcpdf report, perhaps a misconfiguration somewhere? (I've searched hard..)
list Wiskbroom
On another note, does anyone know how I can convert my companies logo (in JPEG format) to PNG? For some reason TCPDF does not show my company logo, but does work for the sample_logo.png.
Nevermind, used 'convert my_company_logo.jpg my_company_logo.png' and that worked like a charm. These reports look awesome. Thanks all! .v
list Wiskbroom
Hello; My bb-hosts file, and the includes that it uses, contain hosts which are sometimes required to be in UPPER-case characters. I've noticed that whenever I try to pull up a PDF for these, the graphs do not display. I was able to confirm that the PNG files are being created with the proper UPPER case names, but the reports are showing them in lowercase. (I.e., "Monitoring report client-1" instead of "Monitoring report CLIENT-1") Thank you, .vp
▸
On another note, does anyone know how I can convert my companies logo (in JPEG format) to PNG? For some reason TCPDF does not show my company logo, but does work for the sample_logo.png.Nevermind, used 'convert my_company_logo.jpg my_company_logo.png' and that worked like a charm. These reports look awesome. Thanks all! .v
list Thomas Séglard
Hi Vadim, first, I'm really happy that you got your graphs :) If I remember well, I've done this modification to remove the alpha-transparency layer which prevented graphs to show within reports !!! I will do a rollback and remove this part of the code. I will try to release a new version as soon as I can but I want to add additional pie charts on the second page before. Then for your case problem, that's normal. When you enter the name of a server into the field "Hostname" a conversion to lower-case is done. I made this decision to avoid errors when you type server names. You can change this behaviour by editing the file $PDFHOME/include/config.inc.php. Go to line 73 and comment : $srvname = strtolower(trim($nmsrv)) ; . Next, modify the line just before this one to replace the variable name : $nmsrv = $_POST['nom'] ; will become $srvname = $_POST['nom'] ; Please tell me if this is working for you and I will add a checkbox or configuration item somewhere :) It's a long time since I haven't worked on the reports. It's good to see that people are using them :) Thus, please feel free to give me some feedbacks or new ideas. Regards, Thomas Séglard
▸
user-ddebaeecde97@xymon.invalid a écrit :Hello; My bb-hosts file, and the includes that it uses, contain hosts which are sometimes required to be in UPPER-case characters. I've noticed that whenever I try to pull up a PDF for these, the graphs do not display. I was able to confirm that the PNG files are being created with the proper UPPER case names, but the reports are showing them in lowercase. (I.e., "Monitoring report client-1" instead of "Monitoring report CLIENT-1") Thank you, .vpOn another note, does anyone know how I can convert my companies logo (in JPEG format) to PNG? For some reason TCPDF does not show my company logo, but does work for the sample_logo.png.Nevermind, used 'convert my_company_logo.jpg my_company_logo.png' and that worked like a charm. These reports look awesome. Thanks all! .v
list Wiskbroom
Thomas;
▸
first, I'm really happy that you got your graphs :) If I remember well, I've done this modification to remove the alpha-transparency layer which prevented graphs to show within reports !!! I will do a rollback and remove this part of the code. I will try to release a new version as soon as
I can but I want to add additional pie charts on the second page
before.
Wow! I look forward to that! Same for the checkbox feature.
▸
Then for your case problem, that's normal. When you enter the name of a server into the field "Hostname" a conversion to lower-case is done. I made this decision to avoid errors when you type server names. You can change this behaviour by editing the file
$PDFHOME/include/config.inc.php. Go to line 73 and comment : $srvname =
strtolower(trim($nmsrv)) ; . Next, modify the line just before this one
to replace the variable name : $nmsrv = $_POST['nom'] ; will become
$srvname = $_POST['nom'] ;
Your changes worked, thank you very much.
▸
Please tell me if this is working for you and I will add a checkbox or configuration item somewhere :)
My vote would be in the configuration, since a site would either need it, or not, thus eliminating an additional checkbox to be selected. One checkbox that I can imagine being quite useful is the choice of either line graph, or pie chart.
▸
It's a long time since I haven't worked on the reports. It's good to see that people are using them :) Thus, please feel free to give me some feedbacks or new ideas.
Well, since you're asking ;-) Some questions: 1. What is the purpose for the first pie-chart titled "24x7 Availability" with the word "Tests" in an outlined box? 2. The only graphs I am displaying are "Daily graph for CPU load" and "Daily graph for memory utilization", "Daily graph for network traffic" and "Daily graph for CPU utilization" both show up as "No graph". Do they require some additional work; I've not gone so far as to read about custom graphs given my prior issues. This is an awesome addition to Xymon, one that gives it a more professional look and feel, thank you. .vadim