34 lines
848 B
JavaScript
34 lines
848 B
JavaScript
/*
|
|
Navicat Premium Data Transfer
|
|
|
|
Source Server : mongodb-106
|
|
Source Server Type : MongoDB
|
|
Source Server Version : 50020
|
|
Source Host : 116.236.50.106:37027
|
|
Source Schema : cabinet_device
|
|
|
|
Target Server Type : MongoDB
|
|
Target Server Version : 50020
|
|
File Encoding : 65001
|
|
|
|
Date: 05/01/2024 16:32:35
|
|
*/
|
|
|
|
|
|
// ----------------------------
|
|
// Collection structure for IEMS2-snmpParam
|
|
// ----------------------------
|
|
db.getCollection("IEMS2-snmpParam").drop();
|
|
db.createCollection("IEMS2-snmpParam");
|
|
|
|
// ----------------------------
|
|
// Documents of IEMS2-snmpParam
|
|
// ----------------------------
|
|
db.getCollection("IEMS2-snmpParam").insert([ {
|
|
_id: "1",
|
|
getPort: NumberInt("161"),
|
|
trapPort: NumberInt("162"),
|
|
snmpHost: "172.16.100.21",
|
|
_class: "com.project.snmp.beans.SnmpParam"
|
|
} ]);
|