Commit c6e662da authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Add message type.

parent c0c73e31
...@@ -469,7 +469,6 @@ class Config(BaseConfig): ...@@ -469,7 +469,6 @@ class Config(BaseConfig):
enable_metric_scopes = ListParameter(item=StringParameter(), default=[]) enable_metric_scopes = ListParameter(item=StringParameter(), default=[])
# #
enable_snmptrap = BooleanParameter(default=False) enable_snmptrap = BooleanParameter(default=False)
enable_syslog = BooleanParameter(default=False)
class mongo(ConfigSection): class mongo(ConfigSection):
addresses = ServiceParameter(service="mongo", wait=True) addresses = ServiceParameter(service="mongo", wait=True)
......
...@@ -30,7 +30,7 @@ MX_PROFILE_ID = "Profile-Id" ...@@ -30,7 +30,7 @@ MX_PROFILE_ID = "Profile-Id"
MX_LABELS = "Labels" MX_LABELS = "Labels"
MX_H_VALUE_SPLITTER = ";" MX_H_VALUE_SPLITTER = ";"
# Available message types # Available message types
MESSAGE_TYPES = {"alarm", "managedobject", "reboot", "metrics", "notification"} MESSAGE_TYPES = {"alarm", "managedobject", "reboot", "metrics", "notification", "snmptrap"}
MESSAGE_HEADERS = { MESSAGE_HEADERS = {
MX_SHARDING_KEY, MX_SHARDING_KEY,
MX_TO, MX_TO,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment