I have alerts templates setup for CPU utilization -
{{ $alert->title }}
Severity: {{ $alert->severity }}
Device Name: {{ $alert->hostname }}
Uptime: {{ $alert->uptime_short }}
@if ($alert->state == 0) Time elapsed: {{ $alert->elapsed }} @endif
Timestamp: {{ $alert->timestamp }}
Unique-ID: {{ $alert->uid }}
Device: {{ $alert->sysName }}
@foreach ($alert->faults as $key => $value)
Processor Description: {{ $value['processor_descr'] }}
CPU Percent Utilized: {{ $value['processor_usage'] }}
@endforeach
However, the CPU Percent Utilized
value doesn’t refresh when it’s recovered. The value stays the one on which the alert was triggered.
What changes do I need to make here?