-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fortigate config backup failing #3218
Comments
Which version of Oxidized are you using? 0.30.1 introduced a fix for this - not doing a full config (with all defaults). |
I'm using the latest docker image oxidized/oxidized:latest, downloaded 3 days ago witch would make it: 0.30.1-113-g1269d04. And yes I think I read your ticket about the "nofull config" and I looked through the "fortios.rb" file and ran each command individual over SSH from the same server, I tried both 'show full-configuration | grep .' and 'show | grep .' over the SSH without any problems, but the screen ran for a long time (have 40+ vDoms) but everyhting ran fine in SSH. As you can see from above I even tried to disable full backup manually in the config but I suspect this is not the issue because the error I get is happening around 2 minutes after the server comes up, long before the "timeout 600" is in effect (unless my config file is somehow incorrect). |
I'm sorry to read this. I've no way to reproduce the behavior as I don't have a fortigate with 40+ vDoms. => Setting the flag help_wanted. |
what's the lg message with following CLI? journalctl -u oxidized.service |
Hi guys! I think it's not good to do only |
Have you tried to restore the oxidized backuped config to a new FortiGate device? |
This has been fixed and will be included in Oxidized 0.31: https://github.com/ytti/oxidized/blob/master/docs/Model-Notes/FortiOS.md#config-vs-full-config The issue here is that oxidized gets timeouts on fortigate, even when the getting the configuration without defaults. If you have an unrelated issue, please open a separate issue. |
Yes, I did. |
This issue is stale because it has been open 90 days with no activity. |
I am trying to backup my FortiGate Firewalls and I keep getting the error:
│ W, [2024-07-05T11:01:20.253418 #33] WARN -- : x.x.x.x raised Timeout::Error with msg "execution expired"
I'm successfully backing up 100+ other devices from different vendors.
It is large config and it takes few minutes to scroll though the CLI if I run 'show | grep .' manually, I have seen previous posts about similar issues and Have tried those solutions.
I changed the global timeout to 600 and I have also tried:
Problem is I see this time out error 1-2 minutes after the server has started so there is no chance that 10 minutes have passed.
This is how my config file looks like:
Any help/suggestion on what I may be doing wrong is greatly appreciated.
The text was updated successfully, but these errors were encountered: