mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
get client presence for prosody 0.10
This commit is contained in:
parent
bc53425e8c
commit
a816c917b6
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ def main():
|
|||
sys.exit(0)
|
||||
|
||||
else:
|
||||
client_presence_re = re.compile(r"- (.*?)\(\d+\)")
|
||||
client_presence_re = re.compile(r"[-\]] (.*?)\(\d+\)")
|
||||
telnet = telnetlib.Telnet(host, port)
|
||||
telnet.write("c2s:show()\n")
|
||||
telnet_response = telnet.read_until("clients", 5)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue