Hi,
I'd like to understand how to do an aggregate checks that ignores obsolete values (when a host is down).
When i create a grpsum using "last" as itemfunc with any timeperiod i always sum all the latest values even those out of the timeperiod. I guess timeperiod parameter is ignored with "last".
So i managed to do that with "sum" or "avg" with a timeperiod equal to item interval. In that way it is not supposed to be more than 1 value within the time period, making "sum" or "avg" the equivalent of "last". But unfortunately sometimes it happens (if the host/agent restart for instance). So it's not the perfect way.
Do you know how to do that? Do i missed something with "last" function?
Thanks a lot
Tom
I'd like to understand how to do an aggregate checks that ignores obsolete values (when a host is down).
When i create a grpsum using "last" as itemfunc with any timeperiod i always sum all the latest values even those out of the timeperiod. I guess timeperiod parameter is ignored with "last".
So i managed to do that with "sum" or "avg" with a timeperiod equal to item interval. In that way it is not supposed to be more than 1 value within the time period, making "sum" or "avg" the equivalent of "last". But unfortunately sometimes it happens (if the host/agent restart for instance). So it's not the perfect way.
Do you know how to do that? Do i missed something with "last" function?
Thanks a lot
Tom