pub fn nanos_to_collectd(nanos: u64) -> cdtime_t
Convert epoch nanoseconds into collectd’s 2-30 second resolution