2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge branch 'patch-1' of github.com:JoomlaStats/contrib into JoomlaStats-patch-1

This commit is contained in:
Stig Sandbeck Mathisen 2014-10-05 23:23:42 +02:00
commit 4be7859977

View File

@ -1,6 +1,6 @@
#!/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)
# Based on Rowdy Schwachfer (http://rowdy.nl) 's Spotweb plugin
@ -71,4 +71,4 @@ print "registered.value ".$1."\n";
#All count
my $all = `$MYSQL $MYSQLOPTS -e 'SELECT COUNT(usertype) FROM $DATABASE.jos_session'`;
$all =~/(\d+)/;
print "all.value ".$1."\n";
print "all.value ".$1."\n";