Alert templates get port notes

How to include the failed port’s notes in email

I tested various possible combinations
Still can’t get PORT NOTES information
Notes* %ports.ifDescr
**
Notes* %port_descr_notes
**
Notes* %port_id_notes
**
Notes* %port.notes
**
Notes* %notes
**
snipaste_20180418_221336

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

Component Version
LibreNMS 1.38-59-g052b9d1
DB Schema 247
PHP 7.0.19
MySQL 5.5.52-MariaDB
RRDTool 1.4.8
SNMP NET-SNMP 5.7.2
====================================

You can only access item specific values within the foreach loop of the %faults array. see the example templates: https://docs.librenms.org/#Alerting/Templates/#examples

I have seen that article
It should be more than just like I can show the amount of hard disk usage on email via “%value.storage_used”
I hope someone can provide possible ideas. Otherwise, the notification will not be sent out to know the main function and importance of this PORT.

thnak you

This works for storage so just adjust it for ports and it will work there as well.

hi laf
I’m using Meta.
Description Except for https://docs.librenms.org/#Alerting/Templates/#examples
There are still parameters that can be used.
What I need is a separate annotation for each port. It is convenient to know the purpose of the port when receiving the email in the first time.
Thank you for your help

Sorry I don’t understand this question.

I’m sorry, I didn’t ask questions enough
I need to display the port information in the warning email
(information in the red box)

You can’t I’m afraid.