Help, can't get Oxidized to backup these Devices

Hello,

Help, can’t get Oxidized to backup these Devices

Can someone guide me in troubleshooting the issue, thanks in advance.

I have other device and they backup fine

My Config

FGT3KD:x.x.x.x:fortios:xxxx:admin:xxxx

FORTI-A:x.x.x.x:fortios:xxxx:admin:xxxx
FORTI-S:x.x.x.x:fortios:xxxx:admin:xxxx

Note, I masked out IP, password and group.

You need to enable debug for oxidized and take a look at the logs, https://github.com/ytti/oxidized/blob/master/docs/Configuration.md#debugging

@laf

As requested:

2023-07-17T09:55:13.931233971Z Jul 17 09:55:13 1966c35fd22a oxidized[26]: 172.29.199.19 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “172.29.199.19” port 23”
2023-07-17T09:55:14.636145586Z Jul 17 09:55:14 1966c35fd22a oxidized[26]: intxfi/fortid status no_connection, retry attempt 2
2023-07-17T09:58:08.727903638Z Jul 17 09:58:08 1966c35fd22a oxidized[26]: 172.29.199.19 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 4c:0e:89:cc:ab:da:2a:0c:8c:43:44:3a:05:bf:8e:a8 does not match for “172.29.199.19"”
2023-07-17T10:00:16.010510057Z Jul 17 10:00:16 1966c35fd22a oxidized[26]: 172.29.199.19 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “172.29.199.19” port 23”
2023-07-17T10:00:16.690017066Z Jul 17 10:00:16 1966c35fd22a oxidized[26]: intxfi/fortid status no_connection, retry attempt 1
2023-07-17T10:03:10.781721167Z Jul 17 10:03:10 1966c35fd22a oxidized[26]: 172.29.199.19 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 4c:0e:89:cc:ab:da:2a:0c:8c:43:44:3a:05:bf:8e:a8 does not match for “172.29.199.19"”
2023-07-17T10:05:17.962137961Z Jul 17 10:05:17 1966c35fd22a oxidized[26]: 172.29.199.19 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “172.29.199.19” port 23”
2023-07-17T10:05:18.744157537Z Jul 17 10:05:18 1966c35fd22a oxidized[26]: intxfi/fortid status no_connection, retry attempt 2
2023-07-17T10:08:12.845140927Z Jul 17 10:08:12 1966c35fd22a oxidized[26]: 172.29.199.19 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 4c:0e:89:cc:ab:da:2a:0c:8c:43:44:3a:05:bf:8e:a8 does not match for “172.29.199.19"”
2023-07-17T10:10:20.042227968Z Jul 17 10:10:20 1966c35fd22a oxidized[26]: 172.29.199.19 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “172.29.199.19” port 23”
2023-07-17T10:10:20.800157973Z Jul 17 10:10:20 1966c35fd22a oxidized[26]: intxfi/fortid status no_connection, retry attempt 3
2023-07-17T10:13:14.897999590Z Jul 17 10:13:14 1966c35fd22a oxidized[26]: 172.29.199.19 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 4c:0e:89:cc:ab:da:2a:0c:8c:43:44:3a:05:bf:8e:a8 does not match for “172.29.199.19"”
2023-07-17T10:15:22.122276332Z Jul 17 10:15:22 1966c35fd22a oxidized[26]: 172.29.199.19 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “172.29.199.19” port 23”
2023-07-17T10:15:22.855749751Z Jul 17 10:15:22 1966c35fd22a oxidized[26]: intxfi/fortid status no_connection, retries exhausted, giving up
2023-07-17T10:17:01.042733895Z Jul 17 10:17:01 1966c35fd22a CRON[2307]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
2023-07-17T10:17:27.098739925Z Jul 17 10:17:27 1966c35fd22a oxidized[26]: lib/oxidized/nodes.rb: Loading nodes
2023-07-17T10:17:28.415598450Z Jul 17 10:17:28 1966c35fd22a oxidized[26]: lib/oxidized/nodes.rb: Loaded 93 nodes
2023-07-17T10:26:39.140492981Z Jul 17 10:26:39 1966c35fd22a oxidized[26]: 10.10.60.1 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 30:7e:ee:34:0a:d3:3b:ca:ad:b6:83:01:12:00:00:c6 does not match for “10.10.60.1"”
2023-07-17T10:28:46.474209998Z Jul 17 10:28:46 1966c35fd22a oxidized[26]: 10.10.60.1 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “10.10.60.1” port 23”
2023-07-17T10:28:47.029073537Z Jul 17 10:28:47 1966c35fd22a oxidized[26]: intdfi/fortis status no_connection, retry attempt 1
2023-07-17T10:31:41.206766156Z Jul 17 10:31:41 1966c35fd22a oxidized[26]: 10.10.60.1 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 30:7e:ee:34:0a:d3:3b:ca:ad:b6:83:01:12:00:00:c6 does not match for “10.10.60.1"”
2023-07-17T10:33:48.426230420Z Jul 17 10:33:48 1966c35fd22a oxidized[26]: 10.10.60.1 raised Errno::ETIMEDOUT with msg “Connection timed out - connect(2) for “10.10.60.1” port 23”
2023-07-17T10:33:49.103461993Z Jul 17 10:33:49 1966c35fd22a oxidized[26]: intdfi/fortis status no_connection, retry attempt 2
2023-07-17T10:36:43.282726525Z Jul 17 10:36:43 1966c35fd22a oxidized[26]: 10.10.60.1 raised Net::SSH::HostKeyMismatch (rescued RuntimeError) with msg "fingerprint 30:7e:ee:34:0a:d3:3b:ca:ad:b6:83:01:12:00:00:c6 does not match for “10.10.60.1"”

You’ve got various errors in there, ssh keys mismatched and timeouts being the most common. You need to fix those for the devices listed.

@laf

Pls can you tell me how, Im new to Oxidized?

What i should do?

That’s not an oxidized issue as such. For the timeout one you might have a firewall in the way that’s misconfigured.

For the fingerprint one you need to remove the entry for that hosts fingerprint in your ssh known_host file, google should help.