Yiming Li
2012-10-10 18:12:09 UTC
Yiming Li [http://community.zenoss.org/people/nicneo] created the discussion
"need some help in using zProperties in threshold"
To view the discussion, visit: http://community.zenoss.org/message/68998#68998
--------------------------------------------------------------
Greetings,
Recently I've been trying to use a custom value in the MinMax threshold. What I wanted to do is in the threshold setting in templates, put a variable and assign/change the variable values for different devices.
So I added a zProperty(myValue) for device, but for some reason I couldn't get the threshold working, zenoss seems to ignore my expressionsn in the threshold field, I tried the following format, but none of them worked.
1. here.myValue
2. ${here/myValue}
3. here.getZ('myValue')
I wonder if anyone has experience of using zPropertires in threshold?
Thank you very much.
Best,
Yiming
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68998#68998]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"need some help in using zProperties in threshold"
To view the discussion, visit: http://community.zenoss.org/message/68998#68998
--------------------------------------------------------------
Greetings,
Recently I've been trying to use a custom value in the MinMax threshold. What I wanted to do is in the threshold setting in templates, put a variable and assign/change the variable values for different devices.
So I added a zProperty(myValue) for device, but for some reason I couldn't get the threshold working, zenoss seems to ignore my expressionsn in the threshold field, I tried the following format, but none of them worked.
1. here.myValue
2. ${here/myValue}
3. here.getZ('myValue')
I wonder if anyone has experience of using zPropertires in threshold?
Thank you very much.
Best,
Yiming
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68998#68998]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]