Needs review
Project:
Cacti Integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 Jul 2010 at 06:00 UTC
Updated:
23 Sep 2010 at 00:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
raintonr commentedPlease find enclosed a patch to create hook_cacti_stats.
I've modified the userstats statistic to be created using this hook, and also added another example stat (nodestats) which tracks thread and comment posts.
This all works perfectly for me, but needs review/committing.
Comment #2
raintonr commentedSomehow that last attachment failed so trying again...
Comment #3
raintonr commentedSomething is wrong with attachments right now, as the patch is small, here it is:
Comment #4
rjbrown99 commentedThanks! I'll have a look this weekend and will roll it on up assuming it looks good. I set this issue as a placeholder and didn't expect a patch so this is a welcome addition :)
On another note, there is an important limitation I need to put in the README with the existing anonymous vs. authenticated user graph. If using Pressflow and not setting a cookie for anonymous, it can't graph them because they don't show up in the database as an active session. It still works to graph authenticated users, and should still work properly to graph both for the Drupal codebase.