ytti/oxidized · error · OxidizedError

net/tftp not found: sudo gem install net-tftp

Error message

net/tftp not found: sudo gem install net-tftp

What it means

Error "net/tftp not found: sudo gem install net-tftp" thrown in ytti/oxidized.

Source

Thrown at lib/oxidized/input/tftp.rb:6

module Oxidized
  require 'stringio'
  begin
    require 'net/tftp'
  rescue LoadError
    raise OxidizedError, 'net/tftp not found: sudo gem install net-tftp'
  end

  class TFTP < Input
    RESCUE_FAIL = {
      Net::TFTPTimeout => :warn
    }.freeze

    def self.rescue_fail
      super.merge(RESCUE_FAIL)
    end

    # TFTP utilizes UDP, there is not a connection. We simply specify an IP and send/receive data.
    def connect(node)
      @node = node

      @node.model.cfg['tftp'].each { |cb| instance_exec(&cb) }
      @tftp = Net::TFTP.new @node.ip
    end

View on GitHub (pinned to 687ed4262d)

When it happens

Trigger: Thrown at lib/oxidized/input/tftp.rb:6 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of ytti/oxidized@687ed4262d (2026-08-23). Data as JSON: /api/errors/c8b5c27ef6df5936. Report an issue: GitHub.