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

as400 fix previous pending request #5373

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

garnier-quentin
Copy link
Contributor

Community contributors

Description

We have the following error:

[1735910404] [7068] SERVICE ALERT: VICLOUD-AS400-A1;Job QALERT;UNKNOWN;SOFT;1;UNKNOWN: Previous request pending (started 1013 ms ago). Increase your check interval, and nagios check tyour bandwidth availability

There is a mechanism in as400 to avoid the stacking of the same request. I can be useful but there is a bug. So we need to patch it.

Type of change

  • Patch fixing an issue (non-breaking change)
  • New functionality (non-breaking change)
  • Functionality enhancement or optimization (non-breaking change)
  • Breaking change (patch or feature) that might cause side effects breaking part of the Software

How this pull request can be tested ?

To have the error, you need to execute very quickly the following two requests (example):

centreon_plugins.pl --plugin=os::as400::connector::plugin ... --as400-hostname=10.30.2.2 --as400-username=user --as400-password=pass --mode=jobs --filter-name="job1"
centreon_plugins.pl --plugin=os::as400::connector::plugin ... --as400-hostname=10.30.2.2 --as400-username=user --as400-password=pass --mode=jobs --filter-name="job2"

Checklist

  • I have followed the coding style guidelines provided by Centreon
  • I have commented my code, especially hard-to-understand areas of the PR.
  • I have rebased my development branch on the base branch (develop).
  • I have provide data or shown output displaying the result of this code in the plugin area concerned.

@garnier-quentin garnier-quentin requested a review from a team as a code owner January 3, 2025 14:11
@garnier-quentin garnier-quentin changed the title fix previous pending request as400 fix previous pending request Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant