Hi, So I followed the following link.
I searched the forums but can’t seem to figure out the proper way to email the image.
The LibreNMS server and Email server are both internal. The LibreNMS server uses SMTP to email out the image. I am trying to get LibreNMS’s graph to be shown to an external email. It seems to work fine when I vpn in on the phone.
I added this to the config file
$config[‘allow_unauth_graphs_cidr’] = array(‘127.0.0.1/32’);
$config[‘allow_unauth_graphs’] = true;
{{ $alert->title }}
Severity: {{ $alert->severity }}
@if ($alert->state == 0) Time elapsed: {{ $alert->elapsed }} @endif
Timestamp: {{ $alert->timestamp }}
Alert-ID: {{ $alert->id }}
Rule: @if ($alert->name) {{ $alert->name }} @else {{ $alert->rule }} @endif
@if ($alert->faults) Faults:
@foreach ($alert->faults as $key => $value)
{{ $key }}: {{ $value[‘string’] }}
@endforeach
@if ($alert->faults) Faults:
@foreach ($alert->faults as $key => $value)
http://(ipaddress)/graphs/id={{ $value[‘device_id’] }}/type=device_processor/
@endforeach
Template: CPU alert
@endif
@endif
works internally but not external