ManageEngine® Applications Manager 编辑服务监视器API |
||
这个API允许您编辑指定服务监视器的明细。
API - 编辑服务监视器
http://[Host]:[Port]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Service Monitoring&resourceid=[RESOURCEID]&newdisplayname=[NEWDISPLAYNAME]&pollInterval=[poll
Interval]&command=[COMMAND]&search=[SEARCH]
或
http://[Host]:[Port]/AppManager/xml/EditMonitor?apikey=[APIKEY]&type=Service Monitoring&displayname=[DISPLAYNAME]&newdisplayname=[DISPLAYNAME]&pollInterval=[pollIn terval]&command=[COMMAND]&search=[SEARCH]
请求参数
字段 | 描述 |
command | 在连接到端口后要执行的命令 |
search | 在执行命令后要搜索的字串 |
其它的API通用参数和错误处理 |
请求示例
http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=Service Monitoring&resourceid=10000116&newdisplayname=zoho
http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=Service Monitoring&resourceid=10000116&command=GET / HTTP1.1
http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=Service Monitoring&resourceid=10000116&search=h
http://app-windows:9090/AppManager/xml/EditMonitor?apikey=9481566a94f26d8e44ee0889fd7628a0&type=Service Monitoring&resourceid=10000116&pollInterval=10&search=&command=GET/HTTP1.0&newdisplayname=zoho
编辑DNS监视器API |
编辑SSL证书监视器API |