mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Merge branch 'patch-1' of github.com:JoomlaStats/contrib into JoomlaStats-patch-1
This commit is contained in:
commit
4be7859977
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue