Smokping + problem in view charts

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
azim
Posts: 15
Joined: Wed Jun 28, 2017 8:37 am

Smokping + problem in view charts

Post by azim »

Hey,

plugin is working, but i have problem in view charts in cacti tree.

chart is not showing..
cacti_plugin2.JPG
cacti_plugin2.JPG (30.78 KiB) Viewed 1232 times
cacti_ping.JPG
cacti_ping.JPG (87.85 KiB) Viewed 1232 times
anyone can help me with this ?
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Smokping + problem in view charts

Post by Osiris »

Just use external links.
Before history, there was a paradise, now dust.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Smokping + problem in view charts

Post by netniV »

If I'm not mistaken, that doesn't directly apply here since I think there is supported to be a new link in the breadcrumbs next to a graph, sort of like what THold does. However, as Smokeping is Phalek's I believe he'd be best to answer that.
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokping + problem in view charts

Post by phalek »

Thanks for notifying me :-)

azim, can you right-click on the "broken image", copy the URL ( in Firefox "Copy Image Location" ) and paste it in your browser. Then add a "&debug=1" to the url.

Hit enter and you should see some more error reporting on the underlying issue.

The link should look something like this:

Code: Select all

http://cactiserver/plugin/nmidsmokeping/getSmokePingImage.php?start=12312313&end=137423424&target=asd.qweq.asd
and should be this to enable debugging:

Code: Select all

http://cactiserver/plugin/nmidsmokeping/getSmokePingImage.php?start=12312313&end=137423424&target=asd.qweq.asd&debug=1
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
azim
Posts: 15
Joined: Wed Jun 28, 2017 8:37 am

Re: Smokping + problem in view charts

Post by azim »

url of broken image

Code: Select all

https://cactiserver/plugins/nmidSmokeping/getSmokePingImage.php?start=1520937988&end=1521024388&target=XXXXX&server=nmid_spserver1&graphtype=overview
and with debug:

Code: Select all

https://cactiserverl/plugins/nmidSmokeping/getSmokePingImage.php?start=1520937988&end=1521024388&target=XXXXX&server=nmid_spserver1&graphtype=overview&debug=1
cacti3.JPG
cacti3.JPG (33.27 KiB) Viewed 1197 times
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokping + problem in view charts

Post by phalek »

Hm. Ok. My guess is that it's not working with https ...

Can you also check your php error log ?

You can enable it with uncommenting the "error_log = syslog" line in php.ini and restarting http afterwards. Then you will see php errors showing up in your syslog.
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest