pcp
[Top] [All Lists]

Re: PMIE : Using raw value for a counter

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: PMIE : Using raw value for a counter
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Mon, 18 May 2015 08:26:55 +1000
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0mmw16q95i.fsf@xxxxxxxx>
References: <1431663705.6445.46.camel@xxxxxxxxxxxxx> <y0mmw16q95i.fsf@xxxxxxxx>
Reply-to: chandana@xxxxxxxxxxxxx
Hello Frank,
On Fri, 2015-05-15 at 09:10 -0400, Frank Ch. Eigler wrote:
chandana wrote:

> [...]  I need to evaluate the raw value in PMIE of a metric which
> has been defined as a Counter. [...]

(I'm curious - why?  Comparing it to other counters?)
This is specific to  my requirement. That particular metric, if > 0 is a very good indication that the host in question is acting as a slave database. I need to determine that to drive a number of other pmie rules


> Since this value does not change very often, pmie sees the value as
> 0.  Is there any way I can force pmie to use the raw value ?

(This could be a place for a $instant=value($counter) _expression_ in
pmie _expression_ language, like we were talking about for
derived-metrics.)
Ageed

- FChE
<Prev in Thread] Current Thread [Next in Thread>