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:
/root/functions.php ??
wow ... I wonder why that one was called/included ... need to check my sources ..
Did the php error log tell this ?
wow ... I wonder why that one was called/included ... need to check my sources ..
Did the php error log tell this ?
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:
ahh, didn't read that one
My guess is that one of the php files is including a functions.php file without putting the correct directory of that file, hence it gets included.
It's probably some left-over of a test/previous install or whatsoever.
For the plugin install. global.php is bein used for pre-PIA 2.x plugins.
nmidCreatePDF is Pia 2.x compliant and does not need to be included in the global.php file
My guess is that one of the php files is including a functions.php file without putting the correct directory of that file, hence it gets included.
It's probably some left-over of a test/previous install or whatsoever.
For the plugin install. global.php is bein used for pre-PIA 2.x plugins.
nmidCreatePDF is Pia 2.x compliant and does not need to be included in the global.php file
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
Can't find getSmokePingPath.pl
Hi
First of all, thank you for providing such a nice tool, it is is definitely a must have.
I'm running on CentOS 5, installed cacti 0.8.7f and Oetiker's smokeping 2.4.2.
I downloaded and installed nmidSmokePing 0.3.9a to create smokeping grahs within cacti.
All along those installations, I ran into some problems that I always managed to solve somehow.
But I'm stuck on this one : I can't find the getSmokePingPath.pl file.
When clicking on a host associated with a smokeping graph, I get this message from apache error_log :
I haven't found anything about it in the documentation or in the forum, Google doesn't give me much. However, somewhere in the forum Phalek said that the file is included in the 129 build, but I just can't find it
Any idea ?
Feel free to ask if you need specific details.
Thank you in advance
First of all, thank you for providing such a nice tool, it is is definitely a must have.
I'm running on CentOS 5, installed cacti 0.8.7f and Oetiker's smokeping 2.4.2.
I downloaded and installed nmidSmokePing 0.3.9a to create smokeping grahs within cacti.
All along those installations, I ran into some problems that I always managed to solve somehow.
But I'm stuck on this one : I can't find the getSmokePingPath.pl file.
When clicking on a host associated with a smokeping graph, I get this message from apache error_log :
Code: Select all
[Thu Jul 01 13:13:58 2010] [error] [client xx.xx.xx.xx] script not found or unable to stat: /var/www/cgi-bin/getSmokePingPath.pl, referer: http://yy.yy.yy.yy/cacti/graph_view.php?action=tree&tree_id=12&leaf_id=80
Code: Select all
[root@yy.yy.yy.yy cacti]# ll plugins/nmidSmokeping/
total 32
-rw-r--r-- 1 1000 users 44 jun 29 2009 index.php
-rw-r--r-- 1 1000 users 27894 aug 25 2009 setup.php
Feel free to ask if you need specific details.
Thank you in advance
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Yeah, install is quite a journey
I uploaded the file here:
http://redmine.nmid-plugins.de/projects ... ping/files
depending on which nmidWebService plugin you have, you will need to change the URL in the file to fit your needs. The url with "webservice_re.php" in it is for the > 0.8 Versions.
And it seems like I must have silently removed that file without even knowing it ...
I uploaded the file here:
http://redmine.nmid-plugins.de/projects ... ping/files
depending on which nmidWebService plugin you have, you will need to change the URL in the file to fit your needs. The url with "webservice_re.php" in it is for the > 0.8 Versions.
And it seems like I must have silently removed that file without even knowing it ...
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,
I am now able to see the smoking graphs from the cacti tree, but only those who have similar entries in the smokeping config file.
I tried setting the same config file smokeping uses in nmidsmokeping's setup.php before reinstalling, but it just overwrites (fwrite) smokeping config file leaving it invalid (no header). I guess append the file wouldn't work either since it would generate duplicate entries in the config file... maybe a more complex method?
Is there a way for cacti to only modify the target section of the config file ?
If not, how could smokeping take into account new/updated entries in the nmidsmokeping's config file and modify its trees accordingly ?
Thanx
I am now able to see the smoking graphs from the cacti tree, but only those who have similar entries in the smokeping config file.
I tried setting the same config file smokeping uses in nmidsmokeping's setup.php before reinstalling, but it just overwrites (fwrite) smokeping config file leaving it invalid (no header). I guess append the file wouldn't work either since it would generate duplicate entries in the config file... maybe a more complex method?
Is there a way for cacti to only modify the target section of the config file ?
If not, how could smokeping take into account new/updated entries in the nmidsmokeping's config file and modify its trees accordingly ?
Thanx
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
It's by desing that the nmidSmokePing plugin pny creates the target section.
The idea behind that is that you have two files, one lets say "smokeping.header" and the one created by nmidSmokeping ( i think called smokeping_nmid_spserver1_config.txt). You simply need to combine those two files.
There's an example of this in the nmid thread look here at the second post from me : http://forums.cacti.net/viewtopic.php?t ... &start=255
The idea behind that is that you have two files, one lets say "smokeping.header" and the one created by nmidSmokeping ( i think called smokeping_nmid_spserver1_config.txt). You simply need to combine those two files.
There's an example of this in the nmid thread look here at the second post from me : http://forums.cacti.net/viewtopic.php?t ... &start=255
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:
The purpose of that script is to generate the target section of the smokeping config. getGraph.pl is just an add-on for displaying cacti graphs in other tools (e.g a portal) the getSmokePingGraph.pl file is the one responsible for displaying the graphs within cacti.
Last edited by phalek on Mon Jul 05, 2010 7:49 am, edited 1 time in total.
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
After install NMID PDF CACTI went down
HI:
After I installed NMIDcreatePDF 0.84, my windows CACTI went Down (http 500 error), so I cannot uinstalled using graphic mode. when I see the php_error.log i got:
[07-Jul-2010 13:30:00] PHP Fatal error: SourceGuardian Loader - script header is broken [10] in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\functions.php on line 2.
so, is there any way to uninstall this plugin using command line?, my CACTI is 0.8.7d and is on windows server 2003 . Please is urgent!.
Regards
Jose
After I installed NMIDcreatePDF 0.84, my windows CACTI went Down (http 500 error), so I cannot uinstalled using graphic mode. when I see the php_error.log i got:
[07-Jul-2010 13:30:00] PHP Fatal error: SourceGuardian Loader - script header is broken [10] in C:\Inetpub\wwwroot\cacti\plugins\nmidCreatePDF\functions.php on line 2.
so, is there any way to uninstall this plugin using command line?, my CACTI is 0.8.7d and is on windows server 2003 . Please is urgent!.
Regards
Jose
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Just delete the nmidcreatepdf folder in the plunging 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