Skip to content
This repository has been archived by the owner on Jun 13, 2020. It is now read-only.

Pager emails should be more concise #34

Open
pnaf opened this issue Sep 4, 2015 · 0 comments
Open

Pager emails should be more concise #34

pnaf opened this issue Sep 4, 2015 · 0 comments

Comments

@pnaf
Copy link
Member

pnaf commented Sep 4, 2015

In pager emails, if you test nagios-herald with, for instance, the included check_disk.CRITICAL test, you get the following output in the body of the email:

CRITICAL for 0d 0h 5m 12s (was CRITICAL) after 3 / 3 checks

DISK CRITICAL - free space: / 7002 MB (18% inode 60%): /data 16273093 MB (26% inode 99%):

Normally, the host_info section is shown on the first line. Instead, state_info takes up the first line, and the hostname information is displayed in the subject of the email instead. This may cause problems because 1) different carriers may have different ways of incorporating SUBJECT headers into SMS messages, 2) which leaves us with less fluidity as to how we want our messages to be formatted (unless we have nagios-herald send out a blank subject), and 3) once the host_info section is fixed to show up in the body of the pager email, there will be redundancy in the SMS due to displaying the hostname in both the subject and body.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant