Ad Widget

Collapse

Zabbix, FortiGate and MIBs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Chrisl
    Junior Member
    • Feb 2016
    • 2

    #1

    Zabbix, FortiGate and MIBs

    Hello everybody!

    I have been importing Zabbix Templates from jjmartres github: https://github.com/jjmartres/Zabbix/...s/zbx-fortinet

    When I import the zbx-fortinet-ha.xml file I am given the following error:

    Cannot find value map "FgBoolState" used for item "Configuration of an automatic configuration synchronization" on "ZBX-FORTINET-HA".

    Looking at the readme for ZBX-FORTINET-HA, jjmartres page says: "This template use the FORTINET-CORE-MIB and FORTINET-FORTIGATE-MIB to discover and manage High Availability."

    I thought Zabbix doesn't use MIBs, so that statement confuses me. Our FG allows me to download the MIB files referenced above, so I've done that. They are sitting with other MIB files in snmpd's mibs directory. But how do I get the MIBs into Zabbix?

    I am running Zabbix 2.4.7

    Thank you for helping me.
  • WillemR
    Member
    • Oct 2015
    • 30

    #2
    Originally posted by Chrisl
    Hello everybody!

    I have been importing Zabbix Templates from jjmartres github: https://github.com/jjmartres/Zabbix/...s/zbx-fortinet

    When I import the zbx-fortinet-ha.xml file I am given the following error:

    Cannot find value map "FgBoolState" used for item "Configuration of an automatic configuration synchronization" on "ZBX-FORTINET-HA".

    Looking at the readme for ZBX-FORTINET-HA, jjmartres page says: "This template use the FORTINET-CORE-MIB and FORTINET-FORTIGATE-MIB to discover and manage High Availability."

    I thought Zabbix doesn't use MIBs, so that statement confuses me. Our FG allows me to download the MIB files referenced above, so I've done that. They are sitting with other MIB files in snmpd's mibs directory. But how do I get the MIBs into Zabbix?

    I am running Zabbix 2.4.7

    Thank you for helping me.

    You have to create a mapping for the state, as stated in the manual

    Add a value mapping named FgBoolState with the following values:

    1 => disabled
    2 => enabled

    Add a value mapping named FgHaLbSchedule with the following values:

    1 => none
    2 => hub
    3 => leastConnections
    4 => roundRobin
    5 => weightedRoundRobin
    6 => random
    7 => ipBased
    8 => ipPortBased

    Add a value mapping named FgHaMode with the following values:

    1 => standalone
    2 => activeActive
    3 => activePassive

    You can do this, in administration, General, choose value mappings from the right scroll down bar.

    add the mapping, import the template

    Comment

    Working...