RRDUPDATE(1)                        RRDtool                       RRDUPDATE(1)



NNAAMMEE
       rrdupdate - Store a new set of values into the RRD

SSYYNNOOPPSSIISS
       rrrrddttooooll uuppddaattee _f_i_l_e_n_a_m_e [----tteemmppllaattee|--tt _d_s_-_n_a_m_e[::_d_s_-_n_a_m_e]...]  NN|_t_i_m_e_s_-
       _t_a_m_p::_v_a_l_u_e[::_v_a_l_u_e...]  [_t_i_m_e_s_t_a_m_p::_v_a_l_u_e[::_v_a_l_u_e...] ...]

DDEESSCCRRIIPPTTIIOONN
       The uuppddaattee function feeds new data values into an RRRRDD. The data gets
       time aligned according to the properties of the RRRRDD to which the data
       is written.

       _f_i_l_e_n_a_m_e
               The name of the RRRRDD you want to update.

       ----tteemmppllaattee|--tt _d_s_-_n_a_m_e[::_d_s_-_n_a_m_e]...
               by default, the update function expects the data input in the
               order, the data sources are defined in the RRD. This is not
               very error resistant, as you might be sending the wrong data
               into a RRD.

               The template switch allows you to specify which data sources
               you are going to update and in which order. If the data sources
               specified in the template are not available in the RRD file,
               the update process will abort with an error message.

       NN|_t_i_m_e_s_t_a_m_p::_v_a_l_u_e[::_v_a_l_u_e...]
               The data used for updating the RRD was acquired at a certain
               time. This time can either be defined in seconds since
               1970-01-01. Or by using the letter 'N' the update time is set
               to be the current time. Negative time values are subtracted
               from the current time.  Getting the timing right to the second
               is especially important when you are working with data-sources
               of type CCOOUUNNTTEERR, DDEERRIIVVEE or AABBSSOOLLUUTTEE.

               The remaining elements of the argument are DS updates. The
               order of this list is the same as the order the data sources
               were defined in the RRA.  If there is no data for a certain
               data-source, the letter UU (e.g. N:0.1:U:1) can be defined.

               The format of the value acquired from the data source is depen-
               dent of the data source type chosen. Normally it will be
               numeric, but the data acquisition modules may impose their very
               own parsing of this parameter as long as the colon (::) remains
               the data source value separator.

EEXXAAMMPPLLEE
       "rrdtool update demo1.rrd N:3.44:3.15:U:23"

       Update the database file demo1.rrd with 3 known and one _*_U_N_K_N_O_W_N_*
       value. Use the current time as the update time.

       "rrdtool update demo2.rrd 887457267:U 887457521:22 887457903:2.7"

       Update the database file demo2.rrd which expects data from a single
       data-source, three times. First with an _*_U_N_K_N_O_W_N_* value then with two
       normal readings. The update interval seems to be around 300 seconds.

AAUUTTHHOORR
       Tobias Oetiker <oetiker@ee.ethz.ch>



1.0.49                            2004-03-01                      RRDUPDATE(1)
