Oxidized Backup Error

Hello
I am using Oxidized for backup with LibreNMS.
I am using ALE Omni switch 6900 and 6450 units.

I can backup the 6900 Config with no issue but when i try to backup the 6450 i get an error using the AOS.rb file in the git hub repo.

The error i am facing
raised Oxidized::PromptUndetect with msg “unable to detect prompt: (?-mix:^([\w.@-]+[#>]\s?)$)”

OmniSwitch™ is a trademark of Alcatel-Lucent Enterprise registered
in the United States Patent and Trademark Office.

switch-> not matching configured prompt (?-mix:^([\w.@-]+[#>]\s?)$)"

Here is the code i got from the git hub page.

class AOS < Oxidized::Model
using Refinements

Alcatel-Lucent Operating System

used in OmniSwitch

comment '! ’

cmd :all do |cfg|
cfg.cut_both
end

cmd ‘show system’ do |cfg|
cfg = cfg.each_line.find { |line| line.match ‘Description’ }
comment cfg.to_s.strip
end

cmd ‘show chassis’ do |cfg|
comment cfg
end

cmd ‘show hardware info’ do |cfg|
comment cfg
end

cmd ‘show license info’ do |cfg|
comment cfg
end

cmd ‘show license file’ do |cfg|
comment cfg
end

cmd ‘show configuration snapshot’ do |cfg|
cfg
end

cfg :telnet do
username /^login : /
password /^password : /
end

cfg :telnet, :ssh do
pre_logout ‘exit’
end
end

Seems something wrong with your switch terminal. What are you using? I have the same models (like couple of thousands) and I don’t have this problem.

Can you share your AOS6 config template you are using?

Seems like the one i am using is no good.

Also are you backing up OS6450 switches?

I i have have been making progress.

Now when i look at the backup file all i see is this below and no configs.

See below

  1. Description: Alcatel-Lucent Enterprise OS6450-P24X 6.7.2.122.R08 GA, September 04, 2020.,

In your config, what is your session prompt?
I have something like this:

session prompt default "switch-name>"

Hi, did you resolve this?
If so, could you share how?