Fortigate SDWAN healthcheck monitor

I need some sdwan health check monitor to fortigate.
this is a far as I got.it seemed to work for a while. it seems it just stopped.

requirement update mibs/fortinet/FORTINET-FORTIGATE-MIB

adding
includes/definitions/discovery/fortigate.yaml

sensors:
    pre-cache:
        data:
            -
                oid:
                    - fgVWLHealthCheckLinkName
                    - fgVWLHealthCheckLinkIfName
   
    state:
        data:
            -
               oid: FgVWLHealthCheckLinkTableEntry
                num_oid: '.1.3.6.1.4.1.12356.101.4.9.2.1.4.{{ $index }}'
                index: 'fgVWLHealthCheckLinkState.{{ $index }}'
                descr: "{{ $fgVWLHealthCheckLinkName }}\\{{ $fgVWLHealthCheckLinkIfName }} State"
                group: SDWAN
                value: fgVWLHealthCheckLinkState
                states:
                    - { value: 0, descr: Alive, graph: 1, generic: 0 }
                    - { value: 1, descr: Dead, graph: 1, generic: 2 }

    count:
        data:
            -
                oid: FgVWLHealthCheckLinkTableEntry
                value: fgVWLHealthCheckLinkPacketLoss
                num_oid: '.1.3.6.1.4.1.12356.101.4.9.2.1.9.{{ $index }}'
                index: 'fgVWLHealthCheckLinkPacketLoss.{{ $index }}'
                descr: "{{ $fgVWLHealthCheckLinkName }}\\{{ $fgVWLHealthCheckLinkIfName }} Packet Loss"
                group: SDWAN
1 Like

Hi,
i also tried it here. and can’t get it working. I still have no clue why. Still trying to figuring it out