[ZBX-4226] Zabbix can not load SNMP MIBs on Debian Created: 2011 Oct 12 Updated: 2017 May 30 Resolved: 2011 Oct 12 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 1.8.8 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Johann Brajer | Assignee: | Unassigned |
Resolution: | Cannot Reproduce | Votes: | 0 |
Labels: | items, snmp | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
HP ProLiant DL380 G7 |
Description |
I am trying to get our SNMP requests (per MIBs) running. > "/home/user/.snmp/mibs:/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp" the standard MIBs are installed in /usr/share/mibs/ietf as i noticed > snmpget -v 1 -c community IP-adr system.sysUpTime.0 ## Where can i set in Zabbix the SNMP MIBs Path?? is there a default path? THX |
Comments |
Comment by Viktors Kohanovskis (Inactive) [ 2011 Oct 12 ] |
Hey Johann, as understand correctly you want to read SNMP MIBs and add it for monitoring in zabbix? Can I suggest maybe information here --> http://www.zabbix.com/wiki/howto/monitor/snmp/zload_snmpwalk ? |
Comment by Johann Brajer [ 2011 Oct 12 ] |
not really, i just want to use SNMPv2 agent as item ...set SNMP OID as eg. "IF-MIB::ifDescr[index,ifName,"Te1/2/1"]" ... so that zabbix has know IFMIB to request ifDescr. I dont want to find out every OID for each request.... |
Comment by Johann Brajer [ 2011 Oct 12 ] |
like here i like to use it in the way as it is decribed in Example 2 at 4.19.6 SNMP Agent! not as Example 1 with OID number |
Comment by Viktors Kohanovskis (Inactive) [ 2011 Oct 12 ] |
you don't have to load anything in to zabbix, just have MIBs in directory where NET-SNMP can find them. P.S. sorry in asking - did you try to restart zabbix server after "snmp-mibs" install? |
Comment by richlv [ 2011 Oct 12 ] |
tested on 1.8.8 appliance, short oid names work just fine. this seems like a configuration issue most likely - please, use zabbix forums or irc for community support, thanks |
Comment by Johann Brajer [ 2011 Oct 12 ] |
good point...will try to restart the server...maybe zabbix will then know the MIB Names... |
Comment by Johann Brajer [ 2011 Oct 12 ] |
seems to be the issue...a restart of the Server helps! But do i have to restart always the whole Server when adding a new MIB?? |
Comment by Oleksii Zagorskyi [ 2011 Oct 13 ] |
http://www.net-snmp.org/wiki/index.php/TUT:Using_and_loading_MIBS > But do i have to restart always the whole Server when adding a new MIB?? YES !!! |
Comment by dimir [ 2011 Oct 13 ] |
I strongly recommend documenting it. |
Comment by Johann Brajer [ 2011 Oct 13 ] |
but was it also neccessary to reboot the Server in zabbix 1.8.3?? as i remember i didn't have to when adding some new MIBs? |
Comment by richlv [ 2011 Oct 17 ] |
as far as i recall, snmp low level operations haven't been changed, so it's most likely the same as in 1.8.3 |