Filter:

Submit Search

# Monitoring SMC with SNMP

SNMP (Simple Network Management Protocol) is a communication protocol that allows network administrators to monitor devices and diagnose network and hardware issues remotely.

This service is not enabled by default on the SMC server. If you do enable it, you do not need to enable it again after restarting the server, as this setting will be remembered.

The SMC server uses SNMP version 2c by default. You may however choose another version (version 1 or v3 USM) in the configuration file located in /etc/snmp/snmpd.conf.

NOTE
If you want to use the version 3 of SNMP, the related authentication and encryption protocols supported by SMC are SHA256 and AES-128.

Using the SNMP service

1. Log in to the SMC server via the console of your hypervisor or in SSH.
2. Enter one of the following commands:

Action | Command
--- | ---
Enable service | `/etc/init.d/snmpd restart ; update-rc.d -f snmpd remove ; update-rc.d snmpd defaults 98`
View the status of the service | `/etc/init.d/snmpd status`
Restart the service: | `/etc/init.d/snmpd restart`
Disable the service | `nstop snmpd ; update-rc.d -f snmpd remove`

Using MIBs

SMC supports the following MIBs to monitor SMC:

Category | RFC | MIB
--- | --- | ---
system | RFC 1213 | .1.3.6.1.2.1.1
ifaces | RFC 1213 RFC 2863 | .1.3.6.1.2.1.2 .1.3.6.1.2.1.31
ips | RFC 1213 | .1.3.6.1.2.1.4
tcp | RFC 1213 | .1.3.6.1.2.1.6
udp | RFC 1213 | .1.3.6.1.2.1.7
snmp | RFC 1213 | .1.3.6.1.2.1.11
mem | UCD-SNMP-MIB | .1.3.6.1.4.1.2021.4
disk | UCD-SNMP-MIB | .1.3.6.1.4.1.2021.9
load | UCD-SNMP-MIB | .1.3.6.1.4.1.2021.10
cpu | UCD-SNMP-MIB | .1.3.6.1.4.1.2021.11
sysstats | UCD-SNMP-MIB | .1.3.6.1.4.1.2021.11
perf | RFC 1514 | .1.3.6.1.2.1.25.4 .1.3.6.1.2.1.25.5