-
Notifications
You must be signed in to change notification settings - Fork 76
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
No error code for inactive syslog-ng service #8024
Comments
@Roushan45 Thank you for bringing this to our attention. We will add it to our task list and address it based on our priorities. |
2 tasks
Hey @Roushan45 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment info
Actual behavior
inactive
[root@s3test-11 bin]# systemctl show -p ActiveState --value rsyslog
inactive
both are inactive but in health command
/usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng
output error code of showing only for rsyslog, what if customer using syslog-ng then it should report syslog-ng as error. How does noobaa knows which logger service being used for noobaa services?{"service_name":"noobaa","status":"NOTOK","memory":"340.1M","error":{"error_code":"RSYSLOG_SERVICE_FAILED","error_message":"RSYSLOG service is not started properly, Please verify the service with status command."},"checks":{"services":[{"name":"noobaa","service_status":"active","pid":"1172983","error_type":"PERSISTENT"},{"name":"rsyslog","service_status":"inactive","pid":"0","error_type":"PERSISTENT"},{"name":"syslog-ng","service_status":"inactive","pid":"0","error_type":"PERSISTENT"}],"endpoint":{"endpoint_state":{"response":{"response_code":"RUNNING","response_message":"Endpoint running successfuly."},"total_fork_count":2,"running_workers":[2,1]},"error_type":"TEMPORARY"}}}
Expected behavior
Steps to reproduce
/usr/local/noobaa-core/bin/node /usr/local/noobaa-core/src/cmd/health --check_syslog_ng
More information - Screenshots / Logs / Other output
The text was updated successfully, but these errors were encountered: