jcurry
2013-05-29 10:45:14 UTC
jcurry [http://community.zenoss.org/people/jcurry] created the discussion
"Getting all zProperties for a device"
To view the discussion, visit: http://community.zenoss.org/message/73364#73364
--------------------------------------------------------------
I think I am having a dumb morning :( .
Can anyone give me a bit of script that lists all the zProperties for a device? Something like:
d = find('zen42.class.example.org')
for z in d.zProperties:
 print d.id, z.id, z,value
d.zProperties gives an attribute error
Cheers,
Jane
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73364#73364]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Getting all zProperties for a device"
To view the discussion, visit: http://community.zenoss.org/message/73364#73364
--------------------------------------------------------------
I think I am having a dumb morning :( .
Can anyone give me a bit of script that lists all the zProperties for a device? Something like:
d = find('zen42.class.example.org')
for z in d.zProperties:
 print d.id, z.id, z,value
d.zProperties gives an attribute error
Cheers,
Jane
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73364#73364]
Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]