# Configuring an alarm: example 1

Looking at the alarms defined in the system, we want to configure an alarm that reports, as soon as possible, of any ingestion job of an excessive size, in any of the preservation areas, and whoever it is that is creating it.

So, we will be ready to monitor the system performance, and check with the user that generated the job that it is really an intended job, as well as to consult on similar jobs to be launched.

As there is no preparameterized and easy to use alarm that references ingestion jobs in their starting steps, we will configure an instance of the alarm _**New state of ingestion job**_**.**

![](https://2476985709-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MkhEUvHaUAQ7Cu_eShA%2F-MkhWNnPbXHogPT2jzkN%2F-MkhWVIweQCJ3zrINIWL%2Fimage.png?alt=media\&token=431384d5-72ef-480e-9c7d-5311f070aab6)

The parameter values we will use are:

1. General:
   1. Criticality = Urgent.
   2. Importance = High.
   3. Check period: every minute. This alarm process does not affect system performance (no heavy duty to perform).
   4. User comment: an indication like ‘Early detection of big size ingestions’.
2. Alarm (these parameters are specific of this alarm):
   1. Achieved state: Created.
   2. Preservation area. We do not select anything, so the parameter will not apply and thus refer to all areas.
   3. User. We do not select any, so it will refer to ingestion jobs created by any user.
   4. Group. We do not select any, so it will refer to ingestion jobs created by a user belonging to any kind of user groups.
   5. Minimum size. The size we want to check for: for example, 20.000 Mbytes (almost 20 GB).
3. Notification:
   1. Message building rule. We do not want to wait for the detection of several objects to get the notification (we want early notice), so this parameter does not mean much in this case. Still though, using the _**Add the notification text under the new execution**_ is recommended.
   2. Maximum number of messages without sending e-mail. We set it to 1. So, as soon as there is a notification, it will be sent by e-mail. That is, there is no second text to add.
   3. Maximum time without sending e-mail. As if there is no notification, there is nothing to be sent, and if there is one notification it will be sent immediately. This parameter has no use in this particular case.
   4. Receiver (user). Whichever we want.
   5. Receiver (group). Whichever we want; it would be reasonable to set it for system administrators, if we are monitoring the space used, or for preservation administrators, if we are monitoring objects inadequately formed for preservation.
   6. Can deactivate notification. Checked, as there is no sense in this kind of notifications to be persistent.
   7. E-mail sending deactivates notification. Not checked, so we can see the notification active in the panel until we acknowledge manually.

With this configuration, it will be one minute at the most between the creation of an ingestion job with objects larger than 20Gbytes and the sending of an e-mail notifying the fact.
