Message alert mail

Hello

I did an email alert for an equipement offline since 5min
But the email is like that :


I looking for the customization file of the email.
Thanks in advance

Validate

====================================

Component Version
LibreNMS 1.55-23-g565833a69
DB Schema 2019_09_05_153524_create_notifications_attribs_index (141)
PHP 7.2.19-0ubuntu0.19.04.2
MySQL 10.3.17-MariaDB-0ubuntu0.19.04.1
RRDTool 1.7.1
SNMP NET-SNMP 5.7.3
====================================

[OK] Composer Version: 1.9.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Tue, 10 Sep 2019 13:11:12 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git contains modified files, this could prevent automatic updates.
[FIX]:
You can fix this with ./scripts/github-remove
Modified Files:
bootstrap/cache/.gitignore
logs/.gitignore
rrd/.gitignore
storage/app/.gitignore
storage/app/public/.gitignore
storage/debugbar/.gitignore
storage/framework/cache/.gitignore
storage/framework/cache/data/.gitignore
storage/framework/sessions/.gitignore
storage/framework/testing/.gitignore
storage/framework/views/.gitignore
storage/logs/.gitignore
[FAIL] We have found some files that are owned by a different user than librenms, this will stop you updating automatically and / or rrd files being updated causing graphs to fail.
[FIX]:
sudo chown -R librenms:librenms /opt/librenms
sudo setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
sudo chmod -R ug=rwX /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
Files:
/opt/librenms/resources/lang/en/.auth.php.swp

Aki

Hi
Please have a look at the documentation here :
https://docs.librenms.org/Alerting/Templates/

Bye

1 Like

Hi @Akimace,

When did you install your instance, there was a change in the last couple of weeks that fixes the standard tempalte:

There are some comments on the thread that show you how to re-apply the base template to clean this up.

1 Like

Ok but I didn’t hunderstand this step “TRUNCATE TABLE alert_templates;”.
it’s in the librenms’s config file ? Sorry :zipper_mouth_face:

This is a mysql command, so you will need to connect to the mysql console to do this. The following command works from root, or add sudo (assuming socket connection).

mysql librenms

if you aren’t using sockets add -u${username} and -p

Regards,
Gary

Ok I did TRUNCATE in mysql librenms’s database.
But when I run ./lnms db:seed I have an error message : There are no commands defined in the db namespace :frowning:

Thank you for the support !

Aki

someone have a solution ? :roll_eyes: