Knowledge Base >> alarmVM Email Filtering

alarmVM Email Filtering - Confio Article 1615

Confio Article: 1615 Published: Oct 07 2011 9:23 AM
Version: 2.4+ Topic(s): VMware
Product(s): Ignite
Database(s): VMware

alarmVM Email Filtering

alarmVM can send out a lot of emails throughout the day: metrics alarms, state alarms, event alarms and CIM alarms. We found it useful to be able to organize these emails as they came in to our inbox so we embedded some information in the email headers to help. This article will show you what that information is and how you can use it to set up email rules to help organize your alarmVM notifications.

 

The X-Header values

Burried in the headers of every alarmVM email notification is a custom X-Header value which can be used to organize your emails. The value of this header describes the type of alarm that the notification represents. Below is a list of the possible notification types.

  • X-AlarmType: METRIC
  • X-AlarmType: EVENT
  • X-AlarmType: STATE
  • X-AlarmType: CIM

 

This 'X-AlarmType' header and it's various values can be used in email rules to help organize your inbox or what ever else you would like to do with your alarmVM email notifications.

 

Email Rules
Here is a simple example of how you can use them to place each type of alarm into their own folders. This example uses MS Outlook. Let's assume you have created a folder called 'alarmVM' under your inbox and then in that folder you have a folder for each of the alarm types, like this

> Inbox
    > alarmVM
        > CIM
        > Events
        > Metrics
        > State


You can then create rules for each message type that will look something like these below.

 

Apply this rule after the message arrives

with 'Generated by alarmVM' in the body
  and with 'X-AlarmType: METRIC' in the message header
move it to Metrics folder

  

 Apply this rule after the message arrives
with 'Generated by alarmVM' in the body
  and with 'X-AlarmType: EVENT' in the message header
move it to Events folder

 

Apply this rule after the message arrives
with 'Generated by alarmVM' in the body
  and with 'X-AlarmType: STATE' in the message header
move it to State folder

 

Apply this rule after the message arrives
with 'Generated by alarmVM' in the body
  and with 'X-AlarmType: CIM' in the message header
move it to CIM folder

 

The result is that when alarmVM emails come in to your Inbox they will automatically get placed into the appropriate alarm type folder.