Projet

Général

Profil

Révision f41b6861

IDf41b68619bee4bba1a908b36150db16d22468307
Parent ed77c82d
Enfant 58cbb4b6, 444c7939

Ajouté par dipohl il y a presque 9 ans

Category Tree: Reduce number of categories
monit -> munin
nova -> cloud (nova)
powermta -> mail (powermta)
redis -> search (redis) and system (redis)

Voir les différences:

plugins/redis/redis_
80 80
            my $maxclients= get_config("maxclients")->{"maxclients"};
81 81
            print "graph_title ${TITLE_PREFIX}Connected clients\n";
82 82
            print "graph_vlabel Connected clients\n";
83
            print "graph_category redis\n";
83
            print "graph_category search\n";
84 84
            print "graph_args -l 0\n";
85 85
            print "connected_clients.line $maxclients:ff0000:Limit\n";
86 86
            print "connected_clients.label connected clients\n";
......
95 95
        if ( $config ) {
96 96
            print "graph_title ${TITLE_PREFIX}Keys Per Second\n";
97 97
            print "graph_vlabel per \${graph_period}\n";
98
            print "graph_category redis\n";
98
            print "graph_category search\n";
99 99
            print "graph_args -l 0\n";
100 100
            print "hits.label hits\n";
101 101
            print "hits.type COUNTER\n";
......
118 118
        if ( $config ) {
119 119
            print "graph_title ${TITLE_PREFIX}Key Hit vs Miss Ratio\n";
120 120
            print "graph_vlabel per \${graph_period}\n";
121
            print "graph_category redis\n";
121
            print "graph_category search\n";
122 122
            print "graph_args -u 100 -l 0 -r --base 1000\n";
123 123
            print "hitratio.label hit ratio\n";
124 124
            print "hitratio.type GAUGE\n";
......
145 145
        if ( $config ) {
146 146
            print "graph_title ${TITLE_PREFIX}Per second\n";
147 147
            print "graph_vlabel per \${graph_period}\n";
148
            print "graph_category redis\n";
148
            print "graph_category search\n";
149 149
            print "graph_args -l 0\n";
150 150
            print "requests.label requests\n";
151 151
            print "requests.type COUNTER\n";
......
164 164
            my $maxmemory = get_config("maxmemory")->{"maxmemory"};
165 165
            print "graph_title ${TITLE_PREFIX}Used memory\n";
166 166
            print "graph_vlabel Used memory\n";
167
            print "graph_category redis\n";
167
            print "graph_category search\n";
168 168
            print "graph_args -l 0 --base 1024\n";
169 169
            print "used_memory.line $maxmemory:ff0000:Limit\n";
170 170
            print "used_memory.label used memory\n";
......
189 189
        if ( $config ) {
190 190
            print "graph_title ${TITLE_PREFIX}Used keys\n";
191 191
            print "graph_vlabel Used keys\n";
192
            print "graph_category redis\n";
192
            print "graph_category search\n";
193 193
            print "graph_args -l 0\n";
194 194

  
195 195
            foreach my $db (keys %{$dbs}) {

Formats disponibles : Unified diff