Sign inSign up

ndicaprio/mnt_ftnt

By ndicaprio

•Updated over 3 years ago

Python script for Fortinet device monitoring

Image
1

254

ndicaprio/mnt_ftnt repository overview

⁠Monitor_ftnt

⁠v1.2.2 (May, 31, 2023)
⁠Script Python for Fortinet device monitoring

⁠Run Container

Run the following command in your shell:

docker pull ndicaprio/mnt_ftnt:1.2.2  
docker run -it -h mnt_ftnt ndicaprio/mnt_ftnt:1.2.2

in the container you're able to run the scripts into directory

root@mnt_ftnt:/# cd ~/monitor_ftnt/ 
root@mnt_ftnt:~/monitor_ftnt#

⁠monitor_fos_sdwan

Monitoring parameter SD-WAN of a FortiGate in realtime.
Show SD-WAN members, traffic and health-chek status every 2 seconds.

Usage:

./monitor_fos_sdwan.py  -i <ipaddress> -u <username> -p <password>

<ipaddress> Firewall IP address
<username> Firewall Admin username (default=admin)
<password> Firewall Admin password

⁠monitor_fos_ts

Monitoring traffic shaping of a FortiGate in realtime.
Show the class_id for each interface and its values: allocated_bandwidth, max_bandwidth, guaranteed_bandwidth, priority, current_bandwidth, drop_bytes, forwarded_bytes.

Usage:

./monitor_fos_ts.py -i <ipaddress> -u <username> -p <password>

<ipaddress> Firewall IP address
<username> Firewall Admin username (default=admin)
<password> Firewall Admin password

⁠monitor_fmg_sdwan

Monitoring parameter SD-WAN of a FortiGate in realtime from FortiManger.
Show SD-WAN members, traffic and health-chek status every 2 seconds.

Usage:

./monitor_fmg_sdwan.py -i <ip_fmg> -u <username> -p <password> -a <adom> -f <device> -v <vdom>

<ipaddress> FMG IP address
<username> FMG Admin username (default=admin)
<password> FMG Admin password
<adom> Adom (default=root)
<device> Device name (firewall hostname)
<vdom> Device VDOM (default=root)

⁠monitor_fmg_ts

Monitoring traffic shaping of a FortiGate in realtime from FortiManger.
Show the class_id for each interface and its values: allocated_bandwidth, max_bandwidth, guaranteed_bandwidth, priority, current_bandwidth, drop_bytes, forwarded_bytes.

Usage:

./monitor_fmg_ts.py -i <ip_fmg> -u <username> -p <password> -a <adom> -f <device> -v <vdom>

<ipaddress> FMG IP address
<username> FMG Admin username (default=admin)
<password> FMG Admin password
<adom> Adom (default=root)
<device> Device name (firewall hostname)
<vdom> Device VDOM (default=root)

Tag summary

Content type

Image

Digest

sha256:5a37bf260…

Size

218.2 MB

Last updated

over 3 years ago

docker pull ndicaprio/mnt_ftnt:1.2.2