Sponsored Content
Full Discussion: net-snmp issue
Special Forums UNIX and Linux Applications Infrastructure Monitoring net-snmp issue Post 302416707 by mrlayance on Wednesday 28th of April 2010 09:07:16 AM
Old 04-28-2010
Quote:
Originally Posted by pupp
using the same directory of MIBs (export MIBSDIR=/etc/sma/snmp/mibs; export MIBS=ALL), walk the device you are after. do you still get the same output from net-snmp ?

what version of net-snmp are you using?
Well that made it worse... Now none of the mibs are working?

I am using net-snmp 5.2.

This one has me stumped.

---------- Post updated 04-28-10 at 10:07 AM ---------- Previous update was 04-27-10 at 02:40 PM ----------

Ok, I finally got a solution. Ran these commands.

Code:
xxx-xxx:/etc/sma/snmp/mibs# MIBDIRS=/usr/local/share/snmp/mibs:/etc/sma/snmp/mibs
xxx-xxx:/etc/sma/snmp/mibs# export MIBDIRS
xxx-xxx:/etc/sma/snmp/mibs# MIBS=ALL;export MIBS

 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

net-snmp

Does anybody know where I can get net-snmp for compaq tru64 V4.0G? I am having a difficult time locating it. Can it run on tru64 V4.0G? (2 Replies)
Discussion started by: jalburger
2 Replies

2. Solaris

Net-snmp issue in Solaris 8

Hi there, I know this is a common question, but I have not found a satsifactory solution yet, so pardon me for posting similar questions. My problem is the log /var/adm/messages is filling up with this entry every few minutes Please refer below. Oct 4 21:39:46 host last message repeated 3... (5 Replies)
Discussion started by: sundar63
5 Replies

3. Solaris

Net-SNMP-5.4.2.1 issue on Sun Solaris

Hi, I am trying to compile the source code for Net-SNMP-5.4.2.1 using the gcc compiler-3.4.6 and 3.4.3 but I am getting the follwoing error with perl enabled: /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -fno-strict-aliasing -pipe -Wdeclaration-after-statement... (2 Replies)
Discussion started by: tisha
2 Replies

4. Infrastructure Monitoring

net-snmp - restarting too quickly issue

on my sol10x86 10/08 box, i needed to remove the native snmp agent (sma) for net-snmp-5.4.2.1. once net-snmp was configured and installed, i reconfigured the appropriate files of smf and attempted to restart. service was put into maintenance mode: ... (1 Reply)
Discussion started by: pupp
1 Replies

5. HP-UX

Net-snmp 5.7.2 on HP-UX 11.31

Hi All, I have an issue with net-snmp communication from a monitoring server to HP UX server. Following are the details HP - UX server : 172.16.184.34 Monitoring Server : 172.16.5.57 (Solarwinds Application)I'm running HP-UX's snmp on udp port 161 and net-snmp on udp 1161. ... (0 Replies)
Discussion started by: maverick_here
0 Replies
SNMP_BRIDGE(3)						   BSD Library Functions Manual 					    SNMP_BRIDGE(3)

NAME
snmp_bridge -- bridge module for snmpd LIBRARY
(begemotSnmpdModulePath."bridge" = /usr/lib/snmp_bridge.so) DESCRIPTION
The snmp_bridge module implements the BRIDGE-MIB as standardized in RFC 4188, the RSTP-MIB standardized in RFC4318 and a private BEGEMOT- BRIDGE-MIB, which allows management of multiple bridge interfaces. Most of the objects defined in the private BEGEMOT-BRIDGE-MIB are dupli- cates of the original objects defined by the standard BRIDGE-MIB, but the private MIB also defines additional objects which make the func- tionality of snmp_bridge similar to ifconfig(8) for configuring bridge interfaces. Therefore one should consider adding write communities or loading the snmp_bridge module on systems where security is crucial. IMPLEMENTATION NOTES
The additional objects to configure a bridge are: begemotBridgeBaseStatus Bridge interfaces can be created and destroyed via this object. SNMP SET operations with the following values are allowed: createAndWait will attempt to create a bridge interface with the name given by the table index. createAndGo will attempt to create a bridge interface with the name given by the table index and set the status of the inter- face to "active/up". destroy will attempt to destroy the bridge interface. begemotBridgeBaseSpanEnabled A SNMP SET operation on this object is only successful if the corresponding port has not been added as member of the bridge inter- face on the system. begemotBridgeBasePortStatus SNMP SET operations with the following values are allowed: createAndWait will create a new row for the bridge member in the SNMP begemotBridgeBasePortTable but will not try to commit the information to the system. active will attempt to commit the information to the system and will be successful only if a value for begemotBridgeBaseSpanEnabled has been SET already. destroy will attempt to remove the interface from the system bridge interface. begemotBridgeBasePortPrivate This object controls a bridge interface flag called PRIVATE where any private port can not communicate with another private port. RESTRICTIONS
Not all information in the MIBs is currently available in FreeBSD. The following variables carry no information: dot1dBasePortCircuit dot1dBasePortDelayExceededDiscards dot1dBasePortMtuExceededDiscards begemotBridgeBasePortDelayExceededDiscards begemotBridgeBasePortMtuExceededDiscards FILES
/usr/share/snmp/defs/bridge_tree.def The description of the MIB tree implemented by snmp_bridge. /usr/share/snmp/mibs/BRIDGE-MIB.txt This is the BRIDGE-MIB that is implemented by this module. /usr/share/snmp/mibs/RSTP-MIB.txt This is the RSTP-MIB implemented by this module. /usr/share/snmp/mibs/BEGEMOT-BRIDGE-MIB.txt This is the private BEGEMOT-BRIDGE-MIB that is implemented by this module. SEE ALSO
bsnmpd(1), gensnmptree(1), snmpmod(3), if_bridge(4), ifconfig(8) AUTHORS
Shteryana Shopova <syrinx@FreeBSD.org> BSD
August 6, 2007 BSD
All times are GMT -4. The time now is 05:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy