Discussion:
need some help in using zProperties in threshold
Yiming Li
2012-10-10 18:12:09 UTC
Permalink
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]
Yiming Li
2012-10-11 18:18:55 UTC
Permalink
Yiming Li [http://community.zenoss.org/people/nicneo] created the discussion

"Re: need some help in using zProperties in threshold"

To view the discussion, visit: http://community.zenoss.org/message/69036#69036

--------------------------------------------------------------
Anyone has ideas on this issue?
Thanks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69036#69036]

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]
jcurry
2012-10-12 08:52:11 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: need some help in using zProperties in threshold"

To view the discussion, visit: http://community.zenoss.org/message/69055#69055

--------------------------------------------------------------
Have you looked at this append - http://community.zenoss.org/message/58041#58041 http://community.zenoss.org/message/58041#58041 ?  Check out James Stewart's helpful suggestions.

Cheers,
Jane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69055#69055]

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]
Ryan Matte
2012-10-12 09:15:39 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: need some help in using zProperties in threshold"

To view the discussion, visit: http://community.zenoss.org/message/69075#69075

--------------------------------------------------------------
Doing something like here.zFileSystemSizeOffset is the correct way of doing it.  This worked in previous versions of Zenoss so if you can confirm that this is no longer working properly in Zenoss 4 it would be considered a bug.  I've personally successfully made use of this: http://community.zenoss.org/docs/DOC-3233 http://community.zenoss.org/docs/DOC-3233 in previous versions of Zenoss but I've yet to attempt it in Zenoss 4.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69075#69075]

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]
Loading...