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

Replies to Re: Alert Template rss

Title Name Language When
Re: Re: Alert Template Unique Moth html5 2 Years ago.