Smokping + problem in view charts

General discussion about Plugins for Cacti

Moderators: Moderators, Developers

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

Smokping + problem in view charts

#1 Post by azim » Mon Mar 12, 2018 5:50 am

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 532 times
cacti_ping.JPG
cacti_ping.JPG (87.85 KiB) Viewed 532 times
anyone can help me with this ?

User avatar
Osiris
Cacti Pro User
Posts: 863
Joined: Mon Jan 05, 2015 10:10 am

Re: Smokping + problem in view charts

#2 Post by Osiris » Tue Mar 13, 2018 8:44 pm

Just use external links.
Before history, there was a paradise, now dust.

netniV
Cacti Guru User
Posts: 2885
Joined: Sun Aug 27, 2017 12:05 am

Re: Smokping + problem in view charts

#3 Post by netniV » Wed Mar 14, 2018 3:25 am

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.

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokping + problem in view charts

#4 Post by phalek » Wed Mar 14, 2018 3:36 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

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

Re: Smokping + problem in view charts

#5 Post by azim » Wed Mar 14, 2018 6:00 am

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 497 times

User avatar
phalek
Cacti Guru User
Posts: 2711
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Smokping + problem in view charts

#6 Post by phalek » Wed Mar 14, 2018 6:55 am

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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

Post Reply