TECHZEN Zenoss User Community ARCHIVE  

Monitor change of datapoint

Subject: Monitor change of datapoint
Author: oog3 Eing
Posted: 2019-01-29 11:40

Hello!
Some time we have started to use Zenoss Core v.6.2.1 and wrote custom Zenpack for it.
But now we realize that some metrics we have we need to monitor by their value changes, not by values itself.

For example, value of X was changed for last N second => Good.

Not changed => Bad, we need to create the Event.

Can someone recommend appropriate Zenpack or other tool to do this?



------------------------------
oog3Eing
------------------------------


Subject: RE: Monitor change of datapoint
Author: Jane Curry
Posted: 2019-01-29 13:00

If this is a value that you are collecting using a datasource in a template, then there is a threshold type of ValueChangeThreshold that should fire if the value changes.  This is a standard part of Zenoss.

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


Subject: RE: Monitor change of datapoint
Author: oog3 Eing
Posted: 2019-01-30 08:11

Thanks for your help.

But what about the case if I want to know, that datapoint did NOT changed for some (adjustable) time?



------------------------------
oog3 Eing
------------------------------


Subject: RE: Monitor change of datapoint
Author: Ryan Matte
Posted: 2019-02-21 11:08

The best way I can think of to accomplish what you're describing would be to setup a datapoint against the value that you're wanting to monitor but make it a derive instead of a gauge, which will graph the change between the current cycle and the previous one.  Then you could have some threshold that triggers if the value is above 0 for x amount of time, which would indicate constant changes to that value during that period.  The only other way would be to code something custom.

------------------------------
Ryan Matte
------------------------------


< Previous
Zenoss 6.2 Build Custom Base Template
  Next
Zenoss 4.2.5 - updating component property from a trap event class mapping trans ...
>