HA構成のFortigateに対するsnmpgetに失敗した場合の対処法

CLIから設定しないといけないみたい。

Fortinet Knowledge Base - View Document

上記リンク先に、HA構成のFortigateに対してSNMPポーリングをする場合に必要な設定のサンプルが掲載されている。

config system ha
    set ha-mgmt-status enable
    set ha-mgmt-interface "mgmt1"
    set ha-mgmt-interface-gateway 10.100.200.254
end

config system interface
    edit "mgmt1"
        set ip 10.100.200.1 255.255.255.0
        set allowaccess ping https ssh snmp fgfm
    next
end

config system snmp community
    edit 1
            config hosts
                edit 1
                    set ha-direct enable
                    set ip 10.100.100.0 255.255.255.0
                next
    next
end

set ha-direct enableの行を設定してあげなければいけないようで、この行に該当する設定箇所はGUI上は存在しない模様。