Zabbix SNMP – Error building asn.1 representation

When installing Zabbix on Debian 6, you may enconter an error with SNMP checks.

Error building asn.1 representation

First try to retrieve the most basic uptime value with snmpget

snmpget -v2c -c public SNMPv2-MIB::sysUpTime.0
Cannot find module (SNMPv2-MIB): At line 0 in (none)

If you get similar output as above you are missing package snmp-mibs-downloader.

You can install this package via apt:

apt-get install snmp-mibs-downloader

After installation restart zabbix-server

Zabbix 2 CheckPoint SNMP template

I have created Zabbix 2.x Template for monitoring CheckPoint products via SNMP.
This template utilizes custom CheckPoint MIBs that are located on SecurePlatform OS in $CPDIR/lib/snmp/

You can also download CHECKPOINT-MIB file here (from R75 version):

You need to copy this file to your Zabbix server, into directory /usr/share/snmp/mibs
To test new MIBs, run a snmpget command as follows:

SNMPv2: [code]snmpget -v2c -c -Of CHECKPOINT-MIB::svnVersion.0[/code]
SNMPv3: [code]snmpget -v3 -l authpriv -u -A -X -Of CHECKPOINT-MIB::svnVersion.0[/code]

This command should return the product version: = STRING: “R75.40”

Download links for Templates:


SNMPv2 template will try to link standard Zabbix’s Templates:”Template SNMP Device and Template SNMP Disks.

SNMPv3 template will try to link my own SNMPv3 Zabbix Templates: Template SNMPv3 Device and Template SNMPv3 Disks.

You can get these SNMPv3 templates from here

Enable SNMP monitoring in CheckPoint

Step 1. Turning on SNMP extension
(to enable extended CP MIBS –

Configuration Options:

(2) SNMP Extension

Press the corresponding number to access SNMP extension configuration. In our case it is – “2”.
[code]Configuring SNMP Extension…
The SNMP daemon enables Check Point products module
to export its status to external network management tools.
Would you like to enable Check Point products SNMP daemon ? (y/n) [y] ?
Press “y” or [Enter] key to enable the SNMP extension.[/code]
[code]Thank You…
You have changed Check Point products Configuration.
You need to restart ALL Check Point modules (performing cpstop & cpstart)
in order to activate the changes you have made.
Would you like to do it now? (y/n) [y] ?
Press “y” or [Enter] key again to apply the changes.

2. Configuring SNMP users

[code]snmp user add authuser USER pass PASSWORD1 priv PASSWORD2
service snmpd restart

3. Adding SNMPd to automatic startup sequence
chkconfig snmpd on