{"componentChunkName":"component---src-templates-tutorial-js","path":"/en/tutorial/AlarmRule/","result":{"data":{"markdownRemark":{"html":"<h2 id=\"alarm-rules\"><a href=\"#alarm-rules\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Alarm Rules</h2>\n<p>SuperMap iManager provides Alarm Rules management, supports to add new alarm rules and manage existing rules.</p>\n<h3 id=\"add-alarm-rules\"><a href=\"#add-alarm-rules\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Add Alarm Rules</h3>\n<p>On the Alarm Rules page, click on <strong>Add Alarm Rules</strong> to add rules, the system will send alarm information according to rules setting.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/e5ba3d5000210eb6afcb52be7f017ddb/0a867/alarmruleen.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 45.714285714285715%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAIAAAC9o5sfAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA3klEQVQoz4WRC47CMAxEexbycxI7LdtfCOI0HGavveNUCLRa2KcqiuTMjO0Oe63X1kqRlJL33hhjO7i4Ts5ZpKA6lhJTKkXvUpTh1DGdEAIzo7Ysy7ZurKhSRNTGOpi6Fwb7AGIigh+iaq2ttUut8zyLwrYrf/EUwykSxYiDoEHytq7TNMHuSH4rRixk5/6Uc0bb2MW+7+OISQtO+xfPZB88psNbZsksFAL1RnLnHzHCse2UYqDoXND9vPBWjIruBImCT/Tf9P6PaY/Sp5kfAd6Zk5P56/4t201ytB/5Ae+6VZ7QSXdCAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"alarmrule\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/e5ba3d5000210eb6afcb52be7f017ddb/1e088/alarmruleen.png\"\n        srcset=\"/iManager_K8S/1014/static/e5ba3d5000210eb6afcb52be7f017ddb/65ed1/alarmruleen.png 210w,\n/iManager_K8S/1014/static/e5ba3d5000210eb6afcb52be7f017ddb/d10fb/alarmruleen.png 420w,\n/iManager_K8S/1014/static/e5ba3d5000210eb6afcb52be7f017ddb/1e088/alarmruleen.png 840w,\n/iManager_K8S/1014/static/e5ba3d5000210eb6afcb52be7f017ddb/0a867/alarmruleen.png 986w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>Alarm Object: Select a GIS environment or basic services environment.</li>\n<li>Alarm Service: Select a service from the environment.</li>\n<li>Triggering Condition: Select one of the trigger indicators(CPU useage larger than; Memory useage more than; Network incoming larger than; Filesystem useage more than).</li>\n<li>Triggering Threshold: Set a value for triggering.</li>\n<li>Restart Service: Enable the service restart function.</li>\n</ul>\n<p>For example, as the screenshot above, the alarm object is ‘basic services’ environment, the alarm service is ‘imanager-dashboard-api’, the triggering condition is ‘CPU useage larger than’, the triggering threshold is ‘70%‘. When the CPU useage of imanager-dashboard-api is larger than 70%, the system will alarm automatically. If the service trigger the alarm rule 3 times in a row, the service ‘imanager-dashboard-api’ will restart automatically.</p>\n<h3 id=\"alarm-rules-management\"><a href=\"#alarm-rules-management\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Alarm Rules Management</h3>\n<p>For the existing rules, you can view the setting details in the list, check the status, and the user who set the rule. Clicks on <strong>Silence</strong> and fills in the range of the time, the rule will not be alarmed during the time limit. Clicks on <strong>Alert History</strong> to see the alarm recording.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/70ad2/rulesmanageen.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 22.857142857142858%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAFCAIAAADKYVtkAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAArklEQVQY03WPSQ7DIBAE+UtsNlvs2CwSXBK/Ie/I/w9p44tzSEn0tGbTQGx9zjObpx8eg+kPQkoBOCfx/VHKckbZDTmA4Zyj9VSBeJoFk5xdJVKi2wcpJWjOOYTQWj+Oo5RirA3eoaSU2rYdGrZst+pR0JrkUnPCSEYHXq01xgjbe0dGa22M6a0577z3KzBhdRk7zSKIxQ5rlhs46TxyGErpdTa4PsKEZGJFXpXXF0XRNgmlRu2SAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"rulemanage\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/1e088/rulesmanageen.png\"\n        srcset=\"/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/65ed1/rulesmanageen.png 210w,\n/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/d10fb/rulesmanageen.png 420w,\n/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/1e088/rulesmanageen.png 840w,\n/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/78612/rulesmanageen.png 1260w,\n/iManager_K8S/1014/static/1b7bc1c747bae05f2d211359b992f370/70ad2/rulesmanageen.png 1665w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>","frontmatter":{"title":"Tutorial","next":null,"prev":null},"fields":{"path":"content/tutorial/AlarmRule.en.md","slug":"/en/tutorial/AlarmRule/","langKey":"en"}}},"pageContext":{"slug":"/en/tutorial/AlarmRule/"}}}