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

Add message type.

parent c0c73e31
......@@ -469,7 +469,6 @@ class Config(BaseConfig):
enable_metric_scopes = ListParameter(item=StringParameter(), default=[])
#
enable_snmptrap = BooleanParameter(default=False)
enable_syslog = BooleanParameter(default=False)
class mongo(ConfigSection):
addresses = ServiceParameter(service="mongo", wait=True)
......
......@@ -30,7 +30,7 @@ MX_PROFILE_ID = "Profile-Id"
MX_LABELS = "Labels"
MX_H_VALUE_SPLITTER = ";"
# Available message types
MESSAGE_TYPES = {"alarm", "managedobject", "reboot", "metrics", "notification"}
MESSAGE_TYPES = {"alarm", "managedobject", "reboot", "metrics", "notification", "snmptrap"}
MESSAGE_HEADERS = {
MX_SHARDING_KEY,
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