X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=monitor%2Fdatabase%2Fzabbixapi%2FemailZabbix.py;h=ba69c5833d1899f6041b2e2ec5d9c7a4ee87ab9d;hb=c9b6e5bc35cc3d64455d68583244fcaf17a8c83b;hp=3f61fff5968a799bb9d1acd8f9f67d46233f9459;hpb=7b3d462aa05fcc1892fd914db163143f36a05945;p=monitor.git diff --git a/monitor/database/zabbixapi/emailZabbix.py b/monitor/database/zabbixapi/emailZabbix.py index 3f61fff..ba69c58 100644 --- a/monitor/database/zabbixapi/emailZabbix.py +++ b/monitor/database/zabbixapi/emailZabbix.py @@ -34,11 +34,12 @@ If you have a BootCD older than 3.0, you will need to create a new BootImage on https://www.planet-lab.org/doc/guides/bootcdsetup -There is no need to respond to this message unless there are any console messages relating to the node failure. In this case, please report them to PlanetLab support (%(support_email)s) so we can help resolve the issue. Including this message in your reply will help us coordinate our records with the actions you have taken. +There is no need to respond to this message unless there are console messages relating to the node failure. In this case, please report them to PlanetLab support (%(support_email)s) so we can help resolve the issue. Including this message in your reply will help us coordinate our records with the actions you have taken. -Finally, you can track the current status of your machines using this Google Gadget: +If after following these directions, you are still experiencing problems, then you can acknowledge this notice by visiting the links below and describing the problem: - http://fusion.google.com/add?source=atgs&moduleurl=http://%(hostname)s/monitor/sitemonitor.xml + http://%(hostname)s/zabbix/acknow.php?eventid={EVENT.ID} + http://%(hostname)s/zabbix/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID} Thank you for your help, -- PlanetLab Central (%(support_email)s) @@ -63,7 +64,7 @@ If you have a BootCD older than 3.0, you will need to create a new BootImage on https://www.planet-lab.org/doc/guides/bootcdsetup -If after following these directions, you are still experiencing problems, then you can acknowledge this notice by visiting, and letting us know what the problem is at mailto:%(support_email)s +If after following these directions, you are still experiencing problems, then you can acknowledge this notice by visiting the links below and describing the problem: http://%(hostname)s/zabbix/acknow.php?eventid={EVENT.ID} http://%(hostname)s/zabbix/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID} @@ -96,7 +97,7 @@ If you have a BootCD older than 3.0, you will need to create a new BootImage on https://www.planet-lab.org/doc/guides/bootcdsetup -If after following these directions, you are still experiencing problems, then you can acknowledge this notice by visiting, and letting us know what the problem is at mailto:%(support_email)s +If after following these directions, you are still experiencing problems, then you can acknowledge this notice by visiting the links below and describing the problem: http://%(hostname)s/zabbix/acknow.php?eventid={EVENT.ID} http://%(hostname)s/zabbix/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID} @@ -119,6 +120,20 @@ You can acknowledge this notice by visiting the link below or by letting us know http://%(hostname)s/zabbix/acknow.php?eventid={EVENT.ID} http://%(hostname)s/zabbix/tr_events.php?triggerid={TRIGGER.ID}&eventid={EVENT.ID} +Thank you for your help, + -- PlanetLab Central (%(support_email)s) +""" + node_discovered_subject = """Discovered a new host!""" + node_discovered = """ +Thank you for registering and installing this machine: + + hostname {HOSTNAME} : ip {IPADDRESS} + +Our monitoring infrastructure has detected it, and in the future it will alert you in the event of unexpected downtime. + + Discovered : Online + {TRIGGER.URL} + Thank you for your help, -- PlanetLab Central (%(support_email)s) """