{if isset($MercuryclientConsumption)} {/if} {assign var=node_simple value=$nodecalc.printer + $nodecalc.alive + $nodecalc.pcWin} {if isset($MercuryclientConsumption)} {assign var=remote value=$MercuryclientConsumption - $node_simple - $nodecalc.complexe} {/if}

{$lang.ADM_NODE_CONSUMPTION}

{$lang.TOTAL} : {$MercuryclientConsumption} / {$licence_max}
{$lang.ADM_NODE_UNITY}: {$nodecalc.GESA}
{$lang.TOTAL} ({$lang.LOCAL_INSTANCE}): {$nodecalc.complexe + $node_simple }
{$lang.ADM_NODE_COMPLEXE} ({$lang.LOCAL_INSTANCE}): {$nodecalc.complexe}
{$lang.ADM_NODE_SIMPLE} ({$lang.LOCAL_INSTANCE}): {$node_simple} ( {$nodecalc.printer} {$lang.ADM_NODE_PRINTER}, {$nodecalc.alive} ping(s), {$nodecalc.pcWin} pc )
{$lang.REMOTE_INSTANCE_MERCURY} : {$MercuryclientConsumption - $node_simple - $nodecalc.complexe}

{if isset($Mercuryclient)} {foreach from=$Mercuryclient item=client} {if $client.state.critical > 0} {elseif $client.state.warning > 0} {elseif $client.state.unknown > 0} {else} {/if} {/foreach}
Mercury-client {$lang.GESA_STATUS} {$lang.LICENCE_NODE_NUMBER}
{$client.name}{$lang.GESA_DISCONNECTED}{$lang.ALERTS}{$lang.GESA_DISCONNECTED}{$lang.GESA_CONNECTED}{$client.advanced_node}


{/if} {foreach from=$nodecalcByUnity key=sn item=unity} {assign var=node_simple value=$unity.printer + $unity.alive + $unity.pc} {if $unity.state eq 'disconnected'} {else} {/if} {/foreach}
{$lang.ADM_NODE_UNITY} {$lang.GESA_STATUS} {$lang.LICENCE_NODE_NUMBER} {$lang.ADM_NODE_COMPLEXE} {$lang.ADM_NODE_SIMPLE}
{$unity.name} ({$sn}){$lang.GESA_DISCONNECTED}{$lang.GESA_CONNECTED}{$unity.advanced_node + $node_simple} {$unity.advanced_node} {$node_simple} ( {$unity.printer} {$lang.ADM_NODE_PRINTER}, {$unity.alive} ping(s), {$unity.pc} pc )