Fixed Mumble probing.
This commit is contained in:
parent
f4338ca7b2
commit
8f8bb0dffc
2 changed files with 15 additions and 4 deletions
|
@ -50,7 +50,7 @@ public class MumbleLogAnalyzer
|
||||||
// .arg(QChar::fromLatin1(c))
|
// .arg(QChar::fromLatin1(c))
|
||||||
// .arg(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz"))
|
// .arg(QDateTime::currentDateTime().toString("yyyy-MM-dd hh:mm:ss.zzz"))
|
||||||
// .arg(msg);
|
// .arg(msg);
|
||||||
public static final Pattern MUMBLE_LOG_PATTERN = Pattern.compile("^<(?<level>[DWCFX])>(?<time>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}.\\d{3}) (?<message>.*)$");
|
public static final Pattern MUMBLE_LOG_PATTERN = Pattern.compile("^<(?<level>[DWCFX])>(?<datetime>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}.\\d{3}) (?<message>.*)$");
|
||||||
|
|
||||||
private int errorCount;
|
private int errorCount;
|
||||||
private PathCounters counters;
|
private PathCounters counters;
|
||||||
|
|
|
@ -55,13 +55,24 @@ public class MumbleProber
|
||||||
{
|
{
|
||||||
PathCounters result;
|
PathCounters result;
|
||||||
|
|
||||||
|
// metrics.service.users
|
||||||
|
// metrics.service.ip
|
||||||
|
// metrics.service.ip.ipv4
|
||||||
|
// metrics.service.ip.ipv6
|
||||||
|
// metrics.audioconferencing.joiners
|
||||||
|
// metrics.audioconferencing.rooms.active
|
||||||
|
// metrics.mumble.logs.debug
|
||||||
|
// metrics.mumble.logs.warning
|
||||||
|
// metrics.mumble.logs.critical
|
||||||
|
// metrics.mumble.logs.fatal
|
||||||
|
// metrics.mumble.logs.default
|
||||||
result = MumbleLogAnalyzer.probe(logs);
|
result = MumbleLogAnalyzer.probe(logs);
|
||||||
|
|
||||||
// result.putAll(MumbleDatabaseAnalyzer.probe());
|
// result.putAll(MumbleDatabaseAnalyzer.probe());
|
||||||
|
// metrics.service.accounts
|
||||||
|
// metrics.service.database.bytes
|
||||||
|
|
||||||
// accounts
|
// metrics.service.files.bytes
|
||||||
// database size
|
|
||||||
// file size
|
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in a new issue