That makes sense; but it's not working for me.  I did the following and it 
seems to run without any errors.  However, if I go look at one of the devices 
in that set, it's still showing as having monitoring enabled on that port.  
Does this only work if I use the Groups section?  We do have the latest stable 
release installed; in fact the machine was just built about 3 days ago.


>>> for device in dmd.Devices.Server.Linux.HSPC.getDevices():
...  for port in device.os.ipservices():
...   if port.name() == 'smtp':
...    port.monitor = False
... 
>>> commit()


Thanks,
Kelly Shutt
Web Hosting Groups, Inc.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=16055#16055

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to