for device in dmd.Devices.getSubDevices():
    for interface in device.os.interfaces():
        interface.monitor = False

commit()


Is this inherently more efficient than just creating an empty ethernetCsmacd template? ( I copy the originals to a new /Devices/tmp organizer for safety,
and then delete the objects from the original. )

I guess my technique may not live through upgrades.

Wouldn't it be a good idea to lock the above? Won't a re-model set them to
be monitored again?

I think that removing all of the data sources, threshold and graphs from your ethernetCsmacd template is a better way to go. Modeling the interfaces won't change their monitored status.
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to