Forum Discussion
Steve_Francis
12 years agoFormer Employee
Yes - see http://help.logicmonitor.com/using/datasource/creating-datasources/collectors/script-collector/groovy-support/rnSpecifically :rn
- rn
- Accessing all host properties - all properties of a host are accessible from groovy scripts via accessing the map hostProps.get(property). With other scripting languages, this requires passing in the properties as parameters. But in groovy, its as simple as accessing the hostname via: hostname = hostProps.get(system.hostname);rn
Related Content
- 10 months ago
- 2 years ago