check-mirroring: Enable authentic sending.

(imported from commit dc71ac6d8c7b7b3a6a380eb3ea4c9e177ecfb691)
This commit is contained in:
Tim Abbott 2012-10-19 13:47:05 -04:00
parent dec91dfe8d
commit 1ffc2c1cb7

View file

@ -80,13 +80,13 @@ if child_pid == 0:
zephyr.init() zephyr.init()
zsig = "Timothy Good Abbott" zsig = "Timothy Good Abbott"
zeph = zephyr.ZNotice(sender=mit_user, auth=False, recipient=mit_user, zeph = zephyr.ZNotice(sender=mit_user, auth=True, recipient=mit_user,
cls="message", instance="personal") cls="message", instance="personal")
zeph.setmessage("%s\0%s" % (zsig, zhkey1)) zeph.setmessage("%s\0%s" % (zsig, zhkey1))
zeph.send() zeph.send()
time.sleep(0.2) time.sleep(0.2)
zeph = zephyr.ZNotice(sender=mit_user, auth=False, zeph = zephyr.ZNotice(sender=mit_user, auth=True,
cls="tabbott-nagios-test", instance="test") cls="tabbott-nagios-test", instance="test")
zeph.setmessage("%s\0%s" % (zsig, zhkey2)) zeph.setmessage("%s\0%s" % (zsig, zhkey2))
zeph.send() zeph.send()