TECHZEN Zenoss User Community ARCHIVE  

Need to find list of modelling keys

Subject: Need to find list of modelling keys
Author: [Not Specified]
Posted: 2016-05-29 13:28

Where do I find a list of the keys that can be used in a modeller, i.e. setHWProductKey, setOSProductKey, setHWSerialNumber. I assume this is somewhere in zendmd

Any help on this would be appreciated.

Manuel



Subject: Modelers can execute any
Author: Jay Stanley
Posted: 2016-05-31 09:39

Modelers can execute any method on a device. But be careful :)

methods can be found in the code and zendmd.



Subject: You could start with device
Author: Jane Curry
Posted: 2016-06-08 09:29

You could start with device.set and then use tab-completion - but it may give you LOTS of options :(

I would simply go and look in $ZENHOME/Products/ZenModel/Device.py. Some of the methods will be inherited from parent classes of Device - but you should be able to see where the imports come from at the top of Device.py.

Cheers,

Jane

Email: jane.curry@skills-1st.co.uk    Web: https://www.skills-1st.co.uk



< Previous
Zenoss 4.2.4 forgets partition tresholds after zenoss restart.
  Next
Add output of top to /Perf/CPU notifications
>