Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

fix(mbi): add option --no-purge in script #275

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion 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 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