Skip to content

Instantly share code, notes, and snippets.

@mfournier
Created May 20, 2013 20:13
Show Gist options
  • Save mfournier/5615125 to your computer and use it in GitHub Desktop.
Save mfournier/5615125 to your computer and use it in GitHub Desktop.
LoadPlugin "curl_json"
<Plugin "curl_json">
<URL "http://localhost:8080/metrics/mbean/com.puppetlabs.puppetdb.query.population%3Atype%3Ddefault%2Cname%3Dnum-nodes">
Instance "population-num-nodes"
Header "Accept: application/json"
<Key "Value">
Type "absolute"
</Key>
</URL>
</Plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment