> ## Documentation Index
> Fetch the complete documentation index at: https://doc.lwops.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 11.6 深信服AD设备的链路探测

> 1.1启动链路探测增加'深信服专线链路探测'选项下载附件LwLinksMonitor.php1、进入该目录 cd /itops/nginx/html/lwjk_app/modules/links/models 2、备份原来LwLinksMonitor.php文件 mv LwLinksMonit...

## **1**.1启动链路探测增加"深信服专线链路探测"选项

下载附件LwLinksMonitor.php

1、进入该目录 cd /itops/nginx/html/lwjk\_app/modules/links/models 2、备份原来LwLinksMonitor.php文件 mv LwLinksMonitor.php LwLinksMonitor.php.bk 3、上传从附件下载的LwLinksMonitor.php 到该目录 4、修改文件属性 chmod +x LwLinksMonitor.php\
chown itops:itops LwLinksMonitor.php 完成以上步骤后，重新进入web界面即可看见该选项

## **1**.2上传深信服专线链路探测模板

1.下载附件 深信服专线链路探测.xml 2.导入模板 ![11.6 深信服AD设备的链路探测 操作截图 1](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/sangfor-ad-link/image-01.png)

## **1**.3注意事项

1.原路径下的LwLinksMonitor.php是加密的所以不能直接修改，但是附件中LwLinksMonitor.php是可以任意修改的

LwLinksMonitor.php里面的189行的name则是对应启动链路探测增加选项对应的名字 LwLinksMonitor.php里面的191行的template则是对应模板的名字 同理可知道如需增加其他厂家的链路探测，可以在LwLinksMonitor.php增加相应的代码，以及制作相对应的探测模板 ![11.6 深信服AD设备的链路探测 操作截图 2](https://lwweb.oss-cn-shenzhen.aliyuncs.com/docs/images/yuque/sangfor-ad-link/image-02.png)
