On Tue, 15 Sep 2020 13:17:33 +0000 René Romijn Rene.Romijn@tabsholland.nl wrote:
Oeps.. you are right 😊
Question still stands though. Is it possible to add more information in the alertsmails.
Indeed you can.
All the alert message templates for e-mail, SMS and so forth can be found in the directory structure below etc/alertmsg/. Here you will find a hierarchy of Django template files in directories subdivided by event types.
It helps to be familiar with NAV's data model to make efficient use of customizations here.
E.g. if you want to include room details in your boxDown e-mail notifications, you would edit the etc/alertmsg/boxState/boxDown-email.txt template and add `{{ netbox.room.id }}` wherever you want your room id to appear in the message text.