etsy / nagios-herald

Add context to Nagios alerts
https://codeascraft.com/2014/06/06/introducing-nagios-herald/
MIT License
321 stars 32 forks source link

Implement short format for pagers #24

Closed mrtazz closed 10 years ago

mrtazz commented 10 years ago

The current implementation of the pager message basically sends the default full nagios message. It would be nice to have a short format that actually fits into 160 characters, maybe like this which is taken from our old pager template as far as I can remember it:

Service notification:

$nagiossender / SVC:
$hostname/$service:
$PREVIOUSSTATE/$STATE: $DESCRIPTION

Host notification:

$nagiossender / HST:
$hostname $PREVIOUSSTATE/$STATE

ACKs

$nagiossender / ACK:
$hostname $STATE
$nagiossender / ACK:
$hostname/$service:
$STATE: $DESCRIPTION
RyanFrantz commented 10 years ago

Fixed in #27