Thanks Massimo! Ok... So I have added the zProperty, it is checked and all is good, Now I am adding a check to see if the interface already exists.
My thinking here is, that if we are modeling the device for the first time, the zMonitorInterfaceDefault should specify if the interface is monitored or not, but if the interface already exists in the database we should keep whatever setting is already applied. To achieve this I was looking to see if om.id (Interface Name) already existed in the database. I was playing with importing OperatingSystem then doing an interface loop similar to: http://www.zenoss.com/community/wiki/tips-and-tricks/ZendmdPlayingWithInterfaces/ but this seems far from optimal. Does anyone have a preferred way if checking if an interface name already exists within a device from InterfaceMap.py? Thanks, Aaron -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=21539#21539 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
