---
title: "How to send an alert if there are 3 trigger keys detected within 1 minute in a FKM sampler"
description: "Sending an alert for 3 trigger keys detected within 1 minute in a FKM sampler requires configuring a rule with the rate function. The setup involves adjusting sampleInterval, triggerMode, and triggerCount settings in the FKM sampler and rule files."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004020025-geneos-how-to-send-an-alert-if-there-are-3-trigger-keys-detected-within-1-minute-in-a-fkm-sampler/index.html"
---
## Answer

Configure a rule that uses the [rate](https://docs.itrsgroup.com/docs/geneos/current/processing/monitoring-and-alerts/geneos_rulesactionsalerts_tr/index.html#Heading-using-functions-with-ranges-of-items) function.

## Configuration

#### Warning

Clicking the sampleNow button of the sampler will affect the accuracy of the rate computation.

- Rule - [FKM - Alert if 3 triggers within 1 minute.xml](/faq/downloads/geneos/115004020025-6419607228317-FKM_-_Alert_if_3_triggers_within_1_minute.xml)
- FKM sampler - [FKM 3 Triggers in 1 Minute.xml](/faq/downloads/geneos/115004020025-6419644450973-FKM_3_Triggers_in_1_Minute.xml)
  - Set the [sampleInterval setting](https://docs.itrsgroup.com/docs/geneos/current/collection/fkm/index.html#Heading-monitor-a-source-file-in-fkm) to 60 seconds
  - Set the [triggerMode setting](https://docs.itrsgroup.com/docs/geneos/current/collection/fkm/index.html#Heading-monitor-a-source-file-in-fkm) to "Multiple"
  - Add a triggerCount column
  - Set the [triggerCountMode setting](https://docs.itrsgroup.com/docs/geneos/current/collection/fkm-config/index.html#display--triggercountmode) to "sum"


