slack config options
This commit is contained in:
@@ -281,6 +281,22 @@ _CONFIG_DEFINITIONS = {
|
|||||||
'PUSHOVER_ON_INTUP': (int, 'Pushover', 0),
|
'PUSHOVER_ON_INTUP': (int, 'Pushover', 0),
|
||||||
'REFRESH_USERS_INTERVAL': (int, 'Monitoring', 12),
|
'REFRESH_USERS_INTERVAL': (int, 'Monitoring', 12),
|
||||||
'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1),
|
'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1),
|
||||||
|
'SLACK_ENABLED': (int, 'Slack', 0),
|
||||||
|
'SLACK_HOOK': (str, 'Slack', ''),
|
||||||
|
'SLACK_CHANNEL': (str, 'Slack', ''),
|
||||||
|
'SLACK_ICON_EMOJI': (str, 'Slack', ''),
|
||||||
|
'SLACK_USERNAME': (str, 'Slack', ''),
|
||||||
|
'SLACK_ON_PLAY': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_STOP': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_PAUSE': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_RESUME': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_BUFFER': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_WATCHED': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_CREATED': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_EXTDOWN': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_INTDOWN': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_EXTUP': (int, 'Slack', 0),
|
||||||
|
'SLACK_ON_INTUP': (int, 'Slack', 0),
|
||||||
'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''),
|
'TELEGRAM_BOT_TOKEN': (str, 'Telegram', ''),
|
||||||
'TELEGRAM_ENABLED': (int, 'Telegram', 0),
|
'TELEGRAM_ENABLED': (int, 'Telegram', 0),
|
||||||
'TELEGRAM_CHAT_ID': (str, 'Telegram', ''),
|
'TELEGRAM_CHAT_ID': (str, 'Telegram', ''),
|
||||||
|
@@ -1652,6 +1652,7 @@ class SLACK(object):
|
|||||||
},
|
},
|
||||||
{'label': 'Slack Icon Emoji',
|
{'label': 'Slack Icon Emoji',
|
||||||
'value': self.icon_emoji,
|
'value': self.icon_emoji,
|
||||||
|
'description': 'Slack Icon emoji',
|
||||||
'name': 'Slack Icon',
|
'name': 'Slack Icon',
|
||||||
'input_type': 'text'
|
'input_type': 'text'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user