Changeset 1747

Show
Ignore:
Timestamp:
12/02/08 16:29:14 (1 month ago)
Author:
ton
Message:

Fixed bug where insert.pl misses datapoints if RRD::Simple raises an exception

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGES

    r1746 r1747  
    1010        Removed java dependency for opsview-core, instead relying on opsview-reports to provide 
    1111        If realm != local, then hide the Atom feed details on the contact page as this does not use the realm of the contact to authenticate 
     12        Fixed bug where some data points may not be updated in RRD if RRD::Simple raises an exception 
    1213 
    13142.14.1 17th November 2008 
  • trunk/opsview-base/patches/nagiosgraph_insert_pl_rrd_simple.patch

    r1372 r1747  
    3333-  RRDs::update(@ds); 
    3434+  debug(4, "INSERT RRDs::update ". join ' ', %ds); 
    35 $rrd->update($Config{rrddir}.'/'.$file, $time, %ds); 
     35eval { $rrd->update($Config{rrddir}.'/'.$file, $time, %ds) }; # Must eval as RRD::Simple croaks on failure 
    3636   debug(2, "INSERT RRDs::update ERR " . RRDs::error) if RRDs::error; 
    3737 }