Python script for Fortinet device monitoring
254
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#
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
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
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)
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)
Content type
Image
Digest
sha256:5a37bf260…
Size
218.2 MB
Last updated
over 3 years ago
docker pull ndicaprio/mnt_ftnt:1.2.2