Poorly formatted UPS ONBATT and ONLINE emails

Description

Hey,

I got two emails today to indicate my system was ONBATT and subsequently ONLINE. Both emails were poorly formatted. The body's of the emails were as follows:

[code]
NOTIFICATION: 'ONBATT' UPS: 'ups' Statistics recovered: 1) Battery charge (percent) battery.charge: 100 2) Battery level remaining (percent) when UPS switches to Low Battery (LB) battery.charge.low: 10 3) Battery runtime (seconds) battery.runtime: 2160 4) Battery runtime remaining (seconds) when UPS switches to Low Battery (LB) battery.runtime.low: 300
</code]

[code]
NOTIFICATION: 'ONLINE' UPS: 'ups' Statistics recovered: 1) Battery charge (percent) battery.charge: 100 2) Battery level remaining (percent) when UPS switches to Low Battery (LB) battery.charge.low: 10 3) Battery runtime (seconds) battery.runtime: 2190 4) Battery runtime remaining (seconds) when UPS switches to Low Battery (LB) battery.runtime.low: 300
/code

The emails were mis-formatted in the following mail readers:
Outlook 16.35 for MAC OS 10.14.6
iOS 13.4.1 Mail app
Gmail in Firefox 75 on MAC OS 10.14.6

Mail source is available if you want it.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Bug Clerk April 30, 2020 at 12:28 PM

Bug Clerk April 30, 2020 at 12:23 PM

Luis Silva [X] April 29, 2020 at 11:09 PM

Fixed here: https://github.com/freenas/freenas/pull/4682

This could be simuled with /usr/local/bin/midclt call ups.upssched_event NOTIFY-LOWBATT (and other events)

Colm Connolly April 13, 2020 at 7:42 PM

It looks like the HTML tags in the emails are being interpreted correctly by JIRA. This is not the case otherwise.

Complete

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Due date

Priority

More fields

Katalon Platform

Created April 13, 2020 at 7:41 PM
Updated July 1, 2022 at 4:49 PM
Resolved April 30, 2020 at 12:28 PM