User Tools

Site Tools


snmp_client_for_mac_osx

How to configure snmp client for mac osx

First make a save

$cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.org

Edit snmp.conf

$cd /etc/snmp/
$nano /etc/snmp/snmp.conf

Add the following :

snmp_sample.conf
#Allow read-access with the following SNMP Community String:
rocommunity public
 
# all other settings are optional but recommended.
 
# Location of the device
syslocation data centre A
 
# Human Contact for the device
syscontact SysAdmin
 
# System Name of the device
sysName SystemName
 
# the system OID for this device. This is optional but recommended,
# to identify this as a MAC OS system.
sysobjectid 1.3.6.1.4.1.8072.3.2.16

OR you can invoke the assistant script

$snmpconf -g basic_setup


Start the snmp service at boot

$sudo launchctl load -w /System/Library/LaunchDaemons/org.net-snmp.snmpd.plist


Source : don't remember


- created date : 2017.02.23 -

snmp_client_for_mac_osx.txt · Last modified: 2017/02/23 15:02 (external edit)