Graphical statistics

* Support for hostnames containing '-' characters
* Documentation update

fixes #261
This commit is contained in:
Antoine Nguyen
2012-06-09 11:04:20 +02:00
parent 85d83400f3
commit 0c6dc13168
3 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ class LogParser(object):
self.workdict = {}
self.lupdates = {}
self.line_expr = re.compile("(\w+)\s+(\d+)\s+(\d+):(\d+):(\d+)\s+(\w+)\s+(\w+)/?\w*[[](\d+)[]]:\s+(.*)")
self.line_expr = re.compile("(\w+)\s+(\d+)\s+(\d+):(\d+):(\d+)\s+([-\w]+)\s+(\w+)/?\w*[[](\d+)[]]:\s+(.*)")
def init_rrd(self, fname, m):
"""init_rrd