脚本向导-帮助文档

脚本向导-帮助文档


获取SNMP值

<h1>功能</h1> <p>获取指定OID的SNMP值。</p> <h1><strong>输入</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>SNMP</td> <td>【TSNMP】SNMP对象,一般填写“创建SNMP对象”函数传递的SNMP对象变量。</td> <td>SNMP对象变量名</td> </tr> <tr> <td>OID</td> <td>【字符串】指定需要获取SNMP值的OID,具体可以登陆网址:<a href="http://www.ttlsa.com/monitor/snmp-oid/">http://www.ttlsa.com/monitor/snmp-oid/</a> 进行查看。</td> <td>'1.3.6.1.2.1.1.1.0'</td> </tr> <tr> <td>数据类型</td> <td>【枚举】需要获取的SNMP值的数据类型,可选择Integer/Double/String。</td> <td>Integer</td> </tr> </tbody> </table> <h1><strong>输出</strong></h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>值</td> <td>【字符串】输出指定OID的数据值</td> <td>创建输出变量名</td> </tr> </tbody> </table> <h1><strong>注意/说明</strong></h1> <p>1.输入表里的“OID”项填写的内容可以参考网址 <a href="http://www.ttlsa.com/monitor/snmp-oid/">http://www.ttlsa.com/monitor/snmp-oid/</a> 。</p> <h1><strong>相关函数</strong></h1> <p>无</p> <h1><strong>示例/演示</strong></h1> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/6b72595aae096cbfed00243faa878039" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/9aa2eb4183a49e7fa3e92cd6d94d27e0" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/7a8c156b00b8c53c52ac6dc5ff2c7176" title="[组件[获取SNMP值函数示例]_20210506.db">组件[获取SNMP值函数示例]_20210506.db</a></p>

页面列表

ITEM_HTML