From eeec9c8cf54cb5fcbd08bdf790808a3853d5ab14 Mon Sep 17 00:00:00 2001 From: Bertrand Cournaud Date: Fri, 8 Jan 2016 10:02:18 +0100 Subject: [PATCH] Github: Add data in output (and not only in perfdata) --- apps/github/mode/stats.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/github/mode/stats.pm b/apps/github/mode/stats.pm index 55a559549..b47e042f6 100644 --- a/apps/github/mode/stats.pm +++ b/apps/github/mode/stats.pm @@ -91,7 +91,7 @@ sub run { my $stars = $webcontent->{watchers_count}; $self->{output}->output_add(severity => "OK", - short_msg => ""); + short_msg => sprintf("%d forks\n%d watchers\n%d stars", $forks, $watchers, $stars)); $self->{output}->perfdata_add(label => 'forks', value => $forks);