Skip to content

Instantly share code, notes, and snippets.

@heinrichvk
Last active August 29, 2015 14:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save heinrichvk/e6dfcaa018b1bfc5d837 to your computer and use it in GitHub Desktop.
alias_sum
<#assign servers = getEntitiesForGroup("Linux") >
<#list servers as server>
[series]
entity = ${server}
metric = cpu_busy
alias = cpuused_${server}
</#list>
[series]
label = CPU Used
value = 0 <#list servers as server> + value('cpuused_${server}')</#list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment