[omd-commits] OMD Git: omd: shinken: bugfix in the mongodb hook

git version control git at mathias-kettner.de
Wed Jun 5 10:11:21 CEST 2013


Module:   omd
Branch:   master
Commit:   ca1dc17e980d6a0be6938f0ce5ca52eb778f3b55
URL:      http://omdistro.org/projects/omd/repository/revisions/ca1dc17e980d6a0be6938f0ce5ca52eb778f3b55

Author:   Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Wed Jun  5 10:08:18 2013 +0200
Commiter: Gerhard Lausser <gerhard.lausser at consol.de>
Date:     Wed Jun  5 10:08:18 2013 +0200

shinken: bugfix in the mongodb hook

---

 packages/shinken/MONGODB_TCP_PORT.hook |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/shinken/MONGODB_TCP_PORT.hook b/packages/shinken/MONGODB_TCP_PORT.hook
index 163b9a0..cdadc3f 100755
--- a/packages/shinken/MONGODB_TCP_PORT.hook
+++ b/packages/shinken/MONGODB_TCP_PORT.hook
@@ -31,7 +31,7 @@ next_free_hook ()
     do
         PORT=$((PORT + 1))
     done
-    echo "127.0.0.1:$PORT"
+    echo "$PORT"
 }
 
 



More information about the omd-commits mailing list