mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
jenkins_: Reformat status mapping for better readability
This commit is contained in:
parent
b78552673e
commit
cf88bc6c41
1 changed files with 12 additions and 1 deletions
|
@ -66,7 +66,18 @@ my $wgetBin = "/usr/bin/wget";
|
||||||
my $type = basename($0);
|
my $type = basename($0);
|
||||||
$type =~ s/jenkins_//;
|
$type =~ s/jenkins_//;
|
||||||
|
|
||||||
my %states = ('blue' =>'stable', 'blue_anime' =>'stable', 'yellow'=>'unstable', 'yellow_anime'=>'unstable', 'red'=>'failing', 'red_anime'=>'failing', 'disabled'=>'disabled', 'notbuilt_anime' =>'disabled', 'aborted'=>'failing', 'aborted_anime'=>'failing' );
|
my %states = (
|
||||||
|
'blue' =>'stable',
|
||||||
|
'blue_anime' =>'stable',
|
||||||
|
'yellow'=>'unstable',
|
||||||
|
'yellow_anime'=>'unstable',
|
||||||
|
'red'=>'failing',
|
||||||
|
'red_anime'=>'failing',
|
||||||
|
'disabled'=>'disabled',
|
||||||
|
'notbuilt_anime' =>'disabled',
|
||||||
|
'aborted'=>'failing',
|
||||||
|
'aborted_anime'=>'failing'
|
||||||
|
);
|
||||||
my %counts = ('blue' => 0, 'yellow'=>0, 'red'=>0, 'disabled'=>0);
|
my %counts = ('blue' => 0, 'yellow'=>0, 'red'=>0, 'disabled'=>0);
|
||||||
|
|
||||||
if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
if ( exists $ARGV[0] and $ARGV[0] eq "config" ) {
|
||||||
|
|
Loading…
Reference in a new issue