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:
parent
be79b6a1c6
commit
6da469e49b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-snmp",
|
"name" : "node-red-node-snmp",
|
||||||
"version" : "0.0.16",
|
"version" : "0.0.17",
|
||||||
"description" : "A Node-RED node that looks for SNMP oids.",
|
"description" : "A Node-RED node that looks for SNMP oids.",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"net-snmp" : "^1.1.19"
|
"net-snmp" : "^1.1.19"
|
||||||
|
@ -57,7 +57,6 @@
|
|||||||
return this.name ? "node_label_italic" : "";
|
return this.name ? "node_label_italic" : "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp set">
|
<script type="text/x-red" data-template-name="snmp set">
|
||||||
@ -71,7 +70,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
|
<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="1">v1</option>
|
||||||
<option value="2c">v2c</option>
|
<option value="2c">v2c</option>
|
||||||
</select>
|
</select>
|
||||||
@ -103,7 +102,6 @@
|
|||||||
{ "oid": ... }
|
{ "oid": ... }
|
||||||
]</pre>
|
]</pre>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
@ -115,6 +113,7 @@
|
|||||||
community: { value: "public" },
|
community: { value: "public" },
|
||||||
version: { value: "1", required: true },
|
version: { value: "1", required: true },
|
||||||
varbinds: { value: "" },
|
varbinds: { value: "" },
|
||||||
|
timeout: { value: 5 },
|
||||||
name: { value: "" }
|
name: { value: "" }
|
||||||
},
|
},
|
||||||
inputs: 1,
|
inputs: 1,
|
||||||
@ -127,7 +126,6 @@
|
|||||||
return this.name ? "node_label_italic" : "";
|
return this.name ? "node_label_italic" : "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp table">
|
<script type="text/x-red" data-template-name="snmp table">
|
||||||
@ -141,7 +139,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
|
<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="1">v1</option>
|
||||||
<option value="2c">v2c</option>
|
<option value="2c">v2c</option>
|
||||||
</select>
|
</select>
|
||||||
@ -189,7 +187,6 @@
|
|||||||
return this.name ? "node_label_italic" : "";
|
return this.name ? "node_label_italic" : "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp subtree">
|
<script type="text/x-red" data-template-name="snmp subtree">
|
||||||
@ -203,7 +200,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
|
<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="1">v1</option>
|
||||||
<option value="2c">v2c</option>
|
<option value="2c">v2c</option>
|
||||||
</select>
|
</select>
|
||||||
@ -251,11 +248,9 @@
|
|||||||
return this.name ? "node_label_italic" : "";
|
return this.name ? "node_label_italic" : "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script type="text/x-red" data-template-name="snmp walker">
|
<script type="text/x-red" data-template-name="snmp walker">
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
|
||||||
@ -267,7 +262,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-row">
|
<div class="form-row">
|
||||||
<label for="node-input-version"><i class="fa fa-bookmark"></i> Version</label>
|
<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="1">v1</option>
|
||||||
<option value="2c">v2c</option>
|
<option value="2c">v2c</option>
|
||||||
</select>
|
</select>
|
||||||
@ -315,5 +310,4 @@
|
|||||||
return this.name ? "node_label_italic" : "";
|
return this.name ? "node_label_italic" : "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user