Ad Widget

Collapse

SNMP Builder for Zabbix

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • five0va
    replied
    I've loaded Zabbix Extras and had no problem doing so. I went to imort a mib for the APC 8841, but the process errored out with the below error. Is there supposed to be some sort of special folder?

    Command: cp -f "" "/usr/share/zabbix/extras/snmp-builder/mibs/powernet414.mib". Message: cp: cannot stat '': No such file or directory

    I have verified and the directory structure is there.

    Leave a comment:


  • makemeasandwich
    replied
    Can be deleted
    Last edited by makemeasandwich; 16-06-2015, 09:01.

    Leave a comment:


  • makemeasandwich
    replied
    Hello,

    do you have any idea if I can see a log somewhere?
    I have imported a mib but I cannot see any content of the mib but the upload was successful. Any idea if I can enable error logging somewhere to see what the mistake could be?

    Leave a comment:


  • makemeasandwich
    replied
    Originally posted by spaww
    My question is:
    Your zabbix server can get SNMP data from this hosts ? If the zabbix server for some reason (for example network permission... or ACL) cant get data from host... SNMP-Builder not will work !
    Hello,

    you mean the SNMP-Builder only then shows the OID when you put in a Host that can get the Data from the SNMP device?

    Yes I have that here:





    I cannot see the OID but I can add the Item and it will be displayed in the template.

    But the browser is supposed to show the OID's right after the Host is added and can get the data via snmp

    And for example the mib browser I use in windows doesn't need a host but still shows the OIDS'?

    Thanks for the help!!

    Kind regards

    makemeasandwich
    Last edited by makemeasandwich; 03-06-2015, 16:32.

    Leave a comment:


  • spaww
    replied
    Originally posted by makemeasandwich
    Hello,

    I run both on my virtual machine thats true. One is windows 7 machine with that mib browser and the other one linux with the zabbix server.

    I downloaded the mib from the zabbix server to the windows 7 machine so its the same mib. I wanted to check if the mib is shown correctly in other browsers.

    or what do you mean?

    Kind regards,

    makemeasandwich
    My question is:
    Your zabbix server can get SNMP data from this hosts ? If the zabbix server for some reason (for example network permission... or ACL) cant get data from host... SNMP-Builder not will work !

    Leave a comment:


  • makemeasandwich
    replied
    Originally posted by spaww
    Ok, but you are making 2 different tests... One using your computer... another using the zabbix server...
    From shell in zabbix server... you can get this mib too ?
    Hello,

    I run both on my virtual machine thats true. One is windows 7 machine with that mib browser and the other one linux with the zabbix server.

    I downloaded the mib from the zabbix server to the windows 7 machine so its the same mib. I wanted to check if the mib is shown correctly in other browsers.

    or what do you mean?

    Kind regards,

    makemeasandwich

    Leave a comment:


  • spaww
    replied
    Originally posted by makemeasandwich
    Hello,

    this is what I mean. This is a standard MIB that was included in extras.

    I compared the mib with another mib browser.

    The one from the zabbix add in doesn't show the OID's also the tree isn't displayed correctly.










    Kind regards,

    makemeasandwich
    Ok, but you are making 2 different tests... One using your computer... another using the zabbix server...
    From shell in zabbix server... you can get this mib too ?

    Leave a comment:


  • makemeasandwich
    replied
    Hello,

    this is what I mean. This is a standard MIB that was included in extras.

    I compared the mib with another mib browser.

    The one from the zabbix add in doesn't show the OID's also the tree isn't displayed correctly.










    Kind regards,

    makemeasandwich

    Leave a comment:


  • makemeasandwich
    replied
    Originally posted by spaww
    makemeasandwich... works fine... I use this yesterday without problems...
    what is your enviroment ? OS ? Install from sources or from packages ?
    hello,

    can you show me a screenshot ? Im running ubuntu 14.04 LTS . Zabbix installed from Packages.

    Thanks for the help!

    Kind regards,

    makemeasandwich

    Leave a comment:


  • spaww
    replied
    Originally posted by makemeasandwich
    Yes the installation works. But the whole function about it doesnt't. So that its useless =( you cannot view anything.

    Here is what I mean:



    and the mib is not broken if I view it in ireasoning mib browser it works just fine.
    makemeasandwich... works fine... I use this yesterday without problems...
    what is your enviroment ? OS ? Install from sources or from packages ?

    Leave a comment:


  • makemeasandwich
    replied
    Originally posted by spaww
    The version with zabbix extras (for zabbix 2.4) works fine !

    Yes the installation works. But the whole function about it doesnt't. So that its useless =( you cannot view anything.

    Here is what I mean:



    and the mib is not broken if I view it in ireasoning mib browser it works just fine.

    Leave a comment:


  • spaww
    replied
    Originally posted by makemeasandwich
    any news on this topic ?
    The version with zabbix extras (for zabbix 2.4) works fine !

    Leave a comment:


  • makemeasandwich
    replied
    any news on this topic ?

    Leave a comment:


  • ciconet
    replied
    Originally posted by AlexYoung
    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(); 

    Hi Alex

    Are you solved this issue ?
    I have the same....

    Leave a comment:


  • richlv
    replied
    for the record, https://www.zabbix.org/wiki/Snmp_builder tries to document how to get it running on different versions of zabbix, but it needs some help

    Leave a comment:

Working...