check-mirroring: Move some prints to be conditional on "verbose".
(imported from commit 90db591f5fc3e4d1f830ed16bca9380a3a9dddd3)
This commit is contained in:
parent
6aad2946a1
commit
ef065d112f
|
@ -68,6 +68,7 @@ if child_pid == 0:
|
||||||
"content": str(hzkey2),
|
"content": str(hzkey2),
|
||||||
"stream": "tabbott-nagios-test",
|
"stream": "tabbott-nagios-test",
|
||||||
});
|
});
|
||||||
|
if options.verbose:
|
||||||
print "Sent Humbug messages!"
|
print "Sent Humbug messages!"
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
||||||
|
@ -85,6 +86,7 @@ if child_pid == 0:
|
||||||
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()
|
||||||
|
if options.verbose:
|
||||||
print "Sent Zephyr messages!"
|
print "Sent Zephyr messages!"
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,6 +101,7 @@ else:
|
||||||
max_message_id = humbug_client.get_profile()['max_message_id']
|
max_message_id = humbug_client.get_profile()['max_message_id']
|
||||||
|
|
||||||
time.sleep(10)
|
time.sleep(10)
|
||||||
|
if options.verbose:
|
||||||
print "Receiving messages!"
|
print "Receiving messages!"
|
||||||
notices = []
|
notices = []
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in a new issue