blob: ffbd8a2bf4fa4b7b26bb081ce38b597c896c74cc [file] [log] [blame]
"use strict";(self.webpackChunkhertzbeat=self.webpackChunkhertzbeat||[]).push([[85522],{15680:(e,t,n)=>{n.d(t,{xA:()=>g,yg:()=>u});var r=n(96540);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=r.createContext({}),c=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},g=function(e){var t=c(e.components);return r.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,i=e.originalType,l=e.parentName,g=s(e,["components","mdxType","originalType","parentName"]),d=c(n),u=o,f=d["".concat(l,".").concat(u)]||d[u]||p[u]||i;return n?r.createElement(f,a(a({ref:t},g),{},{components:n})):r.createElement(f,a({ref:t},g))}));function u(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=n.length,a=new Array(i);a[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,a[1]=s;for(var c=2;c<i;c++)a[c]=n[c];return r.createElement.apply(null,a)}return r.createElement.apply(null,n)}d.displayName="MDXCreateElement"},29239:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>a,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>c});var r=n(58168),o=(n(96540),n(15680));const i={id:"alert_dingtalk",title:"Alert DingDing robot notification",sidebar_label:"Alert DingDing robot notification",keywords:["open source monitoring tool","open source alerter","open source DingDing robot notification"]},a=void 0,s={unversionedId:"help/alert_dingtalk",id:"version-v1.4.x/help/alert_dingtalk",title:"Alert DingDing robot notification",description:"After the threshold is triggered send alarm information and notify the recipient by DingDing robot.",source:"@site/versioned_docs/version-v1.4.x/help/alert_dingtalk.md",sourceDirName:"help",slug:"/help/alert_dingtalk",permalink:"/docs/v1.4.x/help/alert_dingtalk",draft:!1,editUrl:"https://github.com/dromara/hertzbeat/edit/master/home/versioned_docs/version-v1.4.x/help/alert_dingtalk.md",tags:[],version:"v1.4.x",frontMatter:{id:"alert_dingtalk",title:"Alert DingDing robot notification",sidebar_label:"Alert DingDing robot notification",keywords:["open source monitoring tool","open source alerter","open source DingDing robot notification"]},sidebar:"docs",previous:{title:"Alert enterprise Wechat notification",permalink:"/docs/v1.4.x/help/alert_wework"},next:{title:"Alert FeiShu robot notification",permalink:"/docs/v1.4.x/help/alert_feishu"}},l={},c=[{value:"Operation steps",id:"operation-steps",level:3},{value:"DingDing robot common issues",id:"dingding-robot-common-issues",level:3}],g={toc:c};function p(e){let{components:t,...i}=e;return(0,o.yg)("wrapper",(0,r.A)({},g,i,{components:t,mdxType:"MDXLayout"}),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"After the threshold is triggered send alarm information and notify the recipient by DingDing robot. ")),(0,o.yg)("h3",{id:"operation-steps"},"Operation steps"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("strong",{parentName:"li"},"\u3010DingDing desktop client\u3011-> \u3010Group settings\u3011-> \u3010Intelligent group assistant\u3011-> \u3010Add new robot-select custom\u3011-> \u3010Set robot name and avatar\u3011-> \u3010Note\u26a0\ufe0fSet custom keywords: HertzBeat\u3011 ->\u3010Copy its webhook address after adding successfully\u3011"))),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"Note\u26a0\ufe0f When adding a robot, its custom keywords need to be set in the security setting block: HertzBeat. Other security settings or the IP segment don't need to be filled in. ")),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"email",src:n(65694).A,width:"1426",height:"1142"})," "),(0,o.yg)("ol",{start:2},(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("strong",{parentName:"li"},"\u3010Save access_token value of the WebHook address of the robot\u3011"))),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},"eg\uff1a webHook address\uff1a",(0,o.yg)("inlineCode",{parentName:"p"},"https://oapi.dingtalk.com/robot/send?access_token=43aac28a236e001285ed84e473f8eabee70f63c7a70287acb0e0f8b65fade64f"),(0,o.yg)("br",{parentName:"p"}),"\n","Its robot access_token value is ",(0,o.yg)("inlineCode",{parentName:"p"},"43aac28a236e001285ed84e473f8eabee70f63c7a70287acb0e0f8b65fade64f"))),(0,o.yg)("ol",{start:3},(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("strong",{parentName:"li"},"\u3010Alarm notification\u3011->\u3010Add new recipient\u3011 ->\u3010Select DingDing robot notification method\u3011->\u3010Set DingDing robot ACCESS_TOKEN\u3011-> \u3010Confirm\u3011"))),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"email",src:n(67655).A,width:"3776",height:"978"})),(0,o.yg)("ol",{start:4},(0,o.yg)("li",{parentName:"ol"},(0,o.yg)("strong",{parentName:"li"},"Configure the associated alarm notification strategy\u26a0\ufe0f \u3010Add new notification strategy\u3011-> \u3010Associate the recipient just set\u3011-> \u3010Confirm\u3011")," ")),(0,o.yg)("blockquote",null,(0,o.yg)("p",{parentName:"blockquote"},(0,o.yg)("strong",{parentName:"p"},"Note\u26a0\ufe0f Adding a new recipient does not mean that it is effective to receive alarm information. It is also necessary to configure the associated alarm notification strategy, that is, to specify which messages are sent to which recipients.")," ")),(0,o.yg)("p",null,(0,o.yg)("img",{alt:"email",src:n(87538).A,width:"3756",height:"1288"})," "),(0,o.yg)("h3",{id:"dingding-robot-common-issues"},"DingDing robot common issues"),(0,o.yg)("ol",null,(0,o.yg)("li",{parentName:"ol"},"DingDing group did not receive the robot alarm notification. ",(0,o.yg)("blockquote",{parentName:"li"},(0,o.yg)("p",{parentName:"blockquote"},"Please check whether there is any triggered alarm information in the alarm center.",(0,o.yg)("br",{parentName:"p"}),"\n","Please check whether DingDing robot is configured with security custom keywords \uff1aHertzBeat.",(0,o.yg)("br",{parentName:"p"}),"\n","Please check whether the robot ACCESS_TOKEN is configured correctly and whether the alarm strategy association is configured.")))),(0,o.yg)("p",null,"Other issues can be fed back through the communication group ISSUE!"))}p.isMDXComponent=!0},87538:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/alert-notice-4-7b968f3d348ff468ad66fd59466be545.png"},65694:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/alert-notice-8-75a6b01054fecfaf639a9f1127954538.png"},67655:(e,t,n)=>{n.d(t,{A:()=>r});const r=n.p+"assets/images/alert-notice-9-fceafe37c9566f50bf6dd2b151b0dcb8.png"}}]);