This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

Exposing CPU and Memory Information via SNMP

Follow

Issue

How do I expose CPU and memory statistics via SNMP? What is the MIB/OID?

Environment

  • Cumulus Linux, all versions

Resolution

The relevant OIDs are:

To configure SNMP to expose CPU and memory information:

  1. If snmpd has not already been enabled, follow instructions in the technical documentation to enable and start snmpd.
  2. Allow access to the OIDs by editing /etc/snmp/snmpd.conf. The following example adds the relevant MIBs to the systemonly view.

    ###############################################################################
    #
    #  ACCESS CONTROL
    #
    <CONFIGURATION_TRUNCATED/>
    # Cumulus specific
    view   systemonly  included   .1.3.6.1.4.1.40310.1
    view   systemonly  included   .1.3.6.1.4.1.40310.2
    # Memory utilization
    view   systemonly  included   .1.3.6.1.4.1.2021.4 
    # CPU utilization
    view   systemonly  included   .1.3.6.1.4.1.2021.11
    
  3. Restart snmpd to reload the configuration:

    cumulus@switch:~$ sudo service snmpd restart
    

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk