Skip to main content
Barracuda MSP Partner Toolkit

How to Configure SNMP on Apple OS devices

In order to monitor Macintosh computers running Apple OS X using the default Managed Workplace policy module, the operating system must be configured to use SNMP. Even if you are not monitoring the operating system itself, if there are any SNMP‐enabled applications being monitored on the device, the operating system must also be SNMP‐enabled.

To configure SNMP on Apple Os devices, log in with Administrative rights and complete the following steps:

  1. Launch a terminal window and issue the following command (you will be prompted to enter your password):
    sudo /usr/bin/snmpconf –i

    clipboard_e4ada9aaccf452575ed72ca9a0736a568.png

    Using the argument ‐i ensures that the file will be overwritten with the new settings you are about to choose. Taking a backup of the files before proceeding is prudent.
  2. The system will present you with a list of the installed configuration files. Select the first file presented, which should be ./snmp.conf.

    clipboard_ec5f3a95dc231f47de1fe802010d89be1.png

  3. The configuration utility requires that you make selections by choosing the number representing your choice.
    The system offers you a choice of what file to create. The default Managed Workplace policy module for Apple Macs does not require configuration of SNMP traps, so select snmpd.conf to configure the daemon for SNMP.
  4. You are now asked which sections of the snmpd.conf file you wish to work with. First select Access Control Setup
  5. Select a SNMPv1/SNMPv2c read‐only access community name.
    • Enter the community string matching the one that you have configured your Onsite Manager to use. By default, Onsite Manager reads the public community, so this is an acceptable choice under most circumstances.
    • When prompted, enter the IP address of the Onsite Manager as the network address to accept this community name.

      clipboard_e24ba2da88cb62523afb9243a7c07eb99.png

  6. Enter finished and hit return to go back to the top‐level menu. Next, you will configure the information that Onsite Manager will read as part of device discovery. Choose System Information Setup.

    clipboard_e691d148e75718eb0f27590fb78915b85.png

  7. Select The [typically physical] location of the system.
    clipboard_e74c549b673a9693a8338c11c937b4ac6.png
    This information is captured as the Text OID sysLocation.0.
  8. Select the contact information for the administrator and enter an appropriate contact value.

    clipboard_e584901883dcff4341a30c4aa4e1cf0ff.png

  9.  Enter finished and hit return. Repeat and then enter quit and hit return. You will be prompted with a note that the file exists. Enter overwrite and hit return.

    clipboard_ef4f558141a2abb49843248ca712722e5.png

     

To add a community string to the network scan for a site, follow the steps below:

  1. In Service Center, click Configuration and then click Site Management
  2. Click the site for which you want to edit the scan settings
  3. Click the Network Discovery tab
  4. In the Network Scan (Local Network) section, click Modify
  5. In the SNMP V1/V2 Community Strings section, click Add
  6. Type the community string in the Community String Name text box
    Note: Community strings are case‐sensitive. For example, Public and public would be separate
    communities of SNMP devices.
  7. Optionally, type a description in the Description text box.
  8. Click Save
  • Was this article helpful?