# Excuse me, how can Netdata set custom alarm notifications to DingTalk

**URL:** <https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281>\
**Category:** Help\
**Tags:** platform\
**Created:** [June 13, 2023, 11:15am UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281 "2023-06-13T11:15:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![boju](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@boju](https://community.netdata.cloud/u/boju)\
**Post date:** [June 13, 2023, 11:15am UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281/1 "2023-06-13T11:15:58Z")

</div>

##how can Netdata set custom alarm notifications to DingTalk

##I have tried many methods, but I still haven’t received an alarm notification on the nail. Can you please tell me how to configure it in the Ubuntu environment so that the nail can receive an alarm message

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [June 13, 2023, 12:37pm UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281/2 "2023-06-13T12:37:09Z")

</div>

Hi @boju ,

Welcome to Netdata Forums and raising your question to us.

I found this GH ticket from a user setting this up [Can I add a alarm notification which can send messages to DingTalk? · Issue #6044 · netdata/netdata · GitHub](https://github.com/netdata/netdata/issues/6044)  
We don’t have this integration as part our official list but you can basically create your script to send the notifications to DingTalk, please take a look at the issue and this [docs](https://learn.netdata.cloud/docs/alerts-and-notifications/notifications/netdata-agent-notifications/) and see if they help.

Regards,  
Hugo

---

<div class="post-metadata">

**Author:** ![boju](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@boju](https://community.netdata.cloud/u/boju)\
**Post date:** [June 14, 2023, 10:40am UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281/3 "2023-06-14T10:40:51Z")

</div>

Thank you very much for your answer. Please help me take a look. Can I use the following method

## 

version: netdata v1.19.0

Enter the configuration file directory of netdata/etc/netdata and create a file named health\_alarm\_notify.sh Script file for notify.sh

#/ Bin/bash  
#Nail Robot Webhook Address  
Webhook\_ URL=“xxx“  
#Alarm topic  
Subject=“$1”  
#Alarm content  
Body=“$2”  
#Send HTTP request to nail robot  
Curl - s - k - H ‘Content Type: application/json’ - X POST - d “{” msgtype ": " text ", " text “: {” content ": " $subject  
$body {} "$webhook\_ URL\>/dev/null

In the configuration file directory/etc/netdata/health. d of netdata, create a cpu. conf and add the following content

#Alarm notification script  
Notify\_ Script='/etc/netdata/health\_ Alarm\_ Notify. sh ’  
#Set the conditions for triggering alarms (such as CPU usage exceeding 80%)  
Warncpu=80  
#Alarm notification message  
Notify\_ Message=“CPU usage exceeds 80%, current value is $STATUS”

##

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [June 14, 2023, 12:46pm UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281/4 "2023-06-14T12:46:07Z")

</div>

Hi,

I wasn’t able to clearly understand your question. Could you better explain it?  
Also, have tried to implement this based on the example provided on the GH issue?

---

<div class="post-metadata">

**Author:** ![boju](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@boju](https://community.netdata.cloud/u/boju)\
**Post date:** [July 1, 2023, 11:08am UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281/5 "2023-07-01T11:08:20Z")

</div>

The document I received last time still did not solve my problem. Can you provide specific configuration files and operation steps

---

<div class="post-metadata">

**Author:** ![hugo](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/hugo/32/3714_2.png) [@hugo](https://community.netdata.cloud/u/hugo)\
**Post date:** [July 10, 2023, 3:57pm UTC](https://community.netdata.cloud/t/excuse-me-how-can-netdata-set-custom-alarm-notifications-to-dingtalk/4281/6 "2023-07-10T15:57:58Z")

</div>

Seems we have actual docs on how to send notifications to a custom endpoint, please check it this one helps [Custom Agent alert notifications | Learn Netdata](https://learn.netdata.cloud/docs/alerting/notifications/netdata-agent-notifications/custom-endpoint)?
