Oxidized not showing running config

Oxidized not showing running configuration. it shows only version and status. is there any way i can add show run command and pull whole device configuration

Sounds like Oxidized isn’t getting into Enable/Privilege mode and wont be able to get the Show Run configuration. You’ll need to check your Oxidized config file to fine tune it to get deeper into your device to get such info.

I verified it has enough privilege’s. after adding Cisco ISE. it is not showing running configuration.

Have you tried checking the connection output with debug mode on?

input:
  default: ssh, telnet
  debug: true

I have verified, I have below options are correct into configuration file.

input:
default: ssh, telnet
debug: true

username: username
password: password
model: junos
resolve_dns: true
interval: 3600
use_syslog: true
log: “/home/oxidized/.config/oxidized/logs/”
debug: false
threads: 30
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: x.x.x.x:x
next_adds_job: false
vars: {}
groups: {}
models: {}
pid: “/home/oxidized/.config/oxidized/pid”
crash:
directory: “/home/oxidized/.config/oxidized/crashes”
hostnames: false
stats:
history_size: 10
input:
default: ssh, telnet
debug: true
ssh:
secure: false
ftp:
passive: true
utf8_encoded: true
output:
default: git
git:
single_repo: true
user: oxidized
email: [email protected]
repo: “/home/oxidized/.config/oxidized/oxidized.git”
hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo: [email protected]:librenms1/librenms-config.git
publickey: /home/oxidized/.ssh/id_rsa.pub
privatekey: /home/oxidized/.ssh/id_rsa
source:
default: csv
csv:
file: “/home/oxidized/.config/oxidized/router.db”
delimiter: !ruby/regexp /:confused:
map:
name: 0
model: 1
username: 2
password: 3
vars_map:
enable: 4
gpg: false
model_map:
juniper: junos
cisco: ios

With the debug config in place, check the debug log files.

which command should i use to see log files

look here:

log: “/home/oxidized/.config/oxidized/logs/”

There should be files (separate for every ip you have) with outputs from ssh/telnet connections to your devices

show inventory
^
% Invalid input detected at ‘^’ marker.

show vtp status
^
% Invalid input detected at ‘^’ marker.

show version
^
% Invalid input detected at ‘^’ marker.

i see below detail into log files.

show inventory
^
% Invalid input detected at ‘^’ marker.

show vtp status
^
% Invalid input detected at ‘^’ marker.

show version
^
% Invalid input detected at ‘^’ marker

i see below output into Oxidized.

{:name=>“x.x.x.x”,
:full_name=>“x.x.x.x”,
:ip=>“x.x.x.x”,
:group=>nil,
:model=>“IOS”,
:last=>
{:start=>2024-10-23 19:54:50.51288033 UTC,
:end=>2024-10-23 19:54:56.651138077 UTC,
:status=>:success,
:time=>6.138257747},
:vars=>{:enable=>nil},
:mtime=>2024-10-22 15:30:18.98837049 UTC}

Im reading that as it cant to the ‘show’ command which means it isn’t getting to Enable correctly.

How do i fix this issue ?

HI Speechy, Your hint is helpful. issue has been fixed I added one more password for enable and it is fetching full config.
below solution:
vi /home/oxidized/.config/oxidized/router.db
x.x.x.x:ios:usernmae:password:enablepassword

issue fixed

1 Like