Installation nmidSmokeping PLUGIN
Moderators: Developers, Moderators
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
So besides the magnifying glas, there's no image shown, not even a broken image one ?
Can you check the html source of that page and look for an img tag which contains "getSmokePingImage.php" somewhere ?
Can you check the html source of that page and look for an img tag which contains "getSmokePingImage.php" somewhere ?
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
Re: Installation nmidSmokeping PLUGIN
Exactly! Yes I do see that tag:
<img src='plugins/nmidSmokeping/getSmokePingImage.php?start=1331459101&end=1331631901&target=Storage.FC-SW.FC-SW1&server=nmid_spserver1&graphtype=detail' border='0'>
This is what it looks like:
<img src='plugins/nmidSmokeping/getSmokePingImage.php?start=1331459101&end=1331631901&target=Storage.FC-SW.FC-SW1&server=nmid_spserver1&graphtype=detail' border='0'>
This is what it looks like:
- Attachments
-
- smoke.png (4.43 KiB) Viewed 2545 times
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
Ok,
Now go to this url:
... plugins/nmidSmokeping/getSmokePingImage.php?start=1331459101&end=1331631901&target=Storage.FC-SW.FC-SW1&server=nmid_spserver1&graphtype=detail&debug=1
It should provide you with some feedback.
If not, call the getSMokePingImage.php file using the CLI:
php getSMokePingImage.php
Now go to this url:
... plugins/nmidSmokeping/getSmokePingImage.php?start=1331459101&end=1331631901&target=Storage.FC-SW.FC-SW1&server=nmid_spserver1&graphtype=detail&debug=1
It should provide you with some feedback.
If not, call the getSMokePingImage.php file using the CLI:
php getSMokePingImage.php
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
Re: Installation nmidSmokeping PLUGIN
Sorry for those late replies
When I go to that URL I get "blablaURLblabla cannot be shown because it contains errors", maybe not the best translation but you get the point.
When I run php getSmokePing.php this is the result:
[Errors regarding timezones]
<html>
"A lot of text"
</html>
PHP Warning: Unknown: open(/var/lib/php/session/sess_h41dnpa57vt54q28grh77a7fk6, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
So a permission error, I could fix this myself. So when I run php getSmokePing.php I get no errors, but the error when going to that URL still persists.
When I go to that URL I get "blablaURLblabla cannot be shown because it contains errors", maybe not the best translation but you get the point.
When I run php getSmokePing.php this is the result:
[Errors regarding timezones]
<html>
"A lot of text"
</html>
PHP Warning: Unknown: open(/var/lib/php/session/sess_h41dnpa57vt54q28grh77a7fk6, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
So a permission error, I could fix this myself. So when I run php getSmokePing.php I get no errors, but the error when going to that URL still persists.
Re: Installation nmidSmokeping PLUGIN
Hi there,
i've the same behavior on my cacti install (0.8.8, nmidsmokeping 1.02).
Only the magnifying glas show up, and when i click on it, it's correctly linked to the right graph.
I've done debug on the img src link, and i've noticed that the image url is not correct (seems to be):
Image URL
http://sirius//smokeping/images/__navcache/133553123014442_1335529489_1335443089.png
How could i correct this?
i've the same behavior on my cacti install (0.8.8, nmidsmokeping 1.02).
Only the magnifying glas show up, and when i click on it, it's correctly linked to the right graph.
I've done debug on the img src link, and i've noticed that the image url is not correct (seems to be):
Image URL
http://sirius//smokeping/images/__navcache/133553123014442_1335529489_1335443089.png
How could i correct this?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
Is the smokeping graph actually showing up when using that link ( copy&paste into your browser ) ?
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
Re: Installation nmidSmokeping PLUGIN
Here's what i've got
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
can you send me the complete HTML source code ( save page as .. .html ) to support@urban-software.de ?
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
Re: Installation nmidSmokeping PLUGIN
Ok, i do that right now
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
We've been able to identify and solve this issue. In case you do have a similar issue ( graph does not show up ), please check the following:
- Are you on version 1.04 ? ( available here: http://redmine.nmid-plugins.de/projects ... ping/files )
- Does the URL to the graph contain the parameter "server=" ?
- Does this parameter contain anything ?
You should also remove and re-add that device to your smokeping using the drop down from the devices list ( "console" -> "devices" )
- Are you on version 1.04 ? ( available here: http://redmine.nmid-plugins.de/projects ... ping/files )
- Does the URL to the graph contain the parameter "server=" ?
- Does this parameter contain anything ?
You should also remove and re-add that device to your smokeping using the drop down from the devices list ( "console" -> "devices" )
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
Re: Installation nmidSmokeping PLUGIN
Hello Phalek!
I have tried to setup nmidSmokeping 1.04 with the latest version of cacti (0.8.8a, with the buildin plugin architecture),
cacti and smokeping (version 2.6. are working so far without problems.
Is the plugin already working with this version of cacti?
The problem is similar to earlier posts in this thread: the smokeping graph is not visible. I can only see the magnifying glas with link to smokeping, and this link is working fine.
In the apache error-log I can find the following message:
[Thu May 24 13:02:37 2012] [error] [client x.x.x.x] PHP Notice: Undefined index: debug in /var/www/html/cacti/plugins/nmidSmokeping/getSmokePingImage.php on line 10, referer: http://host.here.there/cacti/graph_view ... &leaf_id=8
When I open the link to the img source:
http://host.here.there/cacti/plugins/nm ... ype=detail
I get an image which contains just an error message:
"The image "URL...." cannot be displayed because it contains errors.
When I open the link with the debug-option:
http://host.here.there/cacti/plugins/nm ... il&debug=1
The result is a debug-page which contains also the response-str with the correct image from smokeping.
Do you have any ideas?
Thanks in advance!
Greetings,
tosch
I have tried to setup nmidSmokeping 1.04 with the latest version of cacti (0.8.8a, with the buildin plugin architecture),
cacti and smokeping (version 2.6. are working so far without problems.
Is the plugin already working with this version of cacti?
The problem is similar to earlier posts in this thread: the smokeping graph is not visible. I can only see the magnifying glas with link to smokeping, and this link is working fine.
In the apache error-log I can find the following message:
[Thu May 24 13:02:37 2012] [error] [client x.x.x.x] PHP Notice: Undefined index: debug in /var/www/html/cacti/plugins/nmidSmokeping/getSmokePingImage.php on line 10, referer: http://host.here.there/cacti/graph_view ... &leaf_id=8
When I open the link to the img source:
http://host.here.there/cacti/plugins/nm ... ype=detail
I get an image which contains just an error message:
"The image "URL...." cannot be displayed because it contains errors.
When I open the link with the debug-option:
http://host.here.there/cacti/plugins/nm ... il&debug=1
The result is a debug-page which contains also the response-str with the correct image from smokeping.
Do you have any ideas?
Thanks in advance!
Greetings,
tosch
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
hey I thought I did remove that !!
can you redit that PHP file and set somewhere at the top and re-check it ?
can you redit that PHP file and set
Code: Select all
$debug = false;
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
Re: Installation nmidSmokeping PLUGIN
$debug = false was already set in getSmokePingImage.php.
I just added the parameter "&debug=1" manually to the URL to see if there is any useful information.
I just added the parameter "&debug=1" manually to the URL to see if there is any useful information.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Installation nmidSmokeping PLUGIN
haha ... I forgot to remove a line:
Please remove that one and it should work
Code: Select all
$debug = $_REQUEST['debug'] || false;
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
Re: Installation nmidSmokeping PLUGIN
Ok, the line is removed, but still the same result. no smokeping graph in cacti.
Who is online
Users browsing this forum: No registered users and 0 guests