Hi all,
I got some issues with the tags (<NOTES>) when using on Email subject. I try to use the tag:<NOTES> for showing the site of the devices.
However, the tag works on the Message body not for the Subject. (Please refer to the setting & the captured)
I would like to showing the Site on Email Subject. Right now I just using the NOTES tag for showing the information on Email Subject ad Message.
Please find my captured and setting as below.
Device Notification Options: Subject editing with tags (<NOTES>)
Setting:
Down Subject:
Device Error: Site- <NOTES> - <DESCRIPTION> (<HOSTNAME>) is DOWN
Down Message:
System Error: Site- <NOTES> - <DESCRIPTION> (<HOSTNAME>) is <DOWN/UP><br>Reason: <MESSAGE><br><br>Average system response: <AVG_TIME> ms<br>System availability: <AVAILABILITY><br>Total Checks Since Clear: <TOT_POLL><br>Total Failed Checks: <FAIL_POLL><br>Last Date Checked DOWN : <LAST_FAIL><br>Device Previously UP for: <DOWNTIME>
Logs:
2023-01-03 10:16:17 - MAILER INFO: Mail successfully sent via SMTP from 'Cacti <REMOVED>', to 'REMOVED', cc '', and took 0.14 seconds, Subject 'Device Notice: Site- - cs-960quayside-swtemp (REMOVED) returned from DOWN state'
Device Notification Options: Subject editing with tags (<NOTES>)
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Device Notification Options: Subject editing with tags (<NOTES>)
You might want to log this in GitHub under the Thold plugin. It's literally a one line change pretty sure.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Device Notification Options: Subject editing with tags (<NOTES>)
Thanks TheWitness,TheWitness wrote: ↑Tue Jan 03, 2023 4:23 pm You might want to log this in GitHub under the Thold plugin. It's literally a one line change pretty sure.
I will try log this on GitHub
- TheWitness
- Developer
- Posts: 17047
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Device Notification Options: Subject editing with tags (<NOTES>)
It's fixed
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Device Notification Options: Subject editing with tags (<NOTES>)
Thanks TheWitness
Who is online
Users browsing this forum: No registered users and 0 guests