[
https://issues.apache.org/jira/browse/DISPATCH-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17159970#comment-17159970
]
ASF GitHub Bot commented on DISPATCH-1505:
------------------------------------------
asfgit closed pull request #774:
URL: https://github.com/apache/qpid-dispatch/pull/774
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> [tools] Add policy and vhost information to qdstat
> --------------------------------------------------
>
> Key: DISPATCH-1505
> URL: https://issues.apache.org/jira/browse/DISPATCH-1505
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.9.0
> Reporter: Charles E. Rolke
> Assignee: Charles E. Rolke
> Priority: Major
>
> Utility qdstat has no information about policy or vhost configuration
> and does not expose any policy enforcement statistics.
> This jira adds qdstat output for policy and vhost details.
> h3. qdstat --policy
> {noformat}
> maxConnections 5
> enableVhostPolicy true
> enableVhostNamePatterns true
> policyDir "."
> defaultVhost "$default"
> connectionsProcessed 1
> connectionsDenied 0
> connectionsCurrent 1
> linksDenied 0
> totalDenials 0
> {noformat}
> h3. qdstat --vhost
> {noformat}
> hostname maxConnections maxConnectionsPerUser maxConnectionsPerHost
> allowUnknownUser userGroups
> boardwalk 10 2 5 true
> 4
> safari 10 2 5 false
> 3
> 0.0.0.0 50 5 20 true
> 1
> localhost 50 5 20 true
> 1
> 127.0.0.1 50 5 20 true
> 1
> {noformat}
> h3. qdstat --vhost-stats
> {noformat}
> hostname connectionsApproved connectionsDenied connectionsCurrent
> activeUsers activeHosts sessionDenied senderDenied receiverDenied
> boardwalk 0 0 0 0
> 0 0 0 0
> safari 0 0 0 0
> 0 0 0 0
> 0.0.0.0 0 0 0 0
> 0 0 0 0
> localhost 0 0 0 0
> 0 0 0 0
> 127.0.0.1 20 2 2 2
> 1 0 5 3
> {noformat}
> Further data is available but would be difficult to display in tables due to
> large sizes:
> * How are vhost userGroups configured?
> * What is the relationship between router connectionId, the vhost, the user,
> and the remote host?
> These details are available via _qdmanage_.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]