Projet

Général

Profil

Révision b4d9f328

IDb4d9f32859689658379b91a2ee114fd725bc0a06
Parent d79ab66b
Enfant fc43808f

Ajouté par Dave Fennell il y a presque 13 ans

Updated new pgbouncer plugins with license information and added MUNIN_CAP_DIRTYCONFIG support.

Voir les différences:

plugins/postgresql/pgbouncer_server_connections
8 8
# Created:
9 9
#    20th December 2012
10 10
#
11
# License:
12
#    GPL-2
13
#
11 14
# Usage:
12 15
#    Place in /etc/munin/plugins/ (or link it there using ln -s)
13 16
#
14
# Parameters:
15
#    config   (required)
16
#
17 17

  
18 18
dbserver='' # '-h localhost'
19 19
dbuser='postgres'
......
46 46
	        echo ${pool}.type GAUGE
47 47
	done
48 48

  
49
   exit 0
49
        # If dirty config capability is enabled then fall through
50
        # to output the data with the config information.
51
        if [ "$MUNIN_CAP_DIRTYCONFIG" = "" ]; then
52
                exit 0
53
        fi
50 54
fi
51 55

  
52 56
# Output looks like this:
......
63 67

  
64 68
	echo ${pool}.value ${total}
65 69
done
66

  

Formats disponibles : Unified diff