Difference between revisions of "UM:Data Collection"

Jump to navigation Jump to search
198 bytes added ,  10:17, 24 February 2014
Line 346: Line 346:
== Applying template to node ==
== Applying template to node ==
To apply a template to one or more nodes, right-click on template object in Object Browser and select '''Apply''' from popup menu. Node selection dialog will open. Select the nodes that you wish to apply template to, and click '''OK''' (you can select multiple nodes in the list by holding CTRL key). Please note that if data collection editor is open for any of the target nodes, either by you or another administrator, template applying will be delayed until data collection editor for that node will be closed.
To apply a template to one or more nodes, right-click on template object in Object Browser and select '''Apply''' from popup menu. Node selection dialog will open. Select the nodes that you wish to apply template to, and click '''OK''' (you can select multiple nodes in the list by holding CTRL key). Please note that if data collection editor is open for any of the target nodes, either by you or another administrator, template applying will be delayed until data collection editor for that node will be closed.
 
=== Automatic Apply Rules ===
<pre>
sub main() {
if ($node->snmpOID == ".1.3.6.1.4.1.311.1.1.3.1.2" || $node->snmpOID == ".1.3.6.1.4.1.311.1.1.3.1.1") {
return 1;
} else {
return 0;
}
}
</pre>


== Removing template from node ==
== Removing template from node ==
38

edits

Navigation menu