rrdSupport broken when using the cmdline version
The cmdline version of rrdSupport, i.e.rrdtool_exe is broken.
This is especially a problem since it is needed by the -fix-rrd reconfig option.
The problem is in the logic that determines the location of the cmdline tool.
#1 Updated by Igor Sfiligoi over 5 years ago
- Subject changed from rrdSupport broken when using the cmsline version to rrdSupport broken when using the cmdline version
Here is the offending code:
class rrdtool_exe: def __init__(self): self.rrd_bin = (subprocessSupport.iexe_cmd("which rrdtool")).strip()
And here is the result:
$ dump_obj=rrdSupport.rrdtool_exe() $ print dump_obj.rrd_bin '/'
with the rrdtool being in
$ which rrdtool /usr/bin/rrdtool