kongdeqiang
2023-05-11 d4e6ec0389dd8abbcce4ee4f9e5cdad1633491d5
src/main/resources/templates/customInfo/add.html
@@ -69,7 +69,7 @@
                </div>
                <div class="form-group">
                    <label><font color="red">*</font>自定义监控项执行的指令或脚本<span class="text-muted" th:text="${blockStr}">敏感字符串过滤</span></label>
                    <input type="text" autocomplete="off"  th:value="${customInfo.customShell}" class="validate[required,maxSize[255]] form-control" name="customShell" id="customShell" placeholder="如:/wgcloud/fileCount.sh">
                    <input type="text" autocomplete="off"  th:value="${customInfo.customShell}" class="validate[required,maxSize[255]] form-control" name="customShell" id="customShell" placeholder="如:/tssw/fileCount.sh">
                </div>
                <div class="form-group">
                    <label >告警表达式<span class="text-muted">(表达式成立时即告警,不成立不告警,如:<code class="highlighter-rouge" style="font-size:100%">result>=100</code>,其中<code class="highlighter-rouge" style="font-size:100%">result</code>为固定写法,标识为上面的指令或脚本输出结果值(系统会自动替换为数值),注意表达式需为英文输入法拼写)</span></label>