From Tinct Tern, 5 Years ago, written in Python.
This paste is a reply to Alert Template from Kkrumm - go back
Embed
Viewing differences between Alert Template and Re: Alert Template
{{ $alert->title }}
Device Name: {{ $alert->hostname }}
Severity: {{ $alert->severity }}
@if ($alert->state == 0) Time elapsed: {{ $alert->elapsed }} @endif
Timestamp: {{ $alert->timestamp }}
Rule: @if ($alert->name) {{ $alert->name }} @else {{ $alert->rule }} @endif
@foreach ($alert->faults as $key => $value)
Physical Interface: $value['ifDescr']
Interface Description: $value['ifAlias']
Interface Speed: @php echo ($value['ifSpeed']/1000000000); @endphp Gbs
Inbound Utilization: @php echo (($value['ifInOctets_rate']*8)/$value['ifSpeed'])*100; @endphp%
Outbound Utilization: @php echo (($value['ifOutOctets_rate']*8)/$value['ifSpeed'])*100; @endphp%
@endforeach

Replies to Re: Alert Template rss

Title Name Language When
Re: Re: Alert Template Hot Wolf python 2 Years ago.
Re: Re: Alert Template Unique Moth html5 5 Years ago.