Re: problem getting CPU stats working.

"Ian P. Christian" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I managed to get this working with 5.3.1 eventually with the following 
configuratoin:

    --enable-ucd-snmp-compatibility \
    --with-mib-modules="host ucd-snmp/dlmod ucd-snmp/diskio 
ip-mib/ipv4InterfaceTable agentx/subagent agentx/master agentx 
ucd-snmp/loadave ucd-snmp/memory ucd-snmp/file ucd-snmp/logmatch 
ucd-snmp/extensible agent/extend ucd-snmp/pass ucd-snmp/pass_persist 
ucd-snmp/proc ucd-snmp/disk" \
    --disable-manuals \
    --disable-debugging \
    --with-default-snmp-version=3 \
    --with-sys-contact="[email protected]" \
    --with-sys-location="Unknown" \
    --enable-shared \
    --with-logfile=/var/log/snmpd.log \
    --with-persistent-directory="/var/lib/net-snmp" \
    --disable-ipv6 --disable-internal-md5 --with-openssl 
--without-libwrap --without-rpm --without-bzip2 --without-zlib 
--without-elf \
    --sysconfdir=/etc



However, it doesnt' work with 5.4.1:

    --enable-ucd-snmp-compatibility \
    --with-mib-modules="host ucd-snmp/dlmod ucd-snmp/diskio 
ip-mib/ipv4InterfaceTable agentx/subagent agentx/master agentx 
ucd-snmp/loadave ucd-snmp/memory ucd-snmp/file ucd-snmp/logmatch 
ucd-snmp/extensible agent/extend ucd-snmp/pass ucd-snmp/pass_persist 
ucd-snmp/proc ucd-snmp/disk" \
    --disable-manuals \
    --disable-debugging \
    --disable-embedded-perl \
    --with-default-snmp-version=3 \
    --with-sys-contact="[email protected]" \
    --with-sys-location="Unknown" \
    --enable-shared \
    --with-logfile=/var/log/snmpd.log \
    --with-persistent-directory="/var/lib/net-snmp" \
    --disable-ipv6 --disable-internal-md5 --with-openssl 
--without-libwrap --without-rpm --without-bzip2 --without-zlib 
--without-elf \
    --sysconfdir=/etc





The only difference here being that '--disable-embedded-perl' has been 
added, as no perl is available on the system.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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.