- Notification Options
- Limitations of Slack, Webhook, Twitter Notifications
- How to configure Slack channel PowerScale events AND Eyeglass events
- Webhooks
- How to Configure Private Tweets of Alarms
- Rocket.chat App Setup:
- Example webhook payload
- Rocket.chat Webhook payload object common properties
- Description
- Example 1: (Maximum Values)
- Example 2: (Minimal Values)
Notification Options
For advanced alarm filtering and forwarding over SNMP or Syslog, see the Eyeglass Alarm forwarding guide.
For advanced alarm custom routing configurations, see this guide.
The Steps to configure Email Notification are found in the Eyeglass PowerScale Edition Quick Start Guide for Eyeglass Installation.
Additional information for Microsoft Exchange can be found in the tech note How to Setup Email alarms with Exchange.
Limitations of Slack, Webhook, Twitter Notifications
- All of these options require transparent NAT to reach the Internet services. No support for OS proxy is available for this notification option.
How to configure Slack channel PowerScale events AND Eyeglass events
- Go to https://superna.slack.com/apps/manage/custom-integrations (for your domain) as admin.
- Select Incoming WebHooks.
- Configure as per the screenshot and pick the channel to receive alarms.
- Cut and paste the Webhook URL for configuration in Eyeglass.
- Login to Eyeglass.
- Open notification centre.
- Select the Slack tab.
- Set the Webhook URL created above.
- Set the level alarms that will be sent to the channel.
Note: This includes DR events from Eyeglass and PowerScale events that are polled from the cluster.
Webhooks
Webhooks use http post commands to send events to any system that supports this interface.
- Open notification centre.
- Click the Webhooks tab.
- Enter the URL of the target system to receive the post command.
- Click plus headers to enter any key-value pairs needed to send to the upstream system
- Once completed test with the test button and verify with the upstream system the test even was sent.
- Now all alarms Eyeglass and PowerScale will be sent as Webhooks.
How to Configure Private Tweets of Alarms
Twitter App Setup:
https://twitter.com/signup and sign up for an account. Please note this account is the account responsible for tweeting alarms. (Best to create an eyeglass specific account from scratch).
*You don’t need to complete the 6-step introduction tutorial Twitter starts.
Once created, check your inbox for the Twitter verification email and verify it.
With the account verified, in order to use Twitter apps, the account must have a mobile phone number associated and verified.
Create New App
Fill in Name, Description and Website and “Create your Twitter application”.
With the application created, click the “Permissions” Tab
Change access to “Read and Write” and Update Settings.
Click the Keys and Access Tokens tab at the bottom of the page, and click “Create my access token”.
**If you wish to have the alarm tweets private (only to those who your appliance Twitter Account allows to follow) you can select the checkbox called “Protect my tweets” here https://twitter.com/settings/security (If selected, only those you approve will receive your Tweets. Your future Tweets will not be available publicly. Tweets posted previously may still be publicly visible in some places)
Eyeglass Twitter Setup:
Eyeglass Main menu > Notification Center > Twitter
Copy the Keys and Tokens from the Twitter Keys and Access Tokens page into the appropriate fields on the Eyeglass UI.
Select the Alarm Severity Filter: Critical only tweets critical alarms, Major tweets Major and Critical alarms, etc.
Submit
Once submitted, the account will now tweet out alarms when raised in Eyeglass to the Twitter account previously created.
To get real-time notifications, we recommend following the recently created appliance on Twitter with your personal Twitter accounts. You can find the follow button here: Eyeglass Main menu > Notification Center > Twitter > [Follow “name”] or by clicking the name of the eyeglasses Twitter account hyperlinked in both the splash page and the Add/Edit/Delete Twitter Account” page.
Here’s a tutorial on setting up notifications with iPhone (same for most smartphones). http://www.wikihow.com/Get-Push-Notifications-for-a-Users-Tweets-on-Twitter-for-iPhone
NOTE: Twitter will apply its own logic to prevent "re" tweets of what it considers to be the same message. This may prevent tweet alarms that are raised and cleared and raised again within the period of time that Twitter is monitoring for re-tweets.
How to Configure rocket.chat Alarms
Rocket.chat App Setup:
https://www.rocket.chat/ and sign up or create an account.
Follow the steps to integrate webhooks
Example webhook payload
Webhooks deliver the responses to your typeforms in JSON format. Let's walk through each object in a typical webhook payload. First, here's what a complete payload looks like when it's delivered to a webhook:
Rocket.chat Webhook payload object common properties
Each webhook event payload also contains properties unique to the event. You can find the unique properties in the individual event type sections.
Description
Followings are the example of Eyeglass notification JSON output which gets posted on any Webhook URL. This information will help the dev/support team to integrate any third party Chat Application incoming webhooks to post messages in a specific Chat Group.
Example 1: (Maximum Values)
Example 2: (Minimal Values)
These fields can be mapped to respective webhook message schema to construct useful message events.
For example, Rocket.Chat application incoming webhook configuration script below uses these fields to send incoming messages in a specific group:
- Notification Options
- Limitations of Slack, Webhook, Twitter Notifications
- How to configure Slack channel PowerScale events AND Eyeglass events
- Webhooks
- How to Configure Private Tweets of Alarms
- Rocket.chat App Setup:
- Example webhook payload
- Rocket.chat Webhook payload object common properties
- Description
- Example 1: (Maximum Values)
- Example 2: (Minimal Values)