I am (attempting) to use ZMI to run some queries. On the howto page http://www.zenoss.com/community/docs/howtos/get-a-list-of-device-names/, it shows a couple examples:
return [ d.id for d in context.getSubDevices() ] and return [ d.manageIp for d in context.getSubDevices() ] Both of which work great. Where can I find a list of attributes I can put in the script in place of id and manageIp. I am trying to come up with a script that will give me d.id (machine name) and d.??? (pingstatus), basically to look something like: machine1 up machine2 down machine3 up etc.. Which I will then wget the results and manipulate them elsewhere. Thanks in advance and apologies if this is covered somewhere, I looked through everything I could put my hands on, and played around with the script hoping to get lucky with it. -Jim -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=17159#17159 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
