You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thank you for your project. I'm trying to have oxidize push to my gitlab without luck. I am seeing the following errors in the log:
oxidized[20427]: E, [2025-01-16T14:02:57.674002 #20427] ERROR -- : Hook push_to_remote (#GithubRepo:0x00007ab8760e63d0) failed (#<ArgumentError: Invalid credential type>) for event :post_stor
First off, thank you for your project. I'm trying to have oxidize push to my gitlab without luck. I am seeing the following errors in the log:
oxidized[20427]: E, [2025-01-16T14:02:57.674002 #20427] ERROR -- : Hook push_to_remote (#GithubRepo:0x00007ab8760e63d0) failed (#<ArgumentError: Invalid credential type>) for event :post_stor
My config looks like:
username: removed
password: removed
model: junos
resolve_dns: true
interval: 3600
use_syslog: false
debug: false
run_once: false
threads: 30
use_max_threads: false
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 127.0.0.1:8888
next_adds_job: false
vars: {}
groups: {}
group_map: {}
models: {}
pid: "/opt/oxidized/.config/oxidized/pid"
crash:
directory: "/opt/oxidized/.config/oxidized/crashes"
hostnames: false
stats:
history_size: 10
input:
default: ssh, telnet
debug: false
ssh:
secure: false
ftp:
passive: true
utf8_encoded: true
output:
default: git
git:
single_repo: true
user: oxidized
email: emailremoved
repo: "~/.config/oxidized/oxidized.git"
source:
default: csv
csv:
file: ~/.config/oxidized/router.db
delimiter: !ruby/regexp /:/
map:
name: 0
model: 1
model_map:
juniper: junos
cisco: ios
hooks:
push_to_remote:
type: githubrepo
events: [post_store]
remote_repo: "[email protected]:oxidized/backups.git"
publickey: /opt/oxidized/.ssh/id_rsa.pub
privatekey: /opt/oxidized/.ssh/id_rsa
I have even configured git-global with --username & email. Please let me know if you need anything else.
The text was updated successfully, but these errors were encountered: