1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-26 02:48:28 +00:00

Initial version

This commit is contained in:
var Arnfjr Bjarmason 2010-01-04 18:10:02 +01:00 committed by Steve Schnepp
parent 9a168e7836
commit 5dd3e258e6

21
plugins/other/cpanp_o Executable file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env perl
use Modern::Perl;
given ($ARGV[0]) {
when ("config") {
print <<END;
graph_title CPAN modules not up to date
graph_args --base 1000 -l 0
graph_vlabel modules
graph_category CPAN
graph_info The number of installed CPAN modules that aren't up to date
count.label modules
count.type GAUGE
count.info The number of CPAN modules that aren't up to date
END
}
default {
my $num = () = qx[cpanp -o];
say "count.value $num";
}
}