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_HOSTRES(3) 					   BSD Library Functions Manual 					   SNMP_HOSTRES(3)

NAME
snmp_hostres -- host resources module for bsnmpd(8) LIBRARY
(begemotSnmpdModulePath."hostres" = /usr/lib/snmp_hostres.so) DESCRIPTION
The snmp_hostres module implements the HOST-RESOURCES-MIB as standardized in RFC 2790. RESTRICTIONS
Not all information in the MIB is meaningful in FreeBSD or is available. The following variables are not implemented or carry no informa- tion: hrFSType There are several types of file systems for which no appropriate OID exists yet which are supported by FreeBSD. For smbfs, procfs and devfs , hrFSOther is returned. In all other cases, hrFSUnknown. hrFSBootable It is questionable what bootable means here. Does it mean that the BIOS is available to start a boot on that file system or does it mean that there is something bootable? In either case this information is not available so this variable returns True for the root file system (which is not necessarily correct) and False for all others. hrFSLastFullBackupDate, hrFSLastPartialBackupDate This is not available and always returns an empty string. Theoretically, this could be retrieved from /etc/dumpdates, which would hardly be correct given the different ways of doing backups. hrDiskStorageTable Floppy devices are currently not reported. Also the names of the disks are hard-coded in the module. FILES
/usr/share/snmp/defs/hostres_tree.def The description of the MIB tree implemented by snmp_hostres. /usr/share/snmp/mibs/HOST-RESOURCES-TYPES.txt /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt /usr/share/snmp/mibs/BEGEMOT-HOSTRES-MIB.txt This is the MIB that is implemented by this module. SEE ALSO
gensnmptree(1), snmpmod(3) AUTHORS
Victor Cruceru <soc-victor@FreeBSD.org> BSD
January 3, 2006 BSD
All times are GMT -4. The time now is 03:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy