##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
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”
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?