SNMP With ClearOS and Clearbox

This guide covers the installation and management of SNMP (Simple Network Management Protocol) for ClearOS and ClearBOX. It is intended to be a guide for the implementation of SNMP on ClearOS as well as a framework for the subsequent module in ClearOS 6.x.

Installation

To install SNMP run the following in ClearOS from command line:

yum -y install net-snmp net-snmp-utils

To run the SNMP daemon run the following from command line in 6.x:

service snmpd start

To stop the SNMP daemon run the following in 6.x:

service snmpd stop

To run the SNMP daemon run the following from command line in 7.x:

systemctl start snmpd.service

To stop the SNMP daemon run the following in 7.x:

systemctl stop snmpd.service

Once the service is installed and started, test it by running the following:

snmpwalk -Os -c public -v 1 localhost system

This should show some basic information about the system including:

sysDescr.0 = STRING: Linux systemname.example.com 2.6.32-220.13.1.v6.x86_64 #1 SMP Fri Apr 20 09:26:16 MDT 2012 x86_64
sysUpTimeInstance = Timeticks: (18563) 0:03:05.63
sysContact.0 = STRING: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
sysName.0 = STRING: systemname.example.com

search?q=clearos%2C%20clearos%20content%2C%20KB%20Old%20ClearOS%20Guides%20SNMP%20With%20ClearOS%20and%20Clearbox%2C%20SNMP%2C%20ClearOS6%2C%20ClearOS7%2C%20xcategory%2C%20maintainer_dloper%2C%20maintainerreview_x%2C%20keywordfix%2C%20userguides&amp;btnI=lucky