Projet

Général

Profil

Révision 09b88141

ID09b88141b34940d100df10b95b60206979e9df17
Parent 384d482f
Enfant 3a2f2ec7

Ajouté par Lars Kruse il y a environ 5 ans

Improve documantion of many plugins

Specifically the configuration examples are now indented properly.

Voir les différences:

plugins/newznab/nn_
6 6

  
7 7
nn_ - Munin plugin to display misc newznab stats.
8 8

  
9

  
9 10
=head1 CONFIGURATION
10 11

  
11 12
This script is used to generate data for several graphs. To generate
......
13 14
name like nn_<GRAPH> to this script.
14 15

  
15 16
To get a graph over numbers of users use nn_users
17

  
18

  
16 19
=head1 APPLICABLE SYSTEMS
17 20

  
18 21
Any MySQL platform, tested by the author on MySQL 5.1.29 and 5.0.51
19 22

  
23

  
20 24
=head1 CONFIGURATION
21 25

  
22 26
This script is used to generate data for several graphs. To generate
......
25 29

  
26 30
connection parameters - use this in your plugin configuration file.
27 31

  
28
[nn_*]
29
env.mysqlconnection DBI:mysql:<yourdatabase>;host=127.0.0.1;port=3306
30
env.mysqluser <user>
31
env.mysqlpassword <password>
32
 [nn_*]
33
 env.mysqlconnection DBI:mysql:<yourdatabase>;host=127.0.0.1;port=3306
34
 env.mysqluser <user>
35
 env.mysqlpassword <password>
32 36

  
33 37

  
34 38
=head1 DEPENDENCIES
......
39 43

  
40 44
=back
41 45

  
46

  
42 47
=head1 THANKS
48

  
43 49
A special thanks to Kjell-Magne Øierud for the mysql_ plugin in munin which
44 50
gave me the inspiration and reusable code to create this plugin.
45 51

  
52

  
46 53
=head1 LICENSE
47 54

  
48 55
Copyright (C) 2012 Jan Astrup (cryzeck@synIRC)
......
61 68
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
62 69
USA.
63 70

  
71
SPDX-License-Identifier: GPL-2.0-only
72

  
64 73
=cut
65 74

  
66 75
use warnings;

Formats disponibles : Unified diff