in making number of popular OIDs unavailable.
o Fix issue with retrieving CPU stats in 6.3-STABLE and upper. The problem
is that the cp_time symbol is no longer avaliable in the nevest kernels.
Use kern.cp_time sysctl which has been around for 8 years or so, so that
it should be present virtually in every FreeBSD version that is able
to use modern ports tree (4.x and upper). Sysctl is also better from the
security standpoint, as you don't need elevated privileges to get the data.
One should probably look at converting few others uses of KVM here, but
ENOTIME from me. The patch has been submitted to the vendor.
Sponsored by: Sippy Software, Inc., http://www.sippysoft.com
Approved by: MAINTAINER
- Add appropriate CONFLICTS, NO_LATEST_LINK.
- Upgrade net-mgmt/net-snmp to 5.4.1 [1].
PR: ports/110969 [1]
Submitted by: valerio.daelli@gmail.com [1]
This upgrade (5.3.x -> 5.4.1) includes various changes in original
sources.
If you find something strange (or missing/incorrect MIB values) than
5.3.x, please let me know. And you can choose net-mgmt/net-snmp53
port for old 5.3.x version.
- Add appropriate CONFLICTS, NO_LATEST_LINK.
- Upgrade net-mgmt/net-snmp to 5.4.1 [1].
PR: ports/110969 [1]
Submitted by: valerio.daelli@gmail.com [1]
This upgrade (5.3.x -> 5.4.1) includes various changes in original
sources.
If you find something strange (or missing/incorrect MIB values) than
5.3.x, please let me know. And you can choose net-mgmt/net-snmp53
port for old 5.3.x version.
- Show IPv4 port number as unsigned instead of signed in /var/log/snmpd.log.
- Treat physmem as u_long, not int. This fixes hrMmemorySize over 4GB.
Submitted by: ume (1)
Pointy hat to: kuriyama (1)
PR ports/63759 was committed (3 years ago). Try to use normal TERM
signal for graceful termination [1].
- Increase /bin/ps cache size from 16KB to 120KB. This should fix
process counter (ex prCount.1) on the server which has large number
of processes [2].
PR: ports/103811 [1], ports/110498 [2]
Reported by: Yuri Arabadji <yuri@deepunix.net> [1],
Mike Andrews <mandrews@bit0.com> [2]
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
It seems agent/mibgroups/mibII/interfaces.c switched to use new
USE_SYSCTL_IFLIST knob but this does not support ifPhysAddress.
This patch uses old get_phys_address() function from new code.
(2) Take care of large counters on 64bit platforms.
PR: ports/78807 (1)
Submitted by: Andriy Gapon <avg@icyb.net.ua> (1),
Peter Losher <Peter_Losher@isc.org> (2)
Approved by: portmgr (marcus)
o Fix typo about WITHOUT_PERL knob. (1)
o Unbreak on -current after mbuf allocator changes. (2)
Submitted by: ceri (1)
Complained from: many people (2)
cause InetAddress and InetAddressType OIDs to be handled specially during
presentation. Normally they are simply displayed as hex due to being
octet-strings, but this is not how they are intended to be presented.
This allows IPv6 addresses to be presented correctly, as well as IPv4 in
emerging and existing MIBs which use the new InetAddress type.
Reviewed by: kuriyama, fenner
Tested with: snmpwalk, mbrowse