On Sun, 26 Jan 2003, Ilya wrote: > Hi Igor. > I tried your suggestion and now I dont get errors anymore, but neither -Cc nor > -Of list anything related to cyrus/imap. > Ive restarted everything of course after putting files. > Anything else you can suggest to look at?
What version of net-snmpd do you use? Have you built and configured net-snmpd to support agentx? Double check and make sure cyrus has snmp support compiled in. cyrus-imapd-src$ grep HAVE_UCDSNMP config.h #define HAVE_UCDSNMP 1 You need to start snmpd before you start cyrus. snmpwalk should produce something like: $ snmpwalk -mall <host> <community> .1.3.6.1.4.1.3.6 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.cyrusMasterInfo.cyrusMasterInfoDescr.0 = Cyrus IMAP server master process enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.cyrusMasterInfo.cyrusMasterInfoVers.0 = v2.2.prealpha enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.cyrusMasterInfo.cyrusMasterInfoUptime.0 = Timeticks: (21977100) 2 days, 13:02:51.00 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceForks.1 = Counter32: 11 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceForks.2 = Counter32: 12 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceForks.3 = Counter32: 0 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceForks.4 = Counter32: 11 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceForks.5 = Counter32: 0 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceActive.1 = Gauge32: 1 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceActive.2 = Gauge32: 10 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceActive.3 = Gauge32: 0 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceActive.4 = Gauge32: 5 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceActive.5 = Gauge32: 0 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceName.1 = imap enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceName.2 = pop3 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceName.3 = sieve enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceName.4 = lmtp enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceName.5 = lmtpunix enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceId.1 = 1 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceId.2 = 2 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceId.3 = 3 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceId.4 = 4 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceId.5 = 5 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceConnections.1 = Counter32: 15 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceConnections.2 = Counter32: 2 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceConnections.3 = Counter32: 0 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceConnections.4 = Counter32: 6 enterprises.cmuMIB.cmuCyrus.cyrusMasterMIB.serviceTable.serviceEntry.serviceConnections.5 = Counter32: 0 Hope this helps. -Igor > thx in advance. > > On Sun, Jan 26, 2003 at 08:21:51PM -0500, Igor Brezac wrote: > > > > On Sun, 26 Jan 2003, Ilya wrote: > > > > > ive compiled cyrus with snmp using ports in freebsd. > > > but when I run snmpwalk I get: > > > /usr/local/bin/snmpwalk -Cc localhost > > > Unlinked OID in CYRUS-MASTER-MIB: cyrusMasterMIB ::= { cmuCyrus 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceConnections ::= { serviceEntry 5 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceId ::= { serviceEntry 4 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceName ::= { serviceEntry 3 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceActive ::= { serviceEntry 2 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceForks ::= { serviceEntry 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfoUptime ::= { > > > cyrusMasterInfo 3 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfoVers ::= { cyrusMasterInfo > > > 2 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfoDescr ::= { cyrusMasterInfo > > > 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceEntry ::= { serviceTable 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceTable ::= { cyrusMasterMIB 2 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfo ::= { cyrusMasterMIB 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterMIB ::= { cmuCyrus 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceForks ::= { serviceEntry 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceActive ::= { serviceEntry 2 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceName ::= { serviceEntry 3 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceId ::= { serviceEntry 4 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceConnections ::= { serviceEntry 5 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfoDescr ::= { cyrusMasterInfo > > > 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfoVers ::= { cyrusMasterInfo > > > 2 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfoUptime ::= { > > > cyrusMasterInfo 3 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceEntry ::= { serviceTable 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterInfo ::= { cyrusMasterMIB 1 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: serviceTable ::= { cyrusMasterMIB 2 } > > > Cannot adopt OID in CYRUS-MASTER-MIB: cyrusMasterMIB ::= { cmuCyrus 1 } > > > SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD alchemistry.net 4.7-STABLE FreeBSD > > > 4.7-STABLE #5: Fri Dec i386 > > > > > > any suggestions? > > > > > > > Add ftp://ftp.andrew.cmu.edu/pub/mibs/cmu/cmu.mib to your > > mibs dir or run 'snmpwalk -On ...' > > > > -- > > Igor > > > -- Igor