Ad Widget

Collapse

Fortigate template v2019

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • helia.zhian@gmail.com
    Junior Member
    • Apr 2020
    • 2

    #1

    Fortigate template v2019

    Hi

    I have downloaded fortigate snmp template and imported to zabbix. the template can monitor memory and cpu usage but it cannot discove firewall's interfaces.
    please help me
  • jeferson.madruga
    Junior Member
    • Jun 2020
    • 1

    #2
    hi,

    On your template, add a new discovery > Create discovery rule

    Name: Network Interfaces
    Type: Snmpv2Agent
    Key: ifname
    snmp OID: discovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]
    snmp community: {$SNMP_COMMUNITY} -> Macro

    Click button 'Add'

    Next step:

    Item prototypes > Create Item Prototype

    Name: Download $1
    Type: Snmpv2Agent
    Key: ifInOctets[{#SNMPVALUE}]
    SnmpOID: IF-MIB::ifInOctets.{#SNMPINDEX}
    Snmp Community: {$SNMP_COMMUNITY}
    Type Information: Numeric (unsigned)
    Units: bps

    Click Button 'Add'

    Again, Create Item Prototype

    Name: Download $1
    Type: Snmpv2Agent
    Key: ifHCOutOctets[{#SNMPVALUE}]
    SnmpOID: IF-MIB::ifHCOutOctets.{#SNMPINDEX}
    Snmp Community: {$SNMP_COMMUNITY}
    Type Information: Numeric (unsigned)
    Units: bps

    Click Button 'Add'

    Again, Create Item Prototype

    Name: LinkSpeed $1
    Type: Snmpv2Agent
    Key: ifHighSpeed[{#SNMPVALUE}]
    SnmpOID: IF-MIB::ifHighSpeed.{#SNMPINDEX}
    Snmp Community: {$SNMP_COMMUNITY}
    Type Information: Numeric (unsigned)

    Click Button 'Add'

    Now, Link your template a Fortigate Device and wait the time to execute the discovery rules, based-on your configurarion (default is 1minute).

    Rds,




    Comment

    • Concerned Citizen
      Junior Member
      • Aug 2020
      • 1

      #3
      Thanks so much for the reply, Jeferson - all of these rules and prototypes exist, and when trying to add them to this template as you instructed, throw an error that it cannot be overwritten. So they are basically in place - but should we replace the template's values with yours?

      The template the original poster is referring to is here: https://share.zabbix.com/network_dev...template-v2019

      I'm trying to use the exact same thing - and I see the various network interface graphs listed. But when I try to add a graph to a dashboard, my only choices are "Download $1" and "Upload $1" which puts all 26 interfaces on one graph.

      I'm rather new to all this - how can I just graph ONE set of upload/download values for wan1, for example?

      Thanks!

      CC


      Originally posted by jeferson.madruga
      hi,

      On your template, add a new discovery > Create discovery rule

      Name: Network Interfaces
      Type: Snmpv2Agent
      Key: ifname
      snmp OID: discovery[{#SNMPVALUE},.1.3.6.1.2.1.31.1.1.1.1]
      snmp community: {$SNMP_COMMUNITY} -> Macro

      Click button 'Add'

      Next step:

      Item prototypes > Create Item Prototype

      Name: Download $1
      Type: Snmpv2Agent
      Key: ifInOctets[{#SNMPVALUE}]
      SnmpOID: IF-MIB::ifInOctets.{#SNMPINDEX}
      Snmp Community: {$SNMP_COMMUNITY}
      Type Information: Numeric (unsigned)
      Units: bps

      Click Button 'Add'

      Again, Create Item Prototype

      Name: Download $1
      Type: Snmpv2Agent
      Key: ifHCOutOctets[{#SNMPVALUE}]
      SnmpOID: IF-MIB::ifHCOutOctets.{#SNMPINDEX}
      Snmp Community: {$SNMP_COMMUNITY}
      Type Information: Numeric (unsigned)
      Units: bps

      Click Button 'Add'

      Again, Create Item Prototype

      Name: LinkSpeed $1
      Type: Snmpv2Agent
      Key: ifHighSpeed[{#SNMPVALUE}]
      SnmpOID: IF-MIB::ifHighSpeed.{#SNMPINDEX}
      Snmp Community: {$SNMP_COMMUNITY}
      Type Information: Numeric (unsigned)

      Click Button 'Add'

      Now, Link your template a Fortigate Device and wait the time to execute the discovery rules, based-on your configurarion (default is 1minute).

      Rds,
      Last edited by Concerned Citizen; 26-08-2020, 23:25.

      Comment

      Working...