Skip to content

Commit 92f41c0

Browse files
committed
Merged in monitor (pull request #4)
Fixed: monitor didn't output anything on success
2 parents ee85382 + 7682eca commit 92f41c0

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

README.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ This project provides:
2323
Changes
2424
*******
2525

26+
Fixed: monitor didn't output anything on success
27+
28+
0.3.0 (2013-10-29)
29+
==================
30+
2631
Added a nagios plugin for monitoring blob servers.
2732

2833
0.2.0 (2013-10-25)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# FOR A PARTICULAR PURPOSE.
1212
#
1313
##############################################################################
14-
name, version = 'zc.s3blobstorage', '0.2.0'
14+
name, version = 'zc.s3blobstorage', '0.3.0'
1515

1616
install_requires = ['setuptools', 'requests',
1717
'zc.zk [static]', 'zc.zkzeo', 'boto']

src/zc/s3blobstorage/servermonitor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ def main(args=None):
3030

3131
if r.status_code != 200 or r.text != "imok":
3232
return error("bad response from %r" % url)
33+
34+
print "cool"

src/zc/s3blobstorage/servermonitor.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ OK if registered
4646
>>> zk.register_server("/fooservice/providers",
4747
... "localhost:%s" % blob_server_port)
4848
>>> main([connection_string, "/fooservice/providers", "localhost"])
49+
cool
4950

5051
not OK if too many services regsitered
5152
--------------------------------------

0 commit comments

Comments
 (0)