Révision 2cd43486
Update joomla-sessions
Just a small typo that may be confusing
| plugins/joomla/joomla-sessions | ||
|---|---|---|
| 1 | 1 |
#!/usr/bin/perl |
| 2 | 2 |
# |
| 3 |
# Munin plugin for different stats over a spotweb MySQL database
|
|
| 3 |
# Munin plugin for different stats over a Joomla MySQL database
|
|
| 4 | 4 |
# |
| 5 | 5 |
# Copyright (C) 2011 - Csaba Martha (http://www.zenebuzi.com) |
| 6 | 6 |
# Based on Rowdy Schwachfer (http://rowdy.nl) 's Spotweb plugin |
| ... | ... | |
| 71 | 71 |
#All count |
| 72 | 72 |
my $all = `$MYSQL $MYSQLOPTS -e 'SELECT COUNT(usertype) FROM $DATABASE.jos_session'`; |
| 73 | 73 |
$all =~/(\d+)/; |
| 74 |
print "all.value ".$1."\n"; |
|
| 74 |
print "all.value ".$1."\n"; |
|
Formats disponibles : Unified diff