Put Alert number in initial message
This commit is contained in:
@@ -6,7 +6,7 @@ import yaml
|
||||
import zmq
|
||||
from pprint import pprint
|
||||
|
||||
__version__ = "2.1.0"
|
||||
__version__ = "2.1.1"
|
||||
versionstring='Taurix TellMe server v' + __version__
|
||||
|
||||
app = Flask(__name__)
|
||||
@@ -61,7 +61,7 @@ def webhook_receiver(id):
|
||||
message = ("GoAlert verification code: %s" % (data.get('Code`')))
|
||||
|
||||
if type == 'Alert':
|
||||
message = ("%s\n%s" % (data.get('Summary'), data.get('Details')))
|
||||
message = ("Alert %s: %s\n%s" % (data.get('AlertID'), data.get('Summary'), data.get('Details')))
|
||||
|
||||
if type == 'AlertStatus':
|
||||
message = ("Alert %s: %s" % (data.get('AlertID'), data.get('LogEntry')))
|
||||
|
||||
Reference in New Issue
Block a user