Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1505

[tools] Add policy and vhost information to qdstat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.0
    • 1.13.0
    • Tools
    • None

    Description

      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.

      qdstat --policy

      maxConnections          5
      enableVhostPolicy       true
      enableVhostNamePatterns true
      policyDir               "."
      defaultVhost            "$default"
      connectionsProcessed    1
      connectionsDenied       0
      connectionsCurrent      1
      linksDenied             0
      totalDenials            0
      

      qdstat --vhost

      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
      

      qdstat --vhost-stats

      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
      

      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.

      Attachments

        Activity

          People

            chug Charles E. Rolke
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: