{********************************************************* @author:Julien George @ email: j.george@esia-sa.com **********************************************************} {if $tab eq ''} {include file='overall_header.html'}
{include file='overall_node_control_header.html' node=$node status=$node_status idListService='ListService' jsCloseDialog="Utils.reload_active_tabs('#tabs')"}
{include file='overall_node_control_footer.html'} {include file='overall_footer.html'} {elseif $tab =='servicestate'} {*Onglet par défaut*}
{$noExecution} {if isset($noexecution)} {else} {/if}
{$lang.IPLABEL_IP} ekara.ip-label.net {**}
{$lang.IPLABEL_SCENARIOS_NUMBER}
{$noexecution} {if $openState == 0}

{$openIncident}

{elseif $openState == 1}

{$openIncident}

{elseif $openState == 2}

{$openIncident}

{else}

{$openIncident}

{/if}

{$lang.IPLABEL_SCENARIOS_INCIDENT_OPEN}

{if $totalState == 0}

{$totalIncident}

{elseif $totalState == 1}

{$totalIncident}

{elseif $totalState == 2}

{$totalIncident}

{else}

{$totalIncident}

{/if}

{$lang.IPLABEL_SCENARIOS_INCIDENT_LASTDAY}

{$lang.IPLABEL_SCENARIOS} {$lang.IPLABEL_ROBOTS_STATE} {$lang.IPLABEL_SCENARIOS_TIME} {$lang.IPLABEL_SCENARIOS_AVAILABILITY} {$lang.IPLABEL_SCENARIOS_DETAIL}
{elseif $tab =='scenarios'}
{foreach name=indext key=key item=sce from=$scenarios} {if $sce.esiaState eq 'OK'} {elseif $sce.esiaState eq 'CRITICAL'} {elseif $sce.esiaState eq 'WARNING'} {else} {/if} {/foreach}
{$lang.IPLABEL_SCENARIOS} {$lang.IPLABEL_ROBOTS_STATE} {$lang.IPLABEL_SCENARIOS_TYPE} {$lang.IPLABEL_SCENARIOS_APP} {$lang.IPLABEL_SITE} {$lang.IPLABEL_SCENARIOS_TIME} {$lang.IPLABEL_SCENARIOS_AVAILABILITY}
{$sce.scenarioName}{$sce.statusMessage}{$sce.statusMessage}{$sce.statusMessage}{$sce.statusMessage}{$sce.scenarioType} {$sce.applicationName} {$sce.time}s {$sce.availability}%
{elseif $tab =='incidents'}

{$lang.IPLABEL_SCENARIOS_INCIDENTS} - {$lang.IPLABEL_SCENARIOS_INCIDENTS_1DAY}

{$lang.IPLABEL_SCENARIOS} {$lang.IPLABEL_SEVERITY} {$lang.IPLABEL_SCENARIOS_APP} {$lang.IPLABEL_ROBOTS_STATE} {$lang.IPLABEL_SCENARIOS_INCIDENTS_START} {$lang.IPLABEL_SCENARIOS_INCIDENTS_END} {$lang.IPLABEL_DURATION}
{elseif $tab =='incidents-day'} {foreach name=indext key=key item=inci from=$incident} {$inci.name} {if $inci.severity eq 'Critical'} {$lang.IPLABEL_SEVERITY_CRITICAL} {else} {$inci.severity} {/if} {$inci.application} {if $inci.status == 0} {$lang.IPLABEL_STATUS_UNKNOWN} {elseif $inci.status == 1} {$lang.IPLABEL_STATUS_OK} {elseif $inci.status == 2} {$lang.IPLABEL_STATUS_FAILURE} {elseif $inci.status == 3} {$lang.IPLABEL_STATUS_ABORTED} {elseif $inci.status == 4 || $inci.status == 5} {$lang.IPLABEL_STATUS_NOEXEC} {elseif $inci.status == 6} {$lang.IPLABEL_STATUS_STOPPED} {elseif $inci.status == 7} {$lang.IPLABEL_STATUS_EXCLUDED} {elseif $inci.status == 8} {$lang.IPLABEL_STATUS_DEGRADED} {else} {$inci.severity} {/if} {$inci.start} {$inci.end} {$inci.duration} {/foreach} {/if}