Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-2172

Make "unreported" hosts easier to query for

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: PDB 4.0.0
    • Component/s: None
    • Labels:
      None
    • Template:

      Description

      Right now, it is (relatively) easy to get changed, unchanged, or failed counts out of PuppetDB, as well as the aggregate number of hosts. What isn't so easy is to retrieve a count of unreported hosts within a set time difference.

      Ideally, something akin to

      /metrics/v1/mbeans/puppetlabs.puppetdb.query.population:type=default,name=num-nodes-unreported
      

      would be great; but there is probably a better option. That would assume an 'unreported after x hours/minutes' setting configured somewhere. pypuppetdb can fetch this count, but it would be great if it were available directly via PuppetDB endpoint.

      This appears to have been a thing in the past , but no longer exists (or is undocumented as far as I can tell) in the current versions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              peelman Nick Peelman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support