Skip to content

Instantly share code, notes, and snippets.

@heinrichvk
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heinrichvk/982c0cb9c0ea6c20f478 to your computer and use it in GitHub Desktop.
Save heinrichvk/982c0cb9c0ea6c20f478 to your computer and use it in GitHub Desktop.
getEntitiesForGroup
<#assign servers = getEntitiesForGroup("VMware Hosts") >
<#list servers as server>
[series]
entity = ${server}
metric = cpu.used
</#list>
<#assign servers = getEntitiesForGroup("VMware Hosts", "48") >
<#list servers as server>
[series]
entity = ${server}
metric = cpu.used
</#list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment