Add mib files to /usr/share/snmp/mibs

Subhendu Ghosh sghosh at sghosh.org
Fri Mar 12 02:18:51 CET 2004


On Thu, 11 Mar 2004, Jeyri bautista wrote:

> Thanks, I solved the problem, but now I have other problem.
> 
> My nagios receive the traps from my routers cisco, and is running the
> snmptrapd daemon to receive this traps.
> 
> I create a snmptrapd.cong file that compare the traps received with the mibs
> files, it is working very well with the mib files that was installed with
> the net-snmp package, but when I add a mib file to /usr/share/snmp/mibs and
> restart the snmptrapd appear the following error:
> 
> /etc/snmp/snmptrapd.conf: line 27: Error: Bad trap OID in traphandle
> directive: CISCO-ACCESS-ENVMON-MIB::caemTemperatureNotification
> 
> and when I execute:
> >> snmptranslate -Ib -On caemSupplyStatusTable -m
> /usr/share/snmp/mibs/CISCO-ACCESS-ENVMON-MIB.txt
> 
> appear the following error:
> 
> Unlinked OID in CISCO-ACCESS-ENVMON-MIB: ciscoAccessEnvMonMIB ::= {
> ciscoMgmt 61 }

It cannot find a reference to ciscoMgmt which exists in the CISCO-SMI 
module.  Add that file...

--

-sg



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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 without supporting info will risk being sent to /dev/null





More information about the Users mailing list