code: def gauge(self, *args, **kwargs):
          
          orig_gauge = super(Nagios, self).gauge
          # remove 'timestamp' arg if the base class' gauge function does not accept a 'timestamp' arg
          if 'timestamp' in kwargs and 'timestamp' not in getargspec(orig_gauge).args:
              del kwargs['timestamp']
  
          orig_gauge(*args, **kwargs)
docs: Compatability wrapper for Agents that do not submit gauge metrics with custom timestamps