Module: check_mk
Branch: master
Commit: 291cf7052fff26a12fbf0dd48bbc24981f162a91
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=291cf7052fff26…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jul 22 10:31:35 2015 +0200
pushover notifications: Fixed time of push messages
---
notifications/pushover | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/notifications/pushover b/notifications/pushover
index 0d1b489..243bad8 100755
--- a/notifications/pushover
+++ b/notifications/pushover
@@ -122,7 +122,7 @@ def send_push_notification(api_key, recipient_key, subject, text,
context):
("user", recipient_key),
("title", subject.encode("utf-8")),
("message", text.encode("utf-8")),
- ("timestamp", int(context["MICROTIME"])/1000),
+ ("timestamp", int(context["MICROTIME"])/1000000),
("priority", context.get("PARAMETER_PRIORITY", 0)),
("html", 1),
])