jjmartres / Zabbix

A great collection of Zabbix scripts and templates
GNU General Public License v2.0
878 stars 583 forks source link

Zabbix 3 + Fortigate Template #107

Open acf1210 opened 8 years ago

acf1210 commented 8 years ago

Hello friends,

Someone is already using the Fortigate templates in Zabbix 3 ?

I have faced problems mainly with the templates using external scripts , the same have not supported OID error as below.

Without someone can help me on this issue thank you.

Anderson Freitas

ZBX-FORTINET-ANTIVIRUS: Anti-virus for virtual domain   Item prototypes 18  Trigger prototypes 54   Graph prototypes 8  Host prototypes fgAvVdEntName   5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-HWSENSORS: fgHwSensor_FAN  Item prototypes 2   Trigger prototypes 1    Graph prototypes 1  Host prototypes fgHwSensorEntName_FAN   5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-HWSENSORS: fgHwSensor_PSStatus Item prototypes 1   Trigger prototypes 1    Graph prototypes    Host prototypes fgHwSensorEntName_PSStatus  5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-HWSENSORS: fgHwSensor_Temp Item prototypes 2   Trigger prototypes 1    Graph prototypes 1  Host prototypes fgHwSensorEntName_Temp  5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-HWSENSORS: fgHwSensor_Volts    Item prototypes 2   Trigger prototypes 1    Graph prototypes 1  Host prototypes fgHwSensorEntName_Volts 5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-CPU: fgProcessor   Item prototypes 4   Trigger prototypes 1    Graph prototypes 1  Host prototypes fgProcessorEntIndex 5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-HARDWARE: Hardware inventory   Item prototypes 2   Trigger prototypes 1    Graph prototypes    Host prototypes fgHardInvHostname   5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-HA: High Availability  Item prototypes 6   Trigger prototypes 9    Graph prototypes 4  Host prototypes fgHaStatsHostname   5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-IDS: IDS virtual domain    Item prototypes 2   Trigger prototypes 6    Graph prototypes    Host prototypes fgIdsVdEntName  5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-INTERFACES: Network Interfaces Item prototypes 13  Trigger prototypes 5    Graph prototypes 3  Host prototypes ifName  5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-VDOM: Virtual Domain   Item prototypes 1   Trigger prototypes  Graph prototypes    Host prototypes fgVdEntName 5m  SNMPv2 agent    Not supported   ×
ZBX-FORTINET-VPN: VPN Tunnel
ddyugaev commented 8 years ago

Hi,

Zabbix has changed SNMP OID discovery in 3.0. You can refer to https://www.zabbix.com/documentation/3.0/manual/discovery/low_level_discovery#discovery_of_snmp_oids for reference.

For example, if you want to discover fans, you need to set SNMP OID to "discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.13.1.4.1.3]" in your discovery rules instead of "1.3.6.1.4.1.9.9.13.1.4.1.3".

Hope it helps.

acf1210 commented 8 years ago

Thank ddyugaev ,

After made ​​the correction of discovery everything is running smoothly .

Very thanks

SamuelSilvaG commented 8 years ago

Friend , I am new in zabbix could explain how solve the problem? Or send me the template fixed to zabbix 3 , thank you , sorry google translator.

kobbie commented 8 years ago

Hi, I've updated fortinet templates for zabbix 3.0 in my repo & branch. This branch currently has some changes for my own, but I believe simply they can be imported to zabbix 3.0.

if you like to check how solved this, please see this commit.

I hope this helps you.