【文件属性】:
文件名称:net-snmp:适用于net-snmp node.js包的Meteor智能包
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-07 12:53:38
JavaScript
frpz:net-snmp
适用于net-snmp 包的Meteor智能包
安装
只需添加软件包:
meteor add frpz:net-snmp
有关更多信息,请参见
用法
您只能在服务器端访问snmp变量
例子
在服务器端:
Meteor . methods ( {
getArpTable : function ( target ) {
var community = "public" ;
var version = ( "2c" == "2c" ) ? snmp . Version2c : snmp . Version1 ;
var oid = "1.3.6.1.2.1.17.4.3.1.2" ;
var session = snmp . createSession ( target , community , { version : version } )
【文件预览】:
net-snmp-master
----net-snmp.js(64B)
----package.js(664B)
----LICENSE(1KB)
----README.md(1KB)