1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

fix missing timeout variable from SNMP node

This commit is contained in:
Dave Conway-Jones 2018-01-30 21:57:44 +00:00
parent be79b6a1c6
commit 6da469e49b
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 6 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{
"name" : "node-red-node-snmp",
"version" : "0.0.16",
"version" : "0.0.17",
"description" : "A Node-RED node that looks for SNMP oids.",
"dependencies" : {
"net-snmp" : "^1.1.19"

View File

@ -57,7 +57,6 @@
return this.name ? "node_label_italic" : "";
}
});
</script>
<script type="text/x-red" data-template-name="snmp set">
@ -71,7 +70,7 @@
</div>
<div class="form-row">
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
<select type="text" id="node-input-version" style="width: 150px;">
<select type="text" id="node-input-version" style="width:150px;">
<option value="1">v1</option>
<option value="2c">v2c</option>
</select>
@ -103,7 +102,6 @@
{ "oid": ... }
]</pre>
</p>
</script>
<script type="text/javascript">
@ -115,6 +113,7 @@
community: { value: "public" },
version: { value: "1", required: true },
varbinds: { value: "" },
timeout: { value: 5 },
name: { value: "" }
},
inputs: 1,
@ -127,7 +126,6 @@
return this.name ? "node_label_italic" : "";
}
});
</script>
<script type="text/x-red" data-template-name="snmp table">
@ -141,7 +139,7 @@
</div>
<div class="form-row">
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
<select type="text" id="node-input-version" style="width: 150px;">
<select type="text" id="node-input-version" style="width:150px;">
<option value="1">v1</option>
<option value="2c">v2c</option>
</select>
@ -189,7 +187,6 @@
return this.name ? "node_label_italic" : "";
}
});
</script>
<script type="text/x-red" data-template-name="snmp subtree">
@ -203,7 +200,7 @@
</div>
<div class="form-row">
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
<select type="text" id="node-input-version" style="width: 150px;">
<select type="text" id="node-input-version" style="width:150px;">
<option value="1">v1</option>
<option value="2c">v2c</option>
</select>
@ -251,11 +248,9 @@
return this.name ? "node_label_italic" : "";
}
});
</script>
<script type="text/x-red" data-template-name="snmp walker">
<div class="form-row">
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
@ -267,7 +262,7 @@
</div>
<div class="form-row">
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
<select type="text" id="node-input-version" style="width: 150px;">
<select type="text" id="node-input-version" style="width:150px;">
<option value="1">v1</option>
<option value="2c">v2c</option>
</select>
@ -315,5 +310,4 @@
return this.name ? "node_label_italic" : "";
}
});
</script>