In utils_time.h

#define CDTIME_T_TO_TIME_T(t) ((time_t) ((t) / 1073741824))

The problem is that when it parses the time in PUTNOTIF it's not converted
from a timestamp to cdtime_t

Fixed in https://github.com/collectd/collectd/pull/644


On Wed, Jun 18, 2014 at 10:54 PM, Dan Fandrich <d...@coneharvesters.com>
wrote:

> On Wed, Jun 18, 2014 at 06:50:44PM +0100, George B. wrote:
> > I have configured a simple test notification using the Exec plugin. This
> works, however, the Time value in the notification message is changed into
> something strange (1.307) - can anyone suggest why this is happening?
>
> Maybe it's a coincidence, but if 1403113649 were in bytes, it would be
> exactly
> 1.307 GiB.  Maybe a conversion gone wrong somewhere?
>
> >>> Dan
>
> _______________________________________________
> collectd mailing list
> collectd@verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to