[ 
https://issues.apache.org/jira/browse/DISPATCH-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charles E. Rolke resolved DISPATCH-1505.
----------------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

Closed at commit f5b98a1

> [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
>             Fix For: 1.13.0
>
>
> 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]

Reply via email to