ganglia / ganglia-web

Ganglia Web Frontend
BSD 3-Clause "New" or "Revised" License
317 stars 169 forks source link

The rrdtool -t option is only available for 1.6.0+ #333

Closed afbjorklund closed 6 years ago

afbjorklund commented 6 years ago

Caused all data to go "missing" with earlier rrdtool versions.

Was removed in commit d5f1ebdbd273ebe1a2a870186150a1d6a5326b58, and then re-added in 702bc04269399b466ef4666b79ebf2de87507e5d.

Add some version checking, so that it stops breaking like that.

Note that rrdtool 1.5.x never outputs any timestamps, so there we have to calculate the timestamp based on current data row.

afbjorklund commented 6 years ago

Thanks! I have a patch for the failing Travis build somewhere, basically it needs older infrastructure

PHP 5.3 is supported only on Precise.
See https://docs.travis-ci.com/user/reference/trusty#PHP-images on how to test PHP 5.3 on Precise.