NAME

nn_ - Munin plugin to display misc newznab stats.

CONFIGURATION

This script is used to generate data for several graphs. To generate data for one specific graph, you need to create a symbolic link with a name like nn_<GRAPH> to this script.

To get a graph over numbers of users use nn_users =head1 APPLICABLE SYSTEMS

Any MySQL platform, tested by the author on MySQL 5.1.29 and 5.0.51

CONFIGURATION

This script is used to generate data for several graphs. To generate data for one specific graph, you need to create a symbolic link with a name like nn_<GRAPH> to this script.

connection parameters - use this in your plugin configuration file.

[nn_*] env.mysqlconnection DBI:mysql:<yourdatabase>;host=127.0.0.1;port=3306 env.mysqluser <user> env.mysqlpassword <password>

DEPENDENCIES

DBD::mysql

THANKS A special thanks to Kjell-Magne Øierud for the mysql_ plugin in munin which gave me the inspiration and reusable code to create this plugin.

LICENSE

Copyright (C) 2012 Jan Astrup (cryzeck@synIRC)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.