2 # Parameters understood:
5 # autoconf (optional - used by munin-config)
7 # Magic markers - optional - used by installation scripts and
11 #%# capabilities=autoconf
14 my $q = "analysis:jobqueue:q";
16 my $redis = Redis
->new;
18 if ($ARGV[0] eq "autoconf"){
29 if ( $ARGV[0] eq "config" ){
31 graph_title jobs in the queue
35 graph_info Show number of jobs in Redis $q
36 graph_category cpantesters
52 my $cnt = $redis->zcard($q);
53 printf "%s.value %d\n", $c, $cnt;
59 # cperl-indent-level: 4
60 # indent-tabs-mode: nil
62 # vim:sw=4:ts=8:sta:et