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

should "chkmqhealthy " print out any output ? #173

Closed
cra1gl1 opened this issue Jul 26, 2018 · 1 comment
Closed

should "chkmqhealthy " print out any output ? #173

cra1gl1 opened this issue Jul 26, 2018 · 1 comment
Assignees
Labels

Comments

@cra1gl1
Copy link

cra1gl1 commented Jul 26, 2018

From what i understand, "chkmqhealthy" is used for checking qmgr status, by liveliness probe. so it should return a zero or non-zero exit code.

But, when I manually run it on the container, it returns some random numbers, trying to understand what that is. I checked the code in "cmd/chkmqhealthy/main.go" and looks like it should print out the combinedoutput (something like this , QMNAME(510AB53DC682) STATUS(Running)? ). But, what i see is this.

(mq:9.0.5.0)root@510AB53DC682:/# chkmqhealthy
[81 77 78 65 77 69 40 53 49 48 65 66 50 49 68 67 54 65 57 41 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 83 84 65 84 85 83 40 82 85 78 78 73 78 71 41 10]

(mq:9.0.5.0)root@510AB53DC682:/# dspmq
QMNAME(510AB21DC6A9) STATUS(Running)

could you help me understand what this is?

@arthurbarr arthurbarr added the bug label Jul 26, 2018
@arthurbarr
Copy link
Member

This is a bug. It prints the UTF-8 bytes of the output from dspmq. In your example, it's:

QMNAME(510AB21DC6A9)                                      STATUS(RUNNING)

The text output is not used, but it's still a bug.

@parrobe parrobe self-assigned this Jul 27, 2018
mirskifa pushed a commit that referenced this issue Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants