Developers Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

User Tools

Site Tools


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  (configure /etc/snmp/snmp.local.conf)
sysName.0 = STRING: systemname.example.com
content/en_us/kb_o_snmp_with_clearos_and_clearbox.txt · Last modified: 2018/07/29 06:12 by nickh

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3Akb_o_snmp_with_clearos_and_clearbox&1713572492