diff --git a/lib/parsers/shell.py b/lib/parsers/shell.py new file mode 100644 index 0000000..15d5bf9 --- /dev/null +++ b/lib/parsers/shell.py @@ -0,0 +1,6 @@ +from parser import Parser + + +class ShellParser(Parser): + def __init__(self): + pass \ No newline at end of file diff --git a/lib/processors/mariadb.py b/lib/processors/mariadb.py new file mode 100644 index 0000000..f8094ec --- /dev/null +++ b/lib/processors/mariadb.py @@ -0,0 +1,14 @@ +""" +The MariaDB processor +""" + +from processor import Processor + + +class MariadbProcessor(Processor): + def __init__(self): + pass + + +def create(kwargs): + return MariadbProcessor(**kwargs) \ No newline at end of file diff --git a/lib/processors/mongodb.py b/lib/processors/mongodb.py index c94c84c..8b9d579 100644 --- a/lib/processors/mongodb.py +++ b/lib/processors/mongodb.py @@ -5,10 +5,10 @@ The MongoDB processor from processor import Processor -class Mongodb(Processor): +class MongodbProcessor(Processor): def __init__(self): pass def create(kwargs): - return Mongodb(**kwargs) \ No newline at end of file + return MongodbProcessor(**kwargs) \ No newline at end of file diff --git a/lib/processors/syslog.py b/lib/processors/syslog.py index c75e158..645b488 100644 --- a/lib/processors/syslog.py +++ b/lib/processors/syslog.py @@ -5,10 +5,10 @@ The syslog processor from processor import Processor -class Syslog(Processor): +class SyslogProcessor(Processor): def __init__(self): pass def create(kwargs): - return Syslog(**kwargs) \ No newline at end of file + return SyslogProcessor(**kwargs) \ No newline at end of file diff --git a/linspector.json b/linspector.json index b0d6794..aae9209 100644 --- a/linspector.json +++ b/linspector.json @@ -40,6 +40,10 @@ { "class": "syslog", "args":{ "host": "syslog.linspector.org", "user": "syslog", "password": "secret" } + }, + { + "class": "mariadb", + "args":{ "host": "mariadb.linspector.org", "port": "3306", "user": "maria", "password": "secret", "database": "linspector" } } ], "services":[