ytti/oxidized · error

The variable fortios_autoupdate is deprecated. Migrate to fo

Error message

The variable fortios_autoupdate is deprecated. Migrate to fortigate_autoupdate

What it means

Error "The variable fortios_autoupdate is deprecated. Migrate to fortigate_autoupdate" thrown in ytti/oxidized.

Source

Thrown at lib/oxidized/model/fortigate.rb:121

    else
      comment cfg
    end
  end

  cmd "get system interface transceiver" do |cfg|
    cfg = cfg.keep_lines [
      /^Interface \w/,
      "Vendor Name",
      "Part No.",
      "Serial No."
    ]
    cfg = cfg.reject_lines ["Transceiver is not detected"]
    comment cfg + "\n"
  end

  cmd 'diagnose autoupdate version', if: -> { vars(:fortios_autoupdate) || vars(:fortigate_autoupdate) } do |cfg|
    if vars(:fortios_autoupdate)
      logger.warn("The variable fortios_autoupdate is deprecated. Migrate to fortigate_autoupdate")
    end

    cfg = cfg.sub(/FDS Address\n---------\n.*\n/, '')
    comment cfg.reject_lines ["Last Update", "Result :"]
  end

  cmd 'end', if: -> { @vdom_enabled } do |_cfg|
    ''
  end

  def clean_config(cfg)
    cfg = cfg.reject_lines ['#conf_file_ver=']
    cfg.gsub!(/(set comments "Error \(No order found for account ID \d+\) on).*/,
              '\\1 <stripped>')
    cfg
  end

  # If vars fullconfig is set to true, we get the full config (including default

View on GitHub (pinned to 687ed4262d)

When it happens

Trigger: Thrown at lib/oxidized/model/fortigate.rb:121 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/286544021903ea2a. Report an issue: GitHub.