<p>Hi,</p>

<p>I'm trying to subtract something from the given value, but it does not work. Maybe I do not understand it correctly, but have a look:</p>

<pre>
$ ./check_snmp --version
check_snmp v2.1.1.37.g8235 (monitoring-plugins 2.1.1)

$ ./check_snmp -o IF-MIB::ifSpeed.1 --offset=-999900.0 -u MBit -m RFC1213-MIB -l Speed switch
SNMP OK - Speed 100000000 MBit | Speed=100000000 

$ ./check_snmp -o IF-MIB::ifSpeed.1 --offset=999900.0 -u MBit -m RFC1213-MIB -l Speed switch
SNMP OK - Speed 100000000 MBit | Speed=100000000 

$ ./check_snmp -o IF-MIB::ifSpeed.1 --offset=999900 -u MBit -m RFC1213-MIB -l Speed switch
SNMP OK - Speed 100000000 MBit | Speed=100000000 

$ ./check_snmp -o IF-MIB::ifSpeed.1 --offset -999900 -u MBit -m RFC1213-MIB -l Speed switch
SNMP OK - Speed 100000000 MBit | Speed=100000000 
</pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1306">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2SIbqMXINfOhxqwzhP0yD4EObaU6ks5nXriRgaJpZM4DIYaX.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/issues/1306"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>