# Alarms

On Magic Pixel you can set two types of alarms for your tags

1. Tag Anamoly Detection Alarm&#x20;
2. Tag Expiry Alarm

**Tag Anomaly Detection Alarm**&#x20;

A tag anomaly alarm is used to detect and alert users if there is any significant deviation or abnormal activity of the tag events. On Magic Pixel, you can set up tag anomaly alarms for specific tags, providers or other attributes.&#x20;

**Setting up a tag anomaly detection alarm**

**Step 1:** In the alarms section, click on "Add Alarm" on the top right and select "Add Tag Anomaly Detection Alarm"&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FCANwbD1H8VAPm3BBSTDT%2Fadd%20alarm.png?alt=media&#x26;token=2904095a-53e8-45c6-aaa1-99e0812ec06b" alt=""><figcaption></figcaption></figure>

**Step 2:** Give a name and description to your new tag detection anomaly alarm&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FfxMJXbfPMPQlva4Brv56%2Falarm%20name.png?alt=media&#x26;token=03f1cd04-7b07-42a4-a0fe-f25b54c85a38" alt=""><figcaption></figcaption></figure>

**Step 3:**  You can now choose the sensitivity of the alarm. Sensitivity defines how much deviation is acceptable for your requirement. You can choose between "High", "Medium" or "Low" sensitivity and also set up the preferred timings in which you want this alarm to be detecting. &#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FlFQNIeVfqCjXCtFzYkDt%2Falarm%20sensitivity.png?alt=media&#x26;token=6c26959f-2144-46ed-bea8-b1d708f08471" alt=""><figcaption></figcaption></figure>

**Step 4:** You can also set up filters to make your alarm more specific based on parameters or fields like tag, providers, device type, etc.&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2F8QRg9EsopYypP4MrxVUc%2Falarm%20filters.png?alt=media&#x26;token=8cbb9287-bf71-4083-a457-505545ff6b56" alt=""><figcaption></figcaption></figure>

**Step 5:** Finally, set up the notifications group. As in, select user groups or individuals to whom alerts should be sent when a tag anomaly is detected. Now save and your tag anomaly detection alarm is live.&#x20;

**Tag Expiration Alarm**

A tag expiration alarm is essentially used to alert the selected user or user groups when a tag approaches its expiry.&#x20;

**Creating a tag expiration alarm**

**Step 1:** In the alarms section, click on "Add Alarm" on the top right and select "Add Tag Expiration Alarm"&#x20;

**Step 2:** Give a name and description to your new tag expiration alarm

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2FKCgzdKi5OjweNGznnyMk%2Fexpiration%20alarm%20.png?alt=media&#x26;token=9a3ede0a-78c2-4c49-ae26-c0fa0ab072a2" alt=""><figcaption></figcaption></figure>

**Step 3:** Set up the number of days before the expiry that you wish to be alerted (Example: 30 days before expiry)&#x20;

<figure><img src="https://3694280610-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgHNBt97gIENwdqupVwdu%2Fuploads%2F2i8Jcq78ZMmqZDWT8UMo%2Falarm%20expiry.png?alt=media&#x26;token=aaaa81a4-aaa8-4c1a-bfc5-6671ae2b8718" alt=""><figcaption></figcaption></figure>

**Step 4:** Finally, set up the notifications group. As in, select user groups or individuals to whom alerts should be sent when a tag approaches expiration. Now save and your tag expiration alarm is live.&#x20;

This is how you set up both the Tag Anomaly Detection and Tag Expiration Alarms on Magic Pixel.&#x20;
