Skip to content
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

Fix stormshield hanodes mode #933

Merged
merged 1 commit into from
Apr 3, 2018

Conversation

cgagnaire
Copy link
Contributor

Fix dead nodes value catching and filter management so we just retreive what we need.
Add role of node.

@cgagnaire cgagnaire requested a review from Sims24 March 30, 2018 13:03
Copy link
Contributor

@Sims24 Sims24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please check on CentOS 6 regarding comment but lgtm

});
return $self;
}

sub change_macros {
my ($self, %options) = @_;

foreach (('warning_state', 'critical_state')) {
foreach ('warning_state', 'critical_state') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cgagnaire think that double parenthesis is here for backward compatibility. Did you test this on CentOS 6 perl version ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok just test and it works. Do not know why Quentin used to write it like this as it's not a know convention, no reason so let merge this one.

@Sims24 Sims24 merged commit 2aa94be into centreon:master Apr 3, 2018
@Sims24 Sims24 deleted the fix-stormshield-hanodes-mode branch April 3, 2018 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants