Ad Widget
Collapse
SNMP Builder for Zabbix
Collapse
X
-
I am am trying to load in the Lotus Domino MIB file. It works fine and I can load it in fine however the main reason I am using it is to build up "DeadMail" stats etc.
I have included a image, the problem is I cannot see "lnDeadMail" inside the snmp_builder at all. However when I load it into a MIB browser program, I can see it and am able to send traps to it.

Why do I not see lnStats etc
On snmp_builder I have two versions, 1 and 2c.
I have also attached the mib file.
Comment
-
httpd-error.log does not contain any error related to this event but zabbix-access_log does:
192.168.201.56 - - [04/Jul/2012:10:15:29 -0900] "GET /snmp_builder.php?sid=36f122ff1c8bcee9 HTTP/1.1" 500 -
192.168.201.56 - - [04/Jul/2012:10:15:32 -0900] "GET /snmp_builder.php?sid=36f122ff1c8bcee9 HTTP/1.1" 500 -
192.168.201.56 - - [04/Jul/2012:10:15:35 -0900] "GET /snmp_builder.php?sid=36f122ff1c8bcee9 HTTP/1.1" 500 -
192.168.201.56 - - [04/Jul/2012:10:15:36 -0900] "GET /snmp_builder.php?sid=36f122ff1c8bcee9 HTTP/1.1" 500 -
and zabbix-error_log
[Wed Jul 04 10:15:29 2012] [error] [client 192.168.201.56] PHP Fatal error: Cannot redeclare import_mib_form() (previously declared in /usr/local/www/zabbix/snmp_builder.php:730) in /usr/local/www/zabbix/snmp_builder.php on line 1836, referer: http://monitoring.sibmg.local:8080/n...f122ff1c8bcee9
[Wed Jul 04 10:15:32 2012] [error] [client 192.168.201.56] PHP Fatal error: Cannot redeclare import_mib_form() (previously declared in /usr/local/www/zabbix/snmp_builder.php:730) in /usr/local/www/zabbix/snmp_builder.php on line 1836, referer: http://monitoring.sibmg.local:8080/n...f122ff1c8bcee9
[Wed Jul 04 10:15:35 2012] [error] [client 192.168.201.56] PHP Fatal error: Cannot redeclare import_mib_form() (previously declared in /usr/local/www/zabbix/snmp_builder.php:730) in /usr/local/www/zabbix/snmp_builder.php on line 1836
[Wed Jul 04 10:15:36 2012] [error] [client 192.168.201.56] PHP Fatal error: Cannot redeclare import_mib_form() (previously declared in /usr/local/www/zabbix/snmp_builder.php:730) in /usr/local/www/zabbix/snmp_builder.php on line 1836
===========================
I found the reason. 1.8.12 patch was applied incorrectly. I completely removed old installation and installed snmp_builder 1.8.8. Just back to beginning.
Last edited by gridd; 04-07-2012, 04:00.Comment
-
I upgraded 1.8.5 to 1.8.13 (latest available by portupgrade from freebsdorg)
I installed the patch for 1.8.12 also, concerning different place of my files, but patch wrongly applied to some files or not at all.
Please, can anybody share diffs for 1.8.12 (or, much better for 1.8.13 ) zabbix files and whole tar or gzip file with .js, images,.php and other files of snmp_builder?
Manual patch application in vi is fingerbreaking and consumes too much time (~250K of plaint text in UTF).
=============
Help me, pleaseLast edited by gridd; 13-07-2012, 03:18.Comment
-
Comment
-
I have just installed zabbix-2.0.1 on 12.0.4 workstation and have had the same issue, and I found that if you add a .mib extension to a mib file and refresh the page the mib is then visible in the drop down listComment
-
Debian Squeeze + Zabbix v2.0.0 + Snmpbuilder v2.0.0 (from thread #230)

I tried different MIB's and every time got only "iso" and "ccitt"
I tried to change owner and chmod on MIB files and it's no effect.
apt-get install snmp-mibs-downloader
echo mibs +ALL > /etc/snmp/snmp.conf
and i still have the same problem
"snmptranslate -Tp" returns big MIB treeComment
-
Open mib file in a text editor and check the IMPORTS section at the top of the page make sure you have all the supporting mibs listed in that section in your:
/usr/share/mibs directory
eg: for IF-MIB supporting mibs are
SNMPv2 - SMI
SNMPv2 - TC
SNMPv2-CONF
SNMPv2-MIB
IANAifType-MIB
also check your apache erro.log file it may give you a clueComment
Comment