-
All replies
-
Helpful answers
-
Mar 30, 2016 4:33 PM in response to Alex (DV411)by Leland Wallace,The canonical method to reset a net-snmp installation to factory defaults in Mac OS X (there's no difference between client & server in this case) is:
sudo launchctl unload -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plistsudo cp /etc/snmp/snmpd.conf.default /etc/snmp/snmpd.confsudo rm /usr/share/snmpd.confsudo rm -rf /var/db/net-snmp
This resets the snmpd.conf file to the default & clears out any added users and instance data. This should be valid back to 10.6 or so, possibly earlier, but I'm not sure.
In 10.11.x Apple updated the net-snmp version from 5.6 to 5.6.2.1 which may cause some issues.
The LMSensors MIB may not be well supported on Xserve hardware in the later OS versions.
-
Mar 31, 2016 7:16 AM in response to Alex (DV411)by MrHoffman,FWIW, brew has net-snmp available, if you really want to install a different version — or if you already have a parallel version installed via brew or some other means:
$ brew info net-snmp
net-snmp: stable 5.7.3 (bottled) [keg-only]
Implements SNMP v1, v2c, and v3, using IPv4 and IPv6
Not installed
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/net-snmp.rb
==> Dependencies
Required: openssl â
==> Options
--with-python
Build with python support
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
$