Я создал шаблон Zabbix 2.x для мониторинга CheckPoint продуктов через SNMP.
Этот шаблон использует CheckPoint MIB, который находятся на SecurePlatform OS в папке $CPDIR/lib/SNMP/
Вы также можете скачать MIB файл здесь (от версии R75 ):
http://pingtool.org/downloads/CHECKPOINT-MIB.txt
Вы должны скопировать этот файл на сервер Zabbix, в каталог /usr/share/snmp/mibs
Для проверки новых MIB-ов, можно запустить команду snmpget следующим образом:
SNMPv2: [code]snmpget -v2c -c
SNMPv3: [code]snmpget -v3 -l authpriv -u
Эта команда должна вернуть версию продукта: iso.org.dod.internet.private.enterprises.checkpoint.products.svn.svnInfo.svnVersion.0 = STRING: «. R75.40»
Вот ссылки для загрузки шаблонов:
SNMPv2: http://pingtool.org/downloads/zbx_CheckPoint_SNMP.xml
SNMPv3: http://pingtool.org/downloads/zbx_CheckPoint_SNMPv3.xml
Темплейт SNMPv2 связан со стандартными Zabbix шаблонами: Template SNMP Device и Template SNMP Disks .
Темплейт SNMPv3 связан с Zabbix SNMPv3 Темплейтами : Template SNMPv3 Device и Template SNMPv3 Disks.
Вы можете получить эти шаблоны здесь
Hello and THX for your guides / templates.
I have many CP 4000 and CP 12000 Appliances with GAiA and R75.45 installed. Your own discovery rules (HA state, …) doesn’t work for me. The right discovered item appears, but not with any value. If you look for the discovered items under the specific host, zabbix says «Not supported».
I have tried a lot now, even build my own discovery rules, but without any luck. I think the problem is, that the CHECKPOINT-MIB uses SCALAR Objects (not MIB Tabular Objects) which OIDs ends with .0 so it is not possible for zabbix to find the right #SNMPINDEX perhaps?!? I’ve tried already to add «.0» behind the {#SNMPINDEX} in the OID field of the item.
Do you have any idea?
THX!
Greetz
Sebastian
Hi, Thanks for the feedback!
Actually I have faced the exact same problem with Gaia and R75. I have tried to use different objects to get the correct index value, but had no success.
I re-did the template and created static items for CheckPoint objects, I guess I will need to upload a newer version of it.
Please review and fix a lot of space/tab errors in CHECKPOINT-MIB.txt, and at the end you have there some output from your internal commands:
«[Expert@vbtfw02]# cat chkpnt.mib cd /usr/l share/snmp/
mib2c-data mib2c.genhtml.conf
mib2c.access_functions.conf mib2c.int_watch.conf
mib2c.array-user.conf …»
Thanks for pointing this out!
Fixed
I got this error when running «snmpget -v2c -c -Of CHECKPOINT-MIB::svnVersion.0»
Bad operator (IDENTIFIER): At line 25 in /usr/share/snmp/mibs/CHECKPOINT-MIB.txt
can you help me?
thanks