Skip to content

Set of utilities to troubleshoot FortiGate device

License

Notifications You must be signed in to change notification settings

kinokocorp/fortidebug

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FortiDebug

This is a set of utilities to make FortiGate troubleshooting easier.

⚠ Deprecation warning

This project is retired. For FortiGate troubleshooting and debugging please use FortiLightHouse CLI from the same author, which contains the same functionality and is significantly improved (static binary, no dependencies, no installation, more features, etc.).

This page will be shut down soon.

Utilities

Most of the utilities are command line based and connect to the FortiGate over SSH.

Different utilities can execute various commads on FortiGate and usually create some kind of human understandable summary. Some can represent the output in semi-graphical form more suitable for real-time troubleshooting and others can create an output prepared for further analysis with custom scripts.

If you are interested in automatic command execution based on (predefined or custom made) XML files, check the script.py utility wiki page.

For the comprehensive list of the all the utilities and their description, please see utilities wiki page.

There are also some auxiliary programs that can help with different format and timestamps conversions or with signing custom URL scripts for script.py utility.

Besides that you can also find some useful standalone programs that can be downloaded and used independently. Those programs usually do not use the SSH framework and can be implemented in any different way.

Supported client systems

At this moment all the utilities should work correctly on:

  • Windows 10
  • Linux Debian 9 (Stretch) and newer
  • MacOS High Sierra (10.13.6) with Homebrew

Installation and usage

The project is hosted on GitHub and you can simply download or clone it. For detailed instructions see the Installation page on wiki.

Most of the utilities are controlled in a similar way and they share the same basic parameters. To find how to use them together with desciption of the shared parameters, see the Usage page on wiki.

Each utility also has its own page on Wiki where the local parameters, bahaviors and priciples are written. You can find the links to all utilities on the Utilities wiki page.

Supported FortiGate hardware

All FortiGate hardware should be supported.

Some utilities need a definition of the platform (only nic_utilization.py at this moment), which is currently very incomplete. It is not a problem to add a new definition, please just raise an "Issue" here.

Supported FortiOS versions

Supported should be all FortiOS versions starting with 5.4, however it was not tested and there might be some differencies in different versions that might make some utilities incompatible. Please raise an "Issue" here if you find such problem.

Author

The project is written and maintained by Ondrej Holecek.

This is a private project that I write in my free time and it is not an official Fortinet product.

About

Set of utilities to troubleshoot FortiGate device

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.6%
  • PowerShell 3.2%
  • Batchfile 0.2%