Archived community.zenoss.org | full text search
Skip navigation
6113 Views 1 Reply Latest reply: Mar 23, 2010 12:35 AM by kelvin RSS
kelvin Newbie 2 posts since
Mar 20, 2010
Currently Being Moderated

Mar 20, 2010 5:10 PM

Performance Threshold from Two RRD Values

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

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points