1
0
mirror of https://github.com/cmur2/munin-mumble.git synced 2024-12-22 02:54:27 +01:00

Import os

This commit is contained in:
cn 2013-09-16 16:53:06 +02:00
parent c18aa7f813
commit 895a55b262

5
mumble
View File

@ -4,6 +4,9 @@
# munin-murmur.py - "murmur stats (User/Bans/Uptime/Channels)" script for munin.
# Copyright (c) 2012, Natenom / natenom@natenom.name
import os
import sys
# Path to Murmur.ice
iceslice = os.environ.get('iceslice', '/usr/share/slice/Murmur.ice')
@ -26,7 +29,7 @@ icesecret = os.environ.get('icesecret', 'secureme')
# This value is being interpreted in kibiBytes.
messagesizemax = os.environ.get('messagesizemax', '65535')
import Ice, sys
import Ice
Ice.loadSlice("--all -I%s %s" % (iceincludepath, iceslice))
props = Ice.createProperties([])