Monitoring icon indicating copy to clipboard operation
Monitoring copied to clipboard

Fortigate 60f + 70f ipv4 and ipv6 Sessions Monitoring -T ses-ipv4 ses-ipv6

Open josy1024 opened this issue 2 months ago • 0 comments

hey ;-)

seems the function get_health_value in check_fortigate.pl does not work and get the expected data for:

-T ses-ipv4 (FG60f +FG70f) -T ses-ipv6 (FG60f +FG70f) -T ses (FG70f with 7.4.9)

script works for: -T ses (FG60f with 7.2.11)

oid appended with ".1" in get_health_value does not exists snmpwalk diagnose FAIL: .1.3.6.1.4.1.12356.101.4.1.15.0.1 OK: .1.3.6.1.4.1.12356.101.4.1.15.0

FAIL: .1.3.6.1.4.1.12356.101.4.1.8.0.1 OK: .1.3.6.1.4.1.12356.101.4.1.8.0

Device: FGT60FTK* (7.2.11,build1740,250210) Device: FGT70FTK* (7.4.9,build2829,250924)

if ( $slave == 1 ) { $oid = $[0] . ".2"; $label = "slave" . $label; } elsif ( $curr_serial =~ /^FG100A/ ) { $oid = $[0]; } elsif ( $curr_serial =~ /^FG201/ ) { $oid = $[0]; } elsif ( $curr_serial =~ /^FG/ ) { $oid = $_[0] . ".1"; } else { $oid = $_[0]; }

josy1024 avatar Nov 12 '25 21:11 josy1024