Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • donb
    replied
    MIB tree works, no items or oid values in main screen...

    I have the same problem, where I cannot see or add the items in.. I am able to view the MiB tree.. but that's pretty useless if you cant import to template..

    CO-IP-IF-MIB: ciscoIPIfMIBCompliance1 ::= { ciscoIPIfMIBCompliances 2 }
    Cannot adopt OID in CISCO-IP-IF-MIB: ciscoIPIfMIBCompliance ::= { ciscoIPIfMIBCompliances 1 }
    Cannot adopt OID in CISCO-MAC-NOTIFICATION-MIB: ciscoMacNotificationMIBObjects ::= { ciscoMacNotificationMIB 1 }
    Cannot adopt OID in CISCO-MAC-NOTIFICATION-MIB: cmnMIBNotificationPrefix ::= { ciscoMacNotificationMIB 2 }
    Cannot adopt OID in CISCO-MAC-NOTIFICATION-MIB: cmnMIBConformance ::= { ciscoMacNotificationMIB 3 }
    Cannot adopt OID in CISCO-MAC-NOTIFICATION-MIB: cmnMIBCompliances ::= { cmnMIBConformance 1 }
    Cannot adopt OID in CISCO-MAC-NOTIFICATION-MIB: cmnMIBGroups ::= { cmnMIBConformance 2 }


    Anyone able to help with this?

    Leave a comment:


  • AlexYoung
    replied
    Hi, I'm using 2.4 and getting nothing in my OID Tree and i've enabled error logging and it's saying

    PHP Code:
    Fatal error: Class 'JSON' not found in /usr/share/zabbix/snmp_builder.php on line 706 
    the code is

    PHP Code:
     // Javascript GUI init
        
    if ($mib)
        {
            
    $oid_tree get_oid_tree($mib);
            
            
    $json = new CJSON(); 

    Leave a comment:


  • OriginNG
    replied
    Originally posted by mmidgett
    Im getting this error after running the zabbix extra script on 2.2.1

    Function: get_oid_tree. Command: /snmptranslate -Ts -M /usr/share/zabbix/extras/snmp-builder/mibs -m MIKROTIK-MIB. Error: 127. Message:

    Its the / in front that is keeping it from working. I can run the command without the /
    Had the same problem and had net-snmp-utils not installed before I installed snmpbuilder. Fixed the issue by reinstalling snmpbuilder after I installed net-snmp-utils.

    Joop

    Leave a comment:


  • spaww
    replied
    Originally posted by mmidgett
    Im getting this error after running the zabbix extra script on 2.2.1

    Function: get_oid_tree. Command: /snmptranslate -Ts -M /usr/share/zabbix/extras/snmp-builder/mibs -m MIKROTIK-MIB. Error: 127. Message:

    Its the / in front that is keeping it from working. I can run the command without the /
    Mmidgett,

    Zabbix Extras 2.1 is for use with Zabbix 2.4... not Zabbix 2.2... the name of some funcions are changed since 2.4...

    Leave a comment:


  • mmidgett
    replied
    Im getting this error after running the zabbix extra script on 2.2.1

    Function: get_oid_tree. Command: /snmptranslate -Ts -M /usr/share/zabbix/extras/snmp-builder/mibs -m MIKROTIK-MIB. Error: 127. Message:

    Its the / in front that is keeping it from working. I can run the command without the /

    Leave a comment:


  • spaww
    replied
    All,

    I found the bug about MIB Import.
    Is only update Zabbix-Extras and SNMP-Builder import process will work again in Zabbix 2.4.

    Special Thanks to Theo and Jader for help-me in debug !

    Leave a comment:


  • mario5046
    replied
    Ok. I will try your method.
    Yes. Zabbix 2.4 is ok

    Leave a comment:


  • spaww
    replied
    Originally posted by mario5046
    Hi,
    Can someone write step by step instruction how to install snmp builder on debian ?

    I know that instruction how to install it on centos/ubuntu exist but I cannot find instruction how to do it on debian.
    Mario,

    Install Zabbix Extras and you will have SNMPBuilder together.

    In portuguese:

    Translated using google:


    Is for Zabbix 2.4 ok ?

    Leave a comment:


  • mario5046
    replied
    Installation snmp builder on debian

    Hi,
    Can someone write step by step instruction how to install snmp builder on debian ?

    I know that instruction how to install it on centos/ubuntu exist but I cannot find instruction how to do it on debian.

    Leave a comment:


  • Spoonman
    replied
    Hello,

    I have CentOS7 (64bit) and Zabbix 2.4.2
    When I follow instructions to install snmpbuilder from KakersUK, I get a white homescreen, with no login etc....
    Checked logfiles, and there is an error in line 28 from file "page_header.php".
    I replaced this line with the original line 28 from my working setup, no luck.
    (restarted HTTP, MySQL and zabbix-server services).
    Last edited by Spoonman; 20-11-2014, 22:44.

    Leave a comment:


  • mmidgett
    replied
    Originally posted by eagle
    Hello,

    I have the following:
    Centos 6.5
    Zabbix 2.4

    I have installed SNMP Builder following KakersUK instructions:

    GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.


    And same result: SNMP OID Tree is empty.

    Which files need to be changed/edited to get this work?

    Any help would be very appreciated.

    Ive done the same with debian 7 and zabbix 2.2.6 and my tree is empty.
    Can someone please show me what I have missed.

    Leave a comment:


  • eagle
    replied
    Hello,

    I have the following:
    Centos 6.5
    Zabbix 2.4

    I have installed SNMP Builder following KakersUK instructions:

    GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.


    And same result: SNMP OID Tree is empty.

    Which files need to be changed/edited to get this work?

    Any help would be very appreciated.

    Leave a comment:


  • theocastelo
    replied
    Originally posted by spaww
    Pacman,

    Check permissions of directory... PHP need to write into folder.

    I have the same problem Adail..

    zabbix 2.4,

    The folder have write permissions

    Leave a comment:


  • spaww
    replied
    Pacman,

    Check permissions of directory... PHP need to write into folder.

    Originally posted by PacMan
    Yes, Zabbix 2.4/
    Update OS and error was gone, but when I import MIB, it`s writing:
    "Fatal error: Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 499"

    Update:
    If i copied MIB manual (by command line), all work.

    Leave a comment:


  • PacMan
    replied
    Originally posted by spaww
    PacMan,

    You have Zabbix 2.4 ? And have SNMP-Tools package ?
    Yes, Zabbix 2.4/
    Update OS and error was gone, but when I import MIB, it`s writing:
    "Fatal error: Call to a member function useJQueryStyle() on a non-object in /usr/share/zabbix/include/html.inc.php on line 499"

    Update:
    If i copied MIB manual (by command line), all work.
    Last edited by PacMan; 03-10-2014, 09:55.

    Leave a comment:

Working...