mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
commit
d96a6c201a
@ -23,7 +23,7 @@ def get_stats():
|
||||
data = '';
|
||||
|
||||
HOST = os.environ.get('NUTCRACKER_STATS_HOST', '127.0.0.1');
|
||||
PORT = os.environ.get('NUTCRACKER_STATS_PORT', 22222)
|
||||
PORT = int(os.environ.get('NUTCRACKER_STATS_PORT', 22222))
|
||||
|
||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
s.connect((HOST, PORT))
|
||||
|
Loading…
Reference in New Issue
Block a user