Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jun 27, 2017 12:16 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject:
PostPosted: Mon Nov 12, 2007 4:15 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Oh damn me, should keep my eyes open when posting ...
Sorry, will have to tackle it later this week
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 16, 2007 11:13 am 
Offline

Joined: Wed Feb 21, 2007 10:26 am
Posts: 17
I change the include on pollperf_parse.php and it is working.

Before
include_once("./include/config.php");

Changed to
include(dirname(__FILE__) . "/../../include/global.php");


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 16, 2007 5:03 pm 
Offline
Cacti User

Joined: Sun Dec 18, 2005 9:30 am
Posts: 83
I'm not 100% sure about this...but it looks like pollperf and tools plugins are using the same realm id [8]


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 20, 2007 3:28 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Will verify both issues tomorrow.
Thanks for the pointers
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 4:36 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
noflies wrote:
I'm not 100% sure about this...but it looks like pollperf and tools plugins are using the same realm id [8]
This is correct. I will have to ask Jimmy for a new Realm Id.
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 23, 2007 4:37 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
changsung wrote:
I change the include on pollperf_parse.php and it is working.

Before
include_once("./include/config.php");

Changed to
include(dirname(__FILE__) . "/../../include/global.php");
Next goal is to introduce 087(a) compatibility. Until that time, your workaround is ok
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 09, 2008 6:10 am 
Offline

Joined: Wed Aug 29, 2007 5:49 am
Posts: 4
Hi.
I'm using pollperf plugin on my system from time to time, as it inflates my cacti.log way too much for my taste.

Before I dig deeper into this, I was wondering if we couldn't get performance data directly from the poller_ouput table rather than parsing cacti.log ?

I'd think it would be faster to do that directly rather than parsing an ever growing log file... beside the fact that DEBUG level is... well ... realy verbose ...

On a related note, does anyone know how hard it would be to add this performance information directly at the poller level : it knows for sure the time spent on geting data for a DS, so it could add this info in a new column in poller_output ? what would be the implications ?

Thanks

Ghoz


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 09, 2008 3:42 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
You're absolutely correct. It's an awful workaround. Data should be provided by the polling process. Unfortunately, this would have to be implemented both for cmd.php and for spine. So, as many other good ideas, it's waiting for someone to implement it
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 2:02 pm 
Offline
Cacti User
User avatar

Joined: Tue Jan 06, 2004 7:47 pm
Posts: 204
Location: US-Dallas, TX
changsung wrote:
I change the include on pollperf_parse.php and it is working.

Before
include_once("./include/config.php");

Changed to
include(dirname(__FILE__) . "/../../include/global.php");


This is the only change needed to get it working with 0.8.7a?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 16, 2008 4:51 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Not yet verified on my own, but very likely that this is the only one
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 05, 2008 11:13 pm 
Offline
User avatar

Joined: Tue Oct 24, 2006 4:19 pm
Posts: 38
Location: Dallas, TX
Does this work with 0.8.7b, PA 2.0 and Spine? ... nm, it works great!

_________________
dune
Cacti v0.8.7b/Spine v0.8.7c-beta2 (PA 2.1, Settings 0.5, THold 0.3.9) on Server 2003 SP2/IIS 6.0/PHP5/MySQL 5.0.45


Top
 Profile  
 
 Post subject: Re: Poller Performance Plugin, now at V0.32
PostPosted: Wed Jun 13, 2012 2:10 am 
Offline

Joined: Tue Feb 14, 2012 1:06 am
Posts: 13
Hi Performance Plugin gurus :)

Plugin doesn't seem to work on 0.8.8a. Is this known, or am I having another problem?

Posted under Plugins:General: Poller Performance Plugin

Thx for your help.

Rgds,

Harald


Top
 Profile  
 
 Post subject: Re: Poller Performance Plugin, now at V0.32
PostPosted: Thu Sep 20, 2012 8:08 am 
Offline

Joined: Thu Sep 20, 2012 8:00 am
Posts: 9
Its not working for me either on 088a, any ideas? I did the modification a page back in this thread.

09/20/2012 01:06:00 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT host.id, host.disabled, host.status, host.hostname, host.description, plugin_pollperf_data.lstart, plugin_pollperf_data.lend, plugin_pollperf_data.ds_count, plugin_pollperf_data.diff, plugin_pollperf_data.rate, plugin_pollperf_data.ds_per_run, plugin_pollperf_data.dur_per_run FROM host LEFT JOIN plugin_pollperf_data ON (host.id = plugin_pollperf_data.id) WHERE (host.hostname LIKE '%%%%' OR host.description LIKE '%%%%') ORDER BY description ASC LIMIT 0,100"
09/20/2012 01:06:00 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"select COUNT(host.id) FROM host LEFT JOIN plugin_pollperf_data ON (host.id = plugin_pollperf_data.id) WHERE (host.hostname LIKE '%%%%' OR host.description LIKE '%%%%')"
09/20/2012 01:04:34 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1146', SQL:"SELECT host.id, host.disabled, host.status, host.hostname, host.description, plugin_pollperf_data.lstart, plugin_pollperf_data.lend, plugin_pollperf_data.ds_count, plugin_pollperf_data.diff, plugin_pollperf_data.rate, plugin_pollperf_data.ds_per_run, plugin_pollperf_data.dur_per_run FROM host LEFT JOIN plugin_pollperf_data ON (host.id = plugin_pollperf_data.id) WHERE (host.hostname LIKE '%%%%' OR host.description LIKE '%%%%') ORDER BY description ASC LIMIT 0,100"
09/20/2012 01:04:34 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1146', SQL:"select COUNT(host.id) FROM host LEFT JOIN plugin_pollperf_data ON (host.id = plugin_pollperf_data.id) WHERE (host.hostname LIKE '%%%%' OR host.description LIKE '%%%%')"


Top
 Profile  
 
 Post subject: Re: Poller Performance Plugin, now at V0.32
PostPosted: Thu Sep 20, 2012 8:37 am 
Offline

Joined: Thu Sep 20, 2012 8:00 am
Posts: 9
Update: It isn't running automatically, but when I run pollperf_parse.php it does populate the statistics properly. I consider this an acceptable workaround for now, but if someone has an idea on how to fix it let me know.


Top
 Profile  
 
 Post subject: Re: [withdrawn] Poller Performance Plugin, now at V0.32
PostPosted: Sat Sep 22, 2012 3:52 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
I do not enourage anybody to use this one any longer.
We will introduce a poller performance counter per host with next upcoming release. I have a patch at hand (for both the php code and spine) that implements a backport of this feature.
Users are encouraged to use spine --verbosity=3 to get performance data per host printed to cacti.log.
R.

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 46 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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