snmp.conf

Michal Filka <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <BEE650D2F88D74448AD3E613B0C6D4E5E65EF456@STS-PRG-EXM1M1.sts.sitronics.com>
Hi,

I have a problem with snmp.conf. It seems that snmpd is ignoring configuration written there.

snmp.conf looks like:
mibdirs +<DIR1>
mibdirs +<DIR2>

mibs +<MIB1>
mibs +<MIB2>
mibs +<MIB3>
mibs +<MIB4>

Where <MIBX> are module names and <DIRX> are absolute paths. 
I tried to place it in /etc/snmp even /usr/share/snmp. I also tried version with directories and MIB module names placed in one directive separated with colon. Nothing helped.

when snmpd is started, then it writes into the log:
Aug 12 13:19:50 de-pim snmpd[1420]: Cannot find module (<MIB1>): At line 0 in (none)
Aug 12 13:19:50 de-pim snmpd[1420]: Cannot find module (<MIB2>): At line 0 in (none)
Aug 12 13:19:50 de-pim snmpd[1420]: Cannot find module (<MIB3>): At line 0 in (none)
Aug 12 13:19:50 de-pim snmpd[1420]: Cannot find module (<MIB4>): At line 0 in (none)

So, it seems that it ignores mibdirs directives (knows mib names but don't know where to find it).
However if I start snmpd with -M and -m everything works fine.

Michal Filka

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.