Could you try to escape the command to fix it (in sell command)? My code stop when it find module name - it suppose that 1 module in 1 file??? I think the problem causing command is It returns when ran on command line without "-LE correct me if i'm wrong). navigate here
dima_dm15-01-2010, 08:18There's already a feature request open for this too on the bug tracker... This fixes my problem with being able to load the HP mibs but I'm not able to actually pull any data with any of the HP mibs. Get new snmp_builder.php from github http://github.com/giapnguyen/snmpbuilder to see it fix your problem. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages https://supportforums.cisco.com/discussion/11418931/frustrating-trying-import-cisco-entity-sensor-mib
Events Experts Bureau Events Community Corner Awards & Recognition Behind the Scenes Feedback Forum Cisco Certifications Cisco Press Café Cisco On Demand Support & Downloads Login | Register Search form Search Working... Another option is to call the mib explicitly using the -m option (i think). bytehost22.
If you can try and host it somewhere where you have a source code management system such as subversion or git. Cannot Adopt Oid In Net-snmp When I put in the IP of the host in question I see the following in /var/log/apache/error.log Undefined OBJECT-GROUP (hpicfSyslogPriorityDestinationIndex): At line 779 in /usr/share/snmp/mibs/hpicfSyslog.mib Undefined OBJECT-GROUP (hpicfBasicSnmpNotifyLogFilterTable): At line 1470 If you see same error: .Cannot find module (CISCO-SMI): At line 22 in /home/zabbix/public_html/snmp_builder/mibs/OLD-CISCO-TS-MIB mib Cannot find module (CISCO-SMI): At line 22 in /home/zabbix/public_html/snmp_builder/mibs/OLD-CISCO-TS-MIB.mib It means you must download CISCO-SMI mib https://www.monitoring-lists.org/archive/users/2004-March/018297.html My nagios receive the traps from my routers cisco, and is running the snmptrapd daemon to receive this traps.
I think developing it to the point of a dropin plugin is the better option for you though. (Aly... If not please attach your mib. It not a big issue. The issue is with the tables.
Does http://ooz.net/~elvar/stor/HP_ProCurve_MIBs_Loading_Order.html provide anything useful for getting snmp_builder to work with the HP mibs? https://forum.centreon.com/forum/centreon-use/setup/10853-solved-mib-importing-error appropriately enough its id is ZBXNEXT-1 (https://support.zabbix.com/browse/ZBXNEXT-1) :) it is more flexible approach http://www.zabbix.com/forum/showthread.php?t=15400 https://support.zabbix.com/browse/ZBXNEXT-10 giapnguyen18-01-2010, 02:51I get the same errors on latest Zabbix 1.9 (trunk) rev.9324 and CentOS 5.4. Cisco-smi It would be great if Zabbix would have their own Template builder or something like that for transforming SNMP MIB files to Templates... Snmptranslate Mib File I too hope you can work with the Zabbix team to eventually see it integrated into trunk, or at lease developed to the point where it's a simple drop in plugin
giapnguyen19-02-2010, 09:04Hey guys, my github's here: http://github.com/giapnguyen/snmpbuilder I checked HP mibs, it's ok but we need nelsonab's patch because in hp mib file, module name not same with file name richlv19-02-2010, check over here What are the alternatives to compound interest for a Muslim? Stoppard Intermediate Posts 141 Occupation Senior SAP Consultant / Linux / Unix Number of hosts 400 Number of services 1000 Operating Systems Linux 1 snmpttconvertmib CISCO-ENVMON-MIB.my Sep 11th 2006, 9:07am Hi, share|improve this answer answered Oct 22 '12 at 9:03 chrisdew 8772923 3 Thanks - your answer just saved me hours of logfile debugging. [+1] –e-sushi Jan 20 '14 at 4:57 Snmp-mibs-downloader
I noticed if I change the get_oid_content function to include the MIB name with the oid name it gets further but not much. modest20-01-2010, 21:41I have the same issue with HP switches and MIB downloaded form HP site. SNMP Builder should solve OID automatically (via get_oid_value function), you don't need add MIB manually in get_oid_from_name function. his comment is here jhgrc19-02-2010, 12:59I'm still work on weird index value.
snmpttconvertmib relies on snmptranslate; and snmptranslate looks up for mib files in $HOME/.snmp/mibs /usr/local/share/snmp/mibsput the prerequisite mib files into one of these directories and try to re-run snmpttconvertmib; See The string issue, wasn't the only problem I found. DoMoVoY 19 декабря 2013 в 20:55 0 ↑ ↓ Гораздо надежнее в коде ПО написать числовой OID. Автоматизацию мы как раз и делаем уже с использованием полученных данных преобразований Object ID
First, you can put the following lines in a snmp.conf file. Firm30-12-2009, 13:19giapnguyen, It works now. Done Total translations: 10 Successful translations: 0 Failed translations: 10 Moving traps in DataBase... nelsonab18-02-2010, 22:56Here is a txt file of the output from running 'snmpwalk -v 2c HOST -c public > hp_procurve_5412-snmpwalk.txt' http://ooz.net/~elvar/stor/hp_procurve_5412-snmpwalk.txt (http://ooz.net/%7Eelvar/stor/hp_procurve_5412-snmpwalk.txt) Based on this, does that give you any info as
Click on the tree to retrieve value and information about a OID. this is the coolest hack/patch I've seen yet for Zabbix. I haven't dug to much into it, but I do see the snmp_builder.js is not looking at 64bit counters. weblink Yes No OK OK Cancel X ZABBIX Forums > Zabbix Discussions and Feedback > Zabbix Suggestions and Feedback > SNMP Builder for Zabbix PDA View Full Version : SNMP Builder
If you pulled it from another file (like an RFC), make sure it doesn't contain anything non-MIB related (like the text leading up to it, and the page separators). Quote Report Content Go to Page Top Stoppard Intermediate Posts 141 Occupation Senior SAP Consultant / Linux / Unix Number of hosts 400 Number of services 1000 Operating Systems Linux 2 However.... thi is the message : ***** Processing MIB file ***** snmptranslate version: NET-SNMP version: 18.104.22.168 severity: Normal File to load is: /tmp/JUNIPER-SMI.mib File to APPEND TO: /tmp/JUNIPER-SMI.mib.conf MIBS environment var: /tmp/JUNIPER-SMI.mib
The very first line in the file should begin with something like "CISCO-RHINO-MIB DEFINITIONS ::= BEGIN" No, pick a node in the file that you want to translate that currently isn't Could you try to escape the command to fix it (in sell command)? but that's for another thread... snmpttconvertmib relies on snmptranslate; and snmptranslate looks up for mib files in $HOME/.snmp/mibs /usr/local/share/snmp/mibsput the prerequisite mib files into one of these directories and try to re-run snmpttconvertmib; See
strtok('.'); $prefix_elements--; } $tmp .= '.'; $prefix_length = strlen($tmp); } $key = substr($key, $prefix_length); $index = explode('.', $key, 2); isset($retval[$index]) or $retval[$index] = array(); isset($firstrow) or $firstrow = $index; $retval[$index][$index] = Bad syntax generates output on stderr and causes a warning. asked 4 years ago viewed 25059 times active 3 months ago Visit Chat Linked 0 How to correctly recompile PHP? If you don't feel comfortable correcting the syntax, then change the invocation of check_snmp Normally check_snmp will accept either numeric OIDs (e.g. 22.214.171.124.126.96.36.199) or textual (e.g.
Lamzouille BoyScout Froggy Messages: 67 Karma: 0 Re : Probleme convertion MIB Cisco « Réponse #2 le: 23 Mai, 2011, 13:33:30 pm » Oui cette MIB est bien présente dans le dossier Just another reason for me to get off my lazy butt and upgrade to 1.8. :o Great Job and Much Appreciated! :) laakness31-12-2009, 19:34This is probably the coolest thing since canned I think the problem causing command is It returns when ran on command line without "-LE The screenshot speaks for itself: I get the same errors on latest Zabbix 1.9 (trunk) rev.9324 and CentOS 5.4.
© Copyright 2017 gpscheduler.com. All rights reserved.