Skip to content

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

Description

@josy1024

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];
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions