I can use zendmd to read the production state on a device. This shows that host coot is in production state Maintenance.
Code: [EMAIL PROTECTED] ~]$ zendmd Welcome to zenoss dmd command shell! use zhelp() to list commands >>> for dev in dmd.Devices.getSubDevices(): ... if dev.id == 'coot': ... print dev.id, dev.getProductionStateString() ... coot Maintenance >>> What is the syntax in zendmd to set the Production State back to Production? I haven't got this working from the API documentation. Any help would be most appreciated. Thank you! David[/code] -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=23525#23525 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
