-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ctor 1218 plugin storage purestorage #5403
base: develop
Are you sure you want to change the base?
Conversation
04cbd6b
to
6885521
Compare
@@ -98,7 +98,9 @@ sub manage_selection { | |||
|
|||
my $last_time; | |||
if (defined($self->{option_results}->{memory})) { | |||
$self->{statefile_cache}->read(statefile => 'purestorage_' . $self->{mode} . '_' . $options{custom}->get_connection_infos()); | |||
#use Data::Dumper; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this commented code or add it to debug mode of the plugin
|
||
Examples: tc extra_options expected_result -- | ||
... 1 --filter-category='array' CRITICAL: 2 problem(s) detected | 'alerts.detected.count'=2;;;0; | ||
... 2 --warning-status='\\\%{state} = "warning"' CRITICAL: 2 problem(s) detected | 'alerts.detected.count'=2;;;0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You change the warning condition in the option, but the plugin output critical status, so you are not checking that the warning option work with this.
Can you change the critical status too in this test so the plugin en in warning ?
It will allows to be sure the plugin can output warning if there is a matching condition.
#CTOR-1218
Type of change
Checklist