- The following can be added to
Collecting/Smarts-Collector/emc-smarts/conf/pm.xml which will drop collection from unmanaged devices:-
<post-filter-script script-id="UnmanagedDevice" in="IsManaged"/>
- This line is placed directly after the line below (the containment may vary depending on the W4n version)
<data id="Device" class="UnitaryComputerSystem"
containment="ComposedOf HostsServices" start="true">
Then add the additional <script> lines towards the bottom of the same file:-
<script id="UnmanagedDevice" in="IsManaged">
<![CDATA[
ctx.str(IsManaged).equals("true")
]]>
</script>
- For example these can be placed after
<script id="bandwidth-capping-script" in="utilPct inRate outRate speed"> .. </script>
- A restart of the Smarts collector will be required to pick up this change.