mirror of
https://github.com/cmur2/munin-mumble.git
synced 2024-12-22 12:54:28 +01:00
Import os
This commit is contained in:
parent
c18aa7f813
commit
895a55b262
5
mumble
5
mumble
@ -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([])
|
||||
|
Loading…
Reference in New Issue
Block a user