The cfgmaker option --zero-speed passes a default value to be used when cfgmaker cannot find the interface speed.
Although it works well when issuing the command from inside the container, passing it through the CFGMAKEROPTIONS variable causes the command to fail with the message:
/usr/bin/cfgmaker --ifref=name --global WorkDir: /mrtg/html --global Options[_]: growright, bits --global EnableIPv6: no --global LogFormat: rrdtool --zero-speed=125000000 --show-op-down=1 --snmp-options=::::: --output=/etc/mrtg/conf.d/aji.cfg ffbdevro@192.168.18.252
[...]
ERROR: zero-speed specified with non-integer speed: 125000000 --show-op-down=1 at /usr/bin/cfgmaker line 622.
I tried the command with and without the = and will run other tests to identify the issue. As a last resource, I can make zero speed an option by itself.
The
cfgmaker
option--zero-speed
passes a default value to be used whencfgmaker
cannot find the interface speed.Although it works well when issuing the command from inside the container, passing it through the
CFGMAKEROPTIONS
variable causes the command to fail with the message:I tried the command with and without the
=
and will run other tests to identify the issue. As a last resource, I can makezero speed
an option by itself.