Great module. I was able to get the content statistics to work but had issues with "Currently logged in user" stats. After a bit of digging around I discovered that the type for the "curuser" variable was set to 'GAUGE ' instead of 'GAUGE' - note the trailing whitespace on the first one. For me at least this caused the errors bellow which prevented the graph from being generated.
munin-update.log "/var/lib/munin/domain.com/site.com-drupal_users-curuser-g.rrd": Invalid DS type
munin-update.log Unable to update /var/lib/munin/domain.com/site.com-drupal_users-curuser-g.rrd: opening '/var/lib/munin/domain.com/site.com-drupal_users-curuser-g.rrd': No such file or directory
My Drupal site runs on Debian Lenny which uses Munin Version: 1.2.6-10~lenny2 which is quite old so its possible future version of Munin strip off trailing whitespace so this issue doesn't happen.
I've attached a patch in case anyone else runs into this issue.
Cheers
Colin
| Comment | File | Size | Author |
|---|---|---|---|
| munin.user_.patch | 550 bytes | colin49 |
Comments
Comment #1
geerlingguy commentedCorrecting this single typo fixed the bug for me, too.
I am running the latest munin-node on CentOS 5.5 with the EPEL repo, so I don't think it's munin's fault. My graphs were showing as missing (the content statistics were updating, but not the user statistics).
Comment #2
ywarnier commentedHi there,
I'm not sure up to which point this might be useful, but I recently submitted a Drush patch to add reports on the number of users created, logged-in and visiting the site (anonymous), patch which got rejected (pointing me towards your project). As I see you recently developed a combination with Drush, maybe this can be of some help, somehow.
The patch is located here: http://drupal.org/node/1164944
With the patch, Drush reacts to "drush ur o" (as in "drush user-report online") and returns the number of users currently looking at the site.
Comment #3
Alex Savin commentedShould be fixed in 6.x-1.1.