On 15.01.2013, at 00:12, Claus Klein wrote:

making all in /Users/clausklein/Workspace/c/net-snmp/build/snmplib
making all in /Users/clausklein/Workspace/c/net-snmp/build/agent
making all in /Users/clausklein/Workspace/c/net-snmp/build/agent/ helpers making all in /Users/clausklein/Workspace/c/net-snmp/build/agent/ mibgroup make[1]: *** No rule to make target `mibgroup/rmon.h', needed by `mib_modules.lo'. Stop.
make: *** [subdirs] Error 1

This was caused by the wrong configure option:

--with-mib-modules="rmon"

I have to use:

--with-mib-modules="Rmon"



This is not clear documented that the configured mib module name must match to the header files.

part of the configure --help output:

  Default mib modules compiled into the agent (which can be removed):

    mibII                  support for the mib-II tree.
    snmpv3mibs             support for the snmpv3 mib modules.
    ucd_snmp               UCD-SNMP-MIB specific extensions.
    agent_mibs             NET-SNMP-AGENT-MIB extensions
    agentx                 AgentX support (see below)
notification mibs supporting specification of trap destinations.
    target                 Support for the SNMP WGs TARGET-MIB.
    utilities              general agent configuration utilities.
    disman/event           support for the DISMAN-EVENT-MIB
                             (supports self monitoring and notification
                              delivery when error conditions are found)
    disman/schedule        support for the DISMAN-SCHEDULE-MIB
                             (trigger SET requests at specified times)
    host                   host resources mib support.
                             (only on major supported platforms)

  Optional mib modules that can be built into the agent include:
smux smux support to allow subagents to attach to snmpd.
    mibII/mta_sendmail     Sendmail statistics monitoring (MTA-MIB)
ucd-snmp/diskio Table of io-devices and how much data they have read/written. (only tested on Solaris, Linux) disman/old-event-mib previous implementation of the DISMAN- EVENT-MIB

  Optional modules for specific platforms
    Linux
      ucd-snmp/lmSensors   hardware monitoring (LM-SENSORS-MIB)
      ip-mib/ipv4InterfaceTable  (experimental)
      ip-mib/ipv6InterfaceTable  (experimental)
      tunnel               Linux TUNNEL-MIB support (ifTable extension)
      mibII/interfaces     (old ifTable implementation)
      misc/ipfwacc         accounting rules IP firewall information
      ipfwchains/ipfwchains  firewall chains under ipfw
                             (See agent/mibgroup/ipfwchains/README)
      sctp-mib             support for the SCTP-MIB
      etherlike-mib        support for the EtherLike-MIB

    Solaris
      ucd-snmp/lmSensors   hardware monitoring (LM-SENSORS-MIB)
      if-mib               IF-MIB rewrite (add --enable-mfd-rewrites)
      tcp-mib              TCP-MIB rewrite (tcpConnectionTable and
tcpListenerTable; add --enable-mfd- rewrites)
      udp-mib              UDP-MIB rewrite (udpEndpointTable;
                             add --enable-mfd-rewrites)

    FreeBSD/OpenBSD
      if-mib               IF-MIB rewrite (add --enable-mfd-rewrites)



This list is not complete and the README.agent-mibs make this not even clearer:
------------------------------------------------------------------------------
RMON-MIB
 etherStatsTable              U         5.0     O Rmon/statistics.c
 .etherStatsJabbers           L3        5.5     M rmon-mib/=/*
 etherHistoryControlTable     U         5.0     O Rmon/history.c
 etherHistoryTable            U         5.0     O Rmon/history.c
 alarmTable                   U         3.2     O Rmon/alarm.c
 eventTable                   U         3.2     O Rmon/event.c
 logTable                     U         5.0     O Rmon/event.c



//Regards
Claus

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to