Openfiler – Configuring SNMP

Openfiler – Configuring SNMP

Introduction

This article explains how to configure the SNMP server included in Openfiler 2.3 in order to allow network monitoring of the server.

Editing the SNMP configuration file

The first step to allow monitoring of the Openfiler server by SNMP is to edit the SNMP configuration file.  In order to edit the configuration file perform the following steps :-

  1. Logon to the Openfiler server through SSH as an administrative user
  2. Navigate to the /etc/snmp folder
  3. Edit the snmpd.conf file and append the following to the bottom of the file :-rocommunity public
    com2sec local localhost {IP address of the monitoring server}
    com2sec network_l {Network address allowed to access the server}/24
    group MyROGroup_1 v2c local
    group MyROGroup_1 v2c network_1
    view all-mibs included .1 80
    access MyROGroup_1 .. v1 noauth exact all-mibs none none
    access MyROGroup_2 .. v2c noauth exact all-mibs none none
  4. Save and exit the file

Restart the SNMP service

Once the snmpd.conf file has been modified restart the SNMP service by executing the command below :-

service snmpd restart

Confirm SNMP access from the monitoring server

Following the service restart of SNMP on the Openfiler server confirm access to it via SNMP.