Recovery alerts templates not showing refreshed value

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?

Any ideas or help on this one? I found the below on an earlier post I found something for Stoarge.

{{ \App\Models\Storage::find($value['storage_id'])->storage_perc }}

Is there some documentation or something that explains how exactly is this working.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.