mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
Github: Add data in output (and not only in perfdata)
This commit is contained in:
parent
9e9bf0402c
commit
79c7312b91
@ -91,7 +91,7 @@ sub run {
|
|||||||
my $stars = $webcontent->{watchers_count};
|
my $stars = $webcontent->{watchers_count};
|
||||||
|
|
||||||
$self->{output}->output_add(severity => "OK",
|
$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',
|
$self->{output}->perfdata_add(label => 'forks',
|
||||||
value => $forks);
|
value => $forks);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user