Skip to content

Commit

Permalink
fix(mbi): add option --no-purge in script (develop) (#594)
Browse files Browse the repository at this point in the history
Co-authored-by: garnier-quentin <garnier.quentin@gmail.com>
Co-authored-by: Stéphane Chapron <34628915+sc979@users.noreply.github.com>
Co-authored-by: Laurent Pinsivy <lpinsivy@centreon.com>
  • Loading branch information
4 people authored Mar 17, 2023
1 parent bcb84cd commit 6ef6f00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gorgone/contrib/mbi/eventStatisticsBuilder.pl
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ sub new {
'host-only' => \$self->{moptions}->{host_only},
'service-only' => \$self->{moptions}->{service_only},
'availability-only' => \$self->{moptions}->{availability_only},
'events-only' => \$self->{moptions}->{events_only}
'events-only' => \$self->{moptions}->{events_only},
'no-purge' => \$self->{moptions}->{nopurge}
);

return $self;
}

Expand Down
3 changes: 2 additions & 1 deletion gorgone/contrib/mbi/perfdataStatisticsBuilder.pl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ sub new {
'e:s' => \$self->{moptions}->{end},
'month-only' => \$self->{moptions}->{month_only},
'centile-only' => \$self->{moptions}->{centile_only},
'no-centile' => \$self->{moptions}->{no_centile}
'no-centile' => \$self->{moptions}->{no_centile},
'no-purge' => \$self->{moptions}->{nopurge}
);
return $self;
}
Expand Down

0 comments on commit 6ef6f00

Please sign in to comment.