Mar 20, 2010 5:10 PM
Performance Threshold from Two RRD Values
-
Like (0)
I'm a recent Zenoss convert and have gotten everything running the way I want, creating and using my own template to monitor some unique equipment/information. However, I desperately need to create a threshold to throw an alarm and I've gotten a bit confused as to how to do it.
The setup:
My Interface template collects two data sources (TotalUsers and ActiveUsers). Both are gauges, and both are collecting the information needed.
Threshold Need:
I need a threshold created so that if the number of ActiveUsers is less than 70% of the TotalUsers for the interface it will create an event.
I've looked into the getRRDValue but it appears that I cannot reference the TotalUsers data point for the same interface that I'm looking at when I will be comparing the Active Users.
(Current setup: Name: ActiveUsers -- Min Value: getRRDValue(self,'TotalUSers_TotalUsers',start=None,end=None, function='LAST'') * .7)
If someone could please advise as to how this would be accomplished I would be forever grateful.
Many thanks in advance!
kw
With many thanks to rmatte (Freenode / #Zenoss)..
The solution to this was: To set the data point of "ActiveUsers", and to set the minimum value of: (here.getRRDValue('TotalUsers')*.7)
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||