1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

Update joomla-sessions

Just a small typo that may be confusing
This commit is contained in:
JoomlaStats 2014-10-05 01:19:22 +02:00
parent 613ba240a5
commit 2cd434860c

View file

@ -1,6 +1,6 @@
#!/usr/bin/perl #!/usr/bin/perl
# #
# Munin plugin for different stats over a spotweb MySQL database # Munin plugin for different stats over a Joomla MySQL database
# #
# Copyright (C) 2011 - Csaba Martha (http://www.zenebuzi.com) # Copyright (C) 2011 - Csaba Martha (http://www.zenebuzi.com)
# Based on Rowdy Schwachfer (http://rowdy.nl) 's Spotweb plugin # Based on Rowdy Schwachfer (http://rowdy.nl) 's Spotweb plugin
@ -71,4 +71,4 @@ print "registered.value ".$1."\n";
#All count #All count
my $all = `$MYSQL $MYSQLOPTS -e 'SELECT COUNT(usertype) FROM $DATABASE.jos_session'`; my $all = `$MYSQL $MYSQLOPTS -e 'SELECT COUNT(usertype) FROM $DATABASE.jos_session'`;
$all =~/(\d+)/; $all =~/(\d+)/;
print "all.value ".$1."\n"; print "all.value ".$1."\n";