Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Jul 19, 2019 3:50 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Smokping + problem in view charts
PostPosted: Mon Mar 12, 2018 5:50 am 
Offline

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

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

chart is not showing..
Attachment:
cacti_plugin2.JPG
cacti_plugin2.JPG [ 30.78 KiB | Viewed 469 times ]


Attachment:
cacti_ping.JPG
cacti_ping.JPG [ 87.85 KiB | Viewed 469 times ]


anyone can help me with this ?


Top
 Profile  
 
 Post subject: Re: Smokping + problem in view charts
PostPosted: Tue Mar 13, 2018 8:44 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 794
Just use external links.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Smokping + problem in view charts
PostPosted: Wed Mar 14, 2018 3:25 am 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2600
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.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: Smokping + problem in view charts
PostPosted: Wed Mar 14, 2018 3:36 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
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:
http://cactiserver/plugin/nmidsmokeping/getSmokePingImage.php?start=12312313&end=137423424&target=asd.qweq.asd


and should be this to enable debugging:
Code:
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:
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


Top
 Profile  
 
 Post subject: Re: Smokping + problem in view charts
PostPosted: Wed Mar 14, 2018 6:00 am 
Offline

Joined: Wed Jun 28, 2017 8:37 am
Posts: 15
url of broken image
Code:
https://cactiserver/plugins/nmidSmokeping/getSmokePingImage.php?start=1520937988&end=1521024388&target=XXXXX&server=nmid_spserver1&graphtype=overview


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



Attachment:
cacti3.JPG
cacti3.JPG [ 33.27 KiB | Viewed 434 times ]


Top
 Profile  
 
 Post subject: Re: Smokping + problem in view charts
PostPosted: Wed Mar 14, 2018 6:55 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
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:
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group