CereusReporting - PDF Reports - 4.00 for Cacti 1.x out soon!
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
oh, and please try the mpdf engine to see if the error exists there, too.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Please also use the mailing list for the nmid plugins:
http://mailman.network-outsourcing.de/m ... id-plugins
http://mailman.network-outsourcing.de/m ... id-plugins
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
This is the last message posted here. As per you suggestion any new messages will go to the mailing list
Thanks
Phalek:
The warning and errors are gone, the graphs are being added to the reports, but the generated PDF still contains the same error.. Also when I install the plug-in I get this warnings
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Then It goes away when I enable
Thanks
Phalek:
The warning and errors are gone, the graphs are being added to the reports, but the generated PDF still contains the same error.. Also when I install the plug-in I get this warnings
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Warning: Invalid argument supplied for foreach() in G:\cacti\lib\plugins.php on line 128
Then It goes away when I enable
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Hi
There seems to be an issue with the paper orientation using both report engines under windows. I was able to reproduce this error and will work towards a solution the next few days.
This error does not happen on *NIX based installations.
There seems to be an issue with the paper orientation using both report engines under windows. I was able to reproduce this error and will work towards a solution the next few days.
This error does not happen on *NIX based installations.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
v0.82 is out fixing several of the windows issues. It also now supports parallel graph rertieval in order to speed up the report generation.
Cron scheduling will be released shortly in order to remove dependancies on the polling cycle and to reduce possible impacts on the polling.
Cron scheduling will be released shortly in order to remove dependancies on the polling cycle and to reduce possible impacts on the polling.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
0.83 will be released shortly. It has the possibility to use cron ( *nix ) or Windows Scheduler for scheduling the Report Generation.
Also graph retrieval is now multi-threaded in order to reduce report generation time.
Also graph retrieval is now multi-threaded in order to reduce report generation time.
- Attachments
-
- 28.01.png (9.27 KiB) Viewed 2906 times
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Hi Phalek,
End of january, our cacti installation stop to work (30th january at midnight), even cacti spine poller.
Looking at httpd error log at first, I've seen tthis error message:
PHP Fatal error: SourceGuardian Loader - This script has expired. Please contact the script author about this problem. Error code [09] in ......./functions.php on line 2
But we had nmidCreatePDF_v0.71_Free_full.tgz.
The question: why this error message (like a licence problem) knowing we use the free version which is supposed to not cause any problem like that ? Is it normal that a potential licence problem of the free version completely blocks cacti, even the poller (no data since 30th january midnight) ?
Then I've installed nmidCreatePDF_0.82_Corporate_full.tgz.
This one seems to work without any licence problem for now.
Any help to address those issues, please ?
Regards.
End of january, our cacti installation stop to work (30th january at midnight), even cacti spine poller.
Looking at httpd error log at first, I've seen tthis error message:
PHP Fatal error: SourceGuardian Loader - This script has expired. Please contact the script author about this problem. Error code [09] in ......./functions.php on line 2
But we had nmidCreatePDF_v0.71_Free_full.tgz.
The question: why this error message (like a licence problem) knowing we use the free version which is supposed to not cause any problem like that ? Is it normal that a potential licence problem of the free version completely blocks cacti, even the poller (no data since 30th january midnight) ?
Then I've installed nmidCreatePDF_0.82_Corporate_full.tgz.
This one seems to work without any licence problem for now.
Any help to address those issues, please ?
Regards.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
the free version of 0.71 should have included an unlimited license, so there must have been an error on my side.
Unfortunately, PIA is always reading in all setup.php files from the plugins. As the license key expired on the nmidCreatePDF plugin this means, that PIA stops at exactly that point. This results in the whole of cacti installation to stop working ...
Unfortunately, PIA is always reading in all setup.php files from the plugins. As the license key expired on the nmidCreatePDF plugin this means, that PIA stops at exactly that point. This results in the whole of cacti installation to stop working ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I have removed the 0.7 versions now. Please use 0.82. It comes with an unlimited license key which enables the free version functionality.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
0.83 will have a "License about to expire" warning message appear when the license key is about to expire within the next 5 days. Also the expiry date is now displayed in the settings page.
- Attachments
-
- License_expires.png (27.08 KiB) Viewed 2791 times
-
- LicenseExpiry_Settings.png (3.75 KiB) Viewed 2791 times
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Hi ...... After testing NmidPDFReport for about a week, I have to say that is working great.... my next step was to start including Smokeping graphs into my the reports.... , but When I try to placed the modify NmidSmokeping from you site into plugins directory i get an error as soon as I start running cacti.....phalek wrote:0.83 will be released shortly. It has the possibility to use cron ( *nix ) or Windows Scheduler for scheduling the Report Generation.
Also graph retrieval is now multi-threaded in order to reduce report generation time.
and this are the affected linesWarning: require_once(./lib/tree.php) [function.require-once.html]: failed to open stream: No such file or directory in G:\cacti\plugins\nmidSmokeping\setup.php on line 25
Fatal error: require_once() [function.require.html]: Failed opening required './lib/tree.php' (include_path='.;C:\PHP\pear;c:\php\includes;.') in G:\cacti\plugins\nmidSmokeping\setup.php on line 25
PHP Warning: require_once(./lib/tree.php) [function.require-once.html]: failed to open stream: No such file or directory in G:\cacti\plugins\nmidSmokeping\setup.php on line 25 PHP Fatal error: require_once() [function.require.html]: Failed opening required './lib/tree.php' (include_path='.;C:\PHP\pear;c:\php\includes;.') in G:\cacti\plugins\nmidSmokeping\setup.php on line 25
Code: Select all
$dir = dirname(__FILE__);
if ( stristr( PHP_OS, 'WIN' ) ) {
Windows
$mainDir = preg_replace("/plugins\\nmidSmokeping/","",$dir);
} else {
Other Os
$mainDir = preg_replace("/plugins\/nmidSmokeping/","",$dir);
}
chdir ($mainDir);
require_once('./lib/tree.php');
chdir($dir);
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
ha, one file I obviously did forget to change .. sorry
Those lines should read:
Those lines should read:
Code: Select all
if ( preg_match("/WIN/", PHP_OS ) > 0 ) {
// Windows
$mainDir = preg_replace("/plugins.nmidSmokeping/","",$dir);
} else {
// Other Os
$mainDir = preg_replace("/plugins\/nmidSmokeping/","",$dir);
}
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
obviously with a "nmidSmokeping" instead of the nmidCreatePDF ... ( hence the edit to my previous post )
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
When I added This Lines
...now I get this and cacti does not run
I do not want to sound melodramatic, but I just realized that the lines crashed cacti...I've got sql errors everywhere.....Now that I have removed them cacti is running fine
Thanks
Code: Select all
$dir = dirname(__FILE__);
if ( preg_match("/WIN/", PHP_OS ) > 0 ) {
// Windows
$mainDir = preg_replace("/plugins.nmidSmokeping/","",$dir);
} else {
// Other Os
$mainDir = preg_replace("/plugins\/nmidSmokeping/","",$dir);
}
chdir ($mainDir);
require_once('./lib/tree.php');
chdir($dir);
...now I get this and cacti does not run
Code: Select all
Warning: include(./auth_login.php) [function.include.html]: failed to open stream: No such file or directory in G:\cacti\include\auth.php on line 61
Warning: include() [function.include.html]: Failed opening './auth_login.php' for inclusion (include_path='.;C:\PHP\pear;c:\php\includes;.') in G:\cacti\include\auth.php on line 61
PHP Warning: include(./auth_login.php) [function.include.html]: failed to open stream: No such file or directory in G:\cacti\include\auth.php on line 61 PHP Warning: include() [function.include.html]: Failed opening './auth_login.php' for inclusion (include_path='.;C:\PHP\pear;c:\php\includes;.') in G:\cacti\include\auth.php on line 61
Thanks
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
here's how it should look like:
Code: Select all
$dir = dirname(__FILE__);
if ( preg_match("/WIN/", PHP_OS ) > 0 ) {
// Windows
$mainDir = preg_replace("/plugins.nmidSmokeping/","",$dir);
} else {
// Other Os
$mainDir = preg_replace("/plugins\/nmidSmokeping/","",$dir);
}
chdir ($mainDir);
require_once('./lib/tree.php');
//chdir($dir);
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Who is online
Users browsing this forum: No registered users and 0 guests