•SNMP Configuration Task Flow, on page 22
•SNMP Trap Settings, on page 35
•SNMP Trace Configuration, on page 38
•Troubleshooting SNMP, on page 39
Simple Network Management Protocol Support
SNMP, an application layer protocol, facilitates the exchange of management information among network devices, such as nodes and routers. As part of the TCP/IP suite, SNMP enables administrators to remotely manage network performance, find and solve network problems, and plan for network growth.
You use the serviceability GUI to configure SNMP-associated settings, such as community strings, users, and notification destinations for V1, V2c, and V3. The SNMP settings that you configure apply to the local node; however, if your system configuration supports clusters, you can apply settings to all servers in the cluster with the “Apply to All Nodes” option in the SNMP configuration windows.
Unified Communications Manager only: SNMP configuration parameters that you specified in Cisco Unified CallManager or Unified Communications Manager 4.X do not migrate during a Unified Communications Manager 6.0 and later upgrade. You must perform the SNMP configuration procedures again in Cisco Unified Serviceability.
Tip
SNMP supports IPv4, although the CISCO-CCM-MIB includes columns and storage for IPv6 addresses, preferences, and so on.
SNMP Basics
An SNMP-managed network comprises three key components: managed devices, agents, and network management systems.
• Agent - A network-managed software module that resides on a managed device. An agent contains local knowledge of management information and translates it into a form that is compatible with SNMP. The master agent and subagent components are used to support SNMP. The master agent acts as the agent protocol engine and performs the authentication, authorization, access control, and privacy functions that relate to SNMP requests. Likewise, the master agent contains a few Management Information Base (MIB) variables that relate to MIB-II. The master agent also connects and disconnects subagents after the subagent completes necessary tasks. The SNMP master agent listens on port 161 and forwards SNMP packets for Vendor MIBs.
The Unified Communications Manager subagent interacts with the local Unified Communications Manager only. The Unified Communications Manager subagents send trap and information messages to the SNMP Master Agent, and the SNMP Master Agent communicates with the SNMP trap receiver (notification destination).
The IM and Presence Service subagent interacts with the local IM and Presence Service only. The IM and Presence Service subagents send trap and information messages to the SNMP Master Agent, and the SNMP Master Agent communicates with the SNMP trap receiver (notification destination). • Network Management System (NMS) - An SNMP management application (together with the PC on
which it runs) that provides the bulk of the processing and memory resources that are required for network management. An NMS executes applications that monitor and control managed devices. The following NMSs are supported:
• CiscoWorks LAN Management Solution • HP OpenView
• Third-party applications that support SNMP and Unified Communications Manager SNMP interfaces
SNMP Management Information Base
SNMP allows access to Management Information Base (MIB), which is a collection of information that is organized hierarchically. MIBs comprise managed objects, which are identified by object identifiers. A MIB object, which contains specific characteristics of a managed device, comprises one or more object instances (variables).
The SNMP interface provides these Cisco Standard MIBs: • CISCO-CDP-MIB
• CISCO-CCM-MIB • CISCO-SYSLOG-MIB • CISCO-UNITY-MIB Observe the following limitations:
• Unified Communications Manager does not support CISCO-UNITY-MIB. • Cisco Unity Connection does not support CISCO-CCM-MIB.
• IM and Presence Service does not support CISCO-CCM-MIB and CISCO-UNITY-MIB.
extension agent resides in each server in the cluster. The CISCO-CCM-MIB provides device information such as device registration status, IP address, description, and model type for the server (not the cluster, in a configuration that supports clusters).
The SNMP interface also provides these Industry Standard MIBs: • SYSAPPL-MIB
• MIB-II (RFC 1213) • HOST-RESOURCES-MIB
CISCO-CDP-MIB
Use the CDP subagent to read the Cisco Discovery Protocol MIB, CISCO-CDP-MIB. This MIB enables the SNMP managed device to advertise themself to other Cisco devices on the network.
The CDP subagent implements the CDP-MIB. The CDP-MIB contains the following objects: • cdpInterfaceIfIndex • cdpInterfaceMessageInterval • cdpInterfaceEnable • cdpInterfaceGroup • cdpInterfacePort • cdpGlobalRun • cdpGlobalMessageInterval • cdpGlobalHoldTime • cdpGlobalLastChange • cdpGobalDeviceId • cdpGlobalDeviceIdFormat • cdpGlobalDeviceIdFormatCpd
The CISCO-CDP-MIB is dependent on the presence of the following MIBs: CISCO-SMI, CISCO-TC, CISCO-VTP-MIB.
Note
SYSAPPL-MIB
Use the System Application Agent to get information from the SYSAPPL-MIB, such as installed applications, application components, and processes that are running on the system.
• sysApplMap • sysApplInstallElmt • sysApplElmtRun
Table 1: SYSAPPL-MIB Commands
Description Command
Device-Related Queries
Provides the version number that the software manufacturer assigned to the application package.
sysApplInstallPkgVersion
Provides the process owner's login name (for example, root).
sysApplElmPastRunUser
Memory, Storage, and CPU-Related Queries
Provides the last-known total amount of real system memory measured in kilobytes that was allocated to this process before it terminated.
sysApplElmPastRunMemory
Provides the last known number of centi-seconds of the total system CPU resources consumed by this process.
On a multiprocessor system, this value may increment by more than one centi-second in one centi-second of real (wall clock) time.
Note sysApplElmtPastRunCPU
Provides the current file size modulo 2^32 bytes. For example, for a file with a total size of 4,294,967,296 bytes this variable would have a value of 0; for a file with a total size of 4,294,967,295 bytes this variable would be 4,294,967,295. sysApplInstallElmtCurSizeLow
Provides the installed file size modulo 2^32 bytes. This is the size of the file on disk immediately after installation. For example, for a file with a total size of 4,294,967,296 bytes this variable would have a value of 0; for a file with a total size of 4,294,967,295 bytes this variable would be 4,294,967,295. sysApplInstallElmtSizeLow
Provides the number of centi-seconds of the total system CPU resources consumed by this process.
On a multiprocessor system, this value may have been incremented by more than one centi-second in one centi-second of real (wall clock) time.
Note sysApplElmRunCPU
Process-Related Queries
Provides the current state of the running process. The possible values are running(1), runnable(2) but waiting for a resource such as CPU, waiting(3) for an event, exiting(4), or other(5).
sysApplElmtRunState
Provides the number of regular files currently opened by the process. Transport connections (sockets) should not be included in the calculation of this value, nor should operating-system-specific special file types. sysApplElmtRunNumFiles
Provides the time the process was started. sysApplElmtRunTimeStarted
Provides the total amount of real system memory, measured in kilobytes, that is currently allocated to this process. sysApplElmtRunMemory
Provides the index into the installed element table. The value of this object is the same value as the sysApplInstallElmtIndex for the application element of which this entry represents a previously executed process. sysApplElmtPastRunInstallID
Provides the process owner's login name (for example, root).
sysApplElmtPastRunUser
Provides the time the process ended. sysApplElmtPastRunTimeEnded
Provides the process owner's login name (for example, root).
sysApplElmtRunUser
Provides the date and time that the application was started.
sysApplRunStarted
Provides the number of centi-seconds of the total system CPU resources consumed by this process.
On a multiprocessor system, this value may have been incremented Note
Software Component-Related Queries
Provides the name that the manufacturer assigned to the software application package. sysApplInstallPkgProductName
Provides the starting parameters for the process.
sysApplElmtRunParameters
Provides the full path and filename of the process. For example,
'/opt/MYYpkg/bin/myyproc' would be returned for process 'myyproc' whose execution path is
'opt/MYYpkg/bin/myyproc'. sysApplElmtRunName
Provides the name of this element, which is contained in the application.
sysApplInstallElmtName
Provides the process owner's login name (for example, root).
sysApplElmtRunUser
Provides the full path to the directory where this element is installed. For example, the value would be '/opt/EMPuma/bin' for an element installed in the directory '/opt/EMPuma/bin'. Most application packages include information about the elements that are contained in the package. In addition, elements are typically installed in subdirectories under the package installation directory. In cases where the element path names are not included in the package information itself, the path can usually be determined by a simple search of the subdirectories. If the element is not installed in that location and no other information is available to the agent implementation, then the path is unknown and null is returned.
Provides the value of this object and identifies the installed software package for the application of which this process is a part. Provided that the parent application of the process can be determined, the value of this object is the same value as the
sysApplInstallPkgIndex for the entry in the sysApplInstallPkgTable that corresponds to the installed application of which this process is a part. If, however, the parent application cannot be determined (for example, the process is not part of a particular installed application), the value for this object is then '0', signifying that this process cannot be related back to an application, and in turn, an installed software package.
sysApplMapInstallPkgIndex
Provides the index into the
sysApplInstallElmtTable. The value of this object is the same value as the
sysApplInstallElmtIndex for the application element of which this entry represents a running instance. If this process cannot be associated with an installed executable, the value should be '0'.
sysApplElmtRunInstallID
Provides the current state of the running application instance. The possible values are running(1), runnable(2) but waiting for a resource such as CPU, waiting(3) for an event, exiting(4), or other(5). This value is based on an evaluation of the running elements of this application instance (see sysApplElmRunState) and their Roles as defined by sysApplInstallElmtRole. An agent implementation may detect that an application instance is in the process of exiting if one or more of its REQUIRED elements are no longer running. Most agent implementations will wait until a second internal poll is completed to give the system time to start REQUIRED elements before marking the application instance as exiting. sysApplRunCurrentState
Provides the date and time this software application was installed on the host. sysApplInstallPkgDate
Provides the type of element that is part of the installed application.
sysApplInstallElmtType Date/Time-Related Queries
The number of centi-seconds of the total system CPU resources consumed by this process
On a multiprocessor system, this value may have been incremented by more than one centi-second in one centi-second of real (wall clock) time.
Note sysApplElmtRunCPU
Provides the date and time this software application is installed on the host. sysApplInstallPkgDate
Provides the time the process ended. sysApplElmtPastRunTimeEnded
Provides the date and time that the application was started.
sysApplRunStarted
MIB-II
Use MIB2 agent to get information from MIB-II. The MIB2 agent provides access to variables that are defined in RFC 1213, such as interfaces, IP, and so on, and supports the following groups of objects:
• system • interfaces • at • ip • icmp • tcp • udp • snmp
Table 2: MIB-II Commands
Description Command
Device-Related Queries
Provides a textual description of the entity. This value should include the full name and version
identification of the system hardware type, software operating-system, and networking software. sysDescr
SNMP Diagnostic Queries
Provides an administratively assigned name for this managed node. By convention, this name is the fully-qualified domain name of the node. If the name is unknown, the value is the zero-length string. sysName
Provides the time (in hundredths of a second) since the network management portion of the system was last reinitialized.
sysUpTime
Provides the total number of MIB objects that were retrieved successfully by the SNMP protocol entity as the result of receiving valid SNMP Get-Request and Get-Next PDUs.
snmpInTotalReqVars
Provides the total number of SNMP Messages that were passed from the SNMP entity to the transport service.
snmpOutPkts
Provides a value that indicates the set of services that this entity potentially offers. The value is a sum. This sum initially takes the value zero, then, for each layer, L, in the range 1 through 7, that this node performs transactions for, 2 raised to (L - 1) is added to the sum. For example, a node which is a host offering application services would have a value of 4 (2^(3-1)). In contrast, a node which is a host offering application services would have a value of 72 (2^(4-1) + 2^(7-1)).
In the context of the Internet suite of protocols, calculate: layer 1 physical (for example, repeaters), layer 2
datalink/subnetwork (for example, bridges), layer 3 internet (supports IP), layer 4 end-to-end (supports TCP), layer 7 applications (supports SMTP).
For systems including OSI protocols, you can also count layers 5 and 6.
Indicates whether the SNMP entity is permitted to generate authenticationFailure traps. The value of this object overrides any configuration information; as such, it provides a means whereby all
authenticationFailure traps may be disabled. Cisco strongly recommends that this object be stored in nonvolatile memory so that it remains constant across reinitializations of the network management system. Note
snmpEnableAuthenTraps
Syslog-Related Queries
Indicates whether the SNMP entity is permitted to generate authenticationFailure traps. The value of this object overrides any configuration information; as such, it provides a means whereby all
authenticationFailure traps may be disabled. Cisco strongly recommends that this object be stored in a nonvolatile memory so that it remains constant across reinitializations of the network management system. Note
snmpEnabledAuthenTraps
Date/Time-Related Queries
Provides the time (in hundredths of a second) since the network management portion of the system was last reinitialized.
sysUpTime
HOST-RESOURCES MIB
Use Host Resources Agent to get values from HOST-RESOURCES-MIB. The Host Resources Agent provides SNMP access to host information, such as storage resources, process tables, device information, and installed software base. The Host Resources Agent supports the following groups of objects:
• hrSystem • hrStorage • hrDevice • hrSWRun • hrSWRunPerf • hrSWInstalled
Table 3: HOST-RESOURCES MIB Commands
Description Command
Device-Related Queries
Provides a textual description of this device, including the device manufacturer and revision, and optionally, the serial number.
hrDeviceDescr
Provides a description of the type and instance of the storage.
hrStorageDescr
Memory, Storage, and CPU Related Queries
Provides the amount of physical read-write main memory, typically RAM, that the host contains. hrMemorySize
Provides the size of the storage, in units of
hrStorageAllocationUnits.This object is writable to allow remote configuration of the size of the storage area in those cases where such an operation makes sense and is possible on the underlying system. For example, you can modify the amount of main memory allocated to a buffer pool or the amount of disk space allocated to virtual memory.
hrStorageSize
Process-Related Queries
Provides a textual description of this running piece of software, including the manufacturer, revision, and the name by which it is commonly known. If this software is installed locally, it must be the same string as used in the corresponding hrSWInstalledName.
hrSWRunName
Provides the number of process contexts that are currently loaded or running on this system. hrSystemProcesses
Provides a unique value for each piece of software that is running on the host. Wherever possible, use the native, unique identification number of the system. hrSWRunIndex
Software Component-Related Queries
Provides a textual description of this installed piece of software, including the manufacturer, revision, the name by which it is commonly known, and optionally, the serial number.
hrSWInstalledName
Provides a description of the location of long-term storage (for example, a disk drive) from which this software was loaded.
hrSWRunPath
Date/Time-Related Queries
Provides the last date at which a portion of this file system was copied to another storage device for backup. This information is useful for ensuring that backups are being performed regularly. If this information is not known, then this variable will have the value corresponding to January 1, year 0000, 00:00:00.0, which is encoded as (hex)'00 00 01 01 00 00 00 00'. hrFSLastPartialBackupDate
CISCO-SYSLOG-MIB
Syslog tracks and logs all system messages, from informational through critical. With this MIB, network management applications can receive syslog messages as SNMP traps:
The Cisco Syslog Agent supports trap functionality with the following MIB objects: • clogNotificationsSent
• clogNotificationsEnabled • clogMaxSeverity • clogMsgIgnores • clogMsgDrops
The CISCO-SYSLOG-MIB is dependent on the presence of the CISCO-SMI MIB. Note
Table 4: CISCO-SYSLOG-MIB Commands
Description Command
Syslog-Related Queries
Indicates whether clogMessageGenerated
notifications will be sent when the device generates a syslog message. Disabling notifications does not prevent syslog messages from being added to the clogHistoryTable.
clogNotificationEnabled
Indicates which syslog severity levels will be processed. The agent will ignore any syslog message with a severity value greater than this value.
Severity numeric values increase as their severity decreases. For example, error (4) is more severe than debug (8).
Note clogMaxSeverity
CISCO-CCM-MIB/CISCO-CCM-CAPABILITY MIB
visible on this Unified Communications Manager node. Simple Network Management Protocol (SNMP) tables contain information such as IP address, registration status, and model type.
SNMP supports IPv4, although the CISCO-CCM-MIB includes columns and storage for IPv6 addresses, preferences, and so on.
Unified Communications Manager supports this MIB in Unified Communications Manager systems. IM and Presence Service and Cisco Unity Connection do not support this MIB.
Note
To view the support lists for the CISCO-CCM-MIB and MIB definitions, go to the following link:
ftp://ftp.cisco.com/pub/mibs/supportlists/callmanager/callmanager-supportlist.html
To view MIB dependencies and MIB contents, including obsolete objects, across Unified Communications Manager releases, go to the following link:http://tools.cisco.com/Support/SNMP/do/
BrowseMIB.do?local=en&step=2&mibName=CISCO-CCM-CAPABILITY
Dynamic tables get populated only if the Cisco CallManager service is up and running (or the local Cisco CallManager service in the case of a Unified Communications Manager cluster configuration); static tables get populated when the Cisco CallManager SNMP Service is running.
Table 5: Cisco-CCM-MIB Dynamic Tables
Contents Table(s)
This table stores the version and installation ID for the local Unified Communications Manager. The table also stores information about all the Unified Communications Manager in a cluster that the local Unified Communications Manager knows about but shows “unknown” for the version detail. If the local Unified Communications Manager is down, the table remains empty, except for the version and installation ID values.
ccmTable
For the Cisco Unified IP Phone, the number of registered phones in ccmPhoneTable should match Unified Communications
Manager/RegisteredHardware Phones perfmon counter. The ccmPhoneTable includes one entry for each registered, unregistered, or rejected Cisco Unified IP Phone. The ccmPhoneExtnTable uses a combined index, ccmPhoneIndex and ccmPhoneExtnIndex, for relating the entries in the ccmPhoneTable and ccmPhoneExtnTable.
Contents Table(s)
The ccmCTIDeviceTable stores each CTI device as one device. Based on the registration status of the CTI Route Point or CTI Port, the
ccmRegisteredCTIDevices, ccmUnregisteredCTIDevices, and
ccmRejectedCTIDevices counters in the Unified Communications Manager MIB get updated. ccmCTIDevice, ccmCTIDeviceDirNum
The CCMSIPDeviceTable stores each SIP trunk as one device.
ccmSIPDevice
The ccmH323DeviceTable contains the list of H.323 devices for which Unified Communications Manager contains information (or the local Unified
Communications Manager in the case of a cluster configuration). For H.323 phones or H.323 gateways, the ccmH.323DeviceTable contains one entry for each H.323 device. (The H.323 phone and gateway do not register with Unified Communications Manager. Unified Communications Manager generates the H.323Started alarm when it is ready to handle calls for the indicated H.323 phone and gateway.) The system provides the gatekeeper information as part of the H.323 trunk information.
ccmH323Device
For Cisco uOne, ActiveVoice, the
ccmVoiceMailDeviceTable includes one entry for each voice-messaging device. Based on the registration status, the
ccmRegisteredVoiceMailDevices, ccmUnregisteredVoiceMailDevices, and
ccmRejectedVoiceMailDevices counters in the Cisc MIB get updated.
Contents Table(s)
The ccmRegisteredGateways, ccmUnregistered gateways, and ccmRejectedGateways keep track of the number of registered gateway devices or ports, number of unregistered gateway devices or ports, and number of rejected gateway devices or ports, respectively.
Unified Communications Manager generates alarms at the device or port level. The ccmGatewayTable, based on CallManager alarms, contains device- or port-level information. Each registered, unregistered, or rejected device or port has one entry in
ccmGatewayTable. The VG200 with two FXS ports and one T1 port has three entries in
ccmGatewayTable. The ccmActiveGateway and ccmInActiveGateway counters track number of active (registered) and lost contact with (unregistered or rejected) gateway devices or ports.
Based on the registration status,
ccmRegisteredGateways, ccmUnregisteredGateways, and ccmRejectedGateways counters get updated. ccmGateway
The table contains a list of all media devices which have tried to register with the local Unified Communications Manager at least once. ccmMediaDeviceInfo
This tables contains the Unified Communications Manager groups in a Unified Communications Manager cluster.
ccmGroup
This table maps all Unified Communications Manager's in a cluster to a Unified Communications Manager group. The table remains empty when the local Unified Communications Manager node is down. ccmGroupMapping
Table 6: CISCO-CCM-MIB Static Tables
Content Table(s)
The table contains the list of product types that are supported with Unified Communications Manager (or cluster, in the case of a Unified Communications Manager cluster configuration), including phone types, gateway types, media device types, H.323 device types, CTI device types, voice-messaging device types, and SIP device types.
Content Table(s)
ccmRegionTable contains the list of all geographically separated regions in a Cisco Communications Network (CCN) system. The ccmRegionPairTable contains the list of geographical region pairs for a Unified Communications Manager cluster. Geographical region pairs are defined by Source region and Destination region.
ccmRegion, ccmRegionPair
The table contains the list of all time zone groups in a Unified Communications Manager cluster. ccmTimeZone
The tables contains the list of all device pools in a Unified Communications Manager cluster. Device pools are defined by Region, Date/Time Group, and Unified Communications Manager Group.
ccmDevicePool
‘The “ccmAlarmConfigInfo” and “ccmQualityReportAlarmConfigInfo” groups in the CISCO-CCM-MIB define the configuration parameters that relate to the notifications that are described.
Note
CISCO-UNITY-MIB
The CISCO-UNITY-MIB uses the Connection SNMP Agent to get information about Cisco Unity Connection. To view the CISCO-UNITY-MIB definitions, go to the following link and click SNMP V2 MIBs:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
Cisco Unity Connection supports this MIB. Unified Communications Manager and IM and Presence Service do not support this MIB.
Note
The Connection SNMP Agent supports the following objects.
Table 7: CISCO-UNITY-MIB Objects
Description Object
This table contains general information about the Cisco Unity Connection servers such as hostname and version number.
ciscoUnityTable
This table contains general information about the Cisco Unity Connection voice messaging ports. ciscoUnityPortTable
This group contains information about capacity and utilization of the Cisco Unity Connection voice messaging ports.
SNMP Configuration Requirements
The system provides no default SNMP configuration. You must configure SNMP settings after installation to access MIB information. Cisco supports SNMP V1, V2c, and V3 versions.
SNMP agent provides security with community names and authentication traps. You must configure a community name to access MIB information. The following table provides the required SNMP configuration settings.
Table 8: SNMP Configuration Requirements
Cisco Unified Serviceability Page Configuration
SNMP > V1/V2c > Community String V1/V2c Community String
SNMP > V3 > User V3 Community String
SNMP > SystemGroup > MIB2 System Group System Contact and Location for MIB2
SNMP > V1/V2c > Notification Destination Trap Destinations (V1/V2c)
SNMP > V3 > Notification Destination Trap Destinations (V3)
SNMP Version 1 Support
SNMP Version 1 (SNMPv1), the initial implementation of SNMP that functions within the specifications of the Structure of Management Information (SMI), operates over protocols, such as User Datagram Protocol (UDP) and Internet Protocol (IP).
The SNMPv1 SMI defines highly structured tables (MIBs) that are used to group the instances of a tabular object (that is, an object that contains multiple variables). Tables contain zero or more rows, which are indexed, so SNMP can retrieve or alter an entire row with a supported command.
With SNMPv1, the NMS issues a request, and managed devices return responses. Agents use the Trap operation to asynchronously inform the NMS of a significant event.
In the serviceability GUI, you configure SNMPv1 support in the V1/V2c Configuration window.
SNMP Version 2c Support
As with SNMPv1, SNMPv2c functions within the specifications of the Structure of Management Information (SMI). MIB modules contain definitions of interrelated managed objects. The operations that are used in SNMPv1 are similar to those that are used in SNMPv2. The SNMPv2 Trap operation, for example, serves the same function as that used in SNMPv1, but it uses a different message format and replaces the SNMPv1 Trap.
The Inform operation in SNMPv2c allows one NMS to send trap information to another NMS and to then receive a response from the NMS.
operation), and access control (verifying that the user has access to the requested objects). To prevent SNMP packets from being exposed on the network, you can configure encryption with SNMPv3.
Instead of using community strings like SNMPv1 and v2, SNMPv3 uses SNMP users. In the serviceability GUI, you configure SNMPv3 support in the V3 Configuration window.
SNMP Services
The services in the following table support SNMP operations.
SNMP Master Agent serves as the primary service for the MIB interface. You must manually activate Cisco CallManager SNMP service; all other SNMP services should be running after installation. Note
Table 9: SNMP Services
Window Service
MIB
Cisco Unified Serviceability > Tools > Control Center - Feature Services. Choose a server; then, choose Performance and Monitoring category.
Cisco CallManager SNMP service
CISCO-CCM-MIB
Cisco Unified Serviceability > Tools > Control Center - Network Services. Choose a server; then, choose Platform Services category.
Cisco Unified IM and Presence
Serviceability > Tools > Control Center -Network Services. Choose a server; then, choose Platform Services category. SNMP Master Agent
SNMP Agent
Cisco CDP Agent CISCO-CDP-MIB
System Application Agent SYSAPPL-MIB
MIB2 Agent MIB-II
Host Resources Agent HOST-RESOURCES-MIB
Cisco Syslog Agent CISCO-SYSLOG-MIB
Native Agent Adaptor Hardware MIBs
Cisco Unity Connection Serviceability > Tools > Service Management. Choose a server; then, choose Base Services category. Connection SNMP Agent
CISCO-UNITY-MIB
Stopping any SNMP service may result in loss of data because the network management system no longer monitors the Unified Communications Manager or Cisco Unity Connection network. Do not stop the services unless your technical support team tells you to do so.
Caution
SNMP Community Strings and Users
Although SNMP community strings provide no security, they authenticate access to MIB objects and function as embedded passwords. You configure SNMP community strings for SNMPv1 and v2c only.
In the serviceability GUI, no default community string or user exists.
SNMP Traps and Informs
An SNMP agent sends notifications to NMS in the form of traps or informs to identify important system events. Traps do not receive acknowledgments from the destination, whereas informs do receive
acknowledgments. You configure the notification destinations by using the SNMP Notification Destination Configuration windows in the serviceability GUI.
Unified Communications Manager supports SNMP traps in Unified Communications Manager and IM and Presence Service systems.
Note
For SNMP notifications, the system sends traps immediately if the corresponding trap flags are enabled. In the case of the syslog agent, alarms and system level log messages get sent to syslog daemon for logging. Also, some standard third-party applications send the log messages to syslog daemon for logging. These log messages get logged locally in the syslog files and also get converted into SNMP traps/notifications. The following list contains Unified Communications Manager SNMP trap/inform messages that are sent to a configured trap destination:
• Unified Communications Manager failed • Phone failed
• Phones status update • Gateway failed
• Media resource list exhausted • Route list exhausted
• Gateway layer 2 change • Quality report
• Malicious call
• Syslog message generated
Before you configure notification destination, verify that the required SNMP services are activated and running. Also, make sure that you configured the privileges for the community string/user correctly.
You configure the SNMP trap destination by choosing SNMP > V1/V2 > Notification Destination or SNMP > V3 > Notification Destination in the serviceability GUI.
Tip
All the parameters that are listed in the table are part of CISCO-CCM-MIB except for the last two parameters. The last two, clogNotificationsEnabled and clogMaxSeverity, comprise part of CISCO-SYSLOG-MIB. Note
For IM and Presence Service, you configure only clogNotificationsEnabled and clogMaxSeverity trap/inform parameters on the NMS.
Table 10: Cisco Unified Communications Manager Trap/Inform Configuration Parameters
Configuration Recommendations Generated Traps
Default Value Parameter Name
Keep the default specification. ccmCallManagerFailed ccmMediaResourceListExhausted ccmRouteListExhausted ccmTLSConnectionFailure True ccmCallManagerAlarmEnable
None. The default specifies this trap as enabled.
ccmGatewayFailed
ccmGatewayLayer2Change Although you can configure a Cisco ATA 186 device as a phone in Cisco Unified Communications Manager Administration, when Unified Communications Manager sends SNMP traps for the Cisco ATA device, it sends a gateway type trap; for example,
ccmGatewayFailed. True
ccmGatewayAlarmEnable
Set the
ccmPhoneStatusUpdateAlarmInterval to a value between 30 and 3600. ccmPhoneStatusUpdate 1800 0 ccmPhoneStatusUpdateStorePeriod ccmPhoneStatusUpdateAlarmInterval Set the ccmPhoneFailedAlarmInterval to a value between 30 and 3600. ccmPhoneFailed
1800 0 ccmPhoneFailedStorePeriod ccmPhoneFailedAlarmInterval
None. The default specifies this trap as enabled.
ccmMaliciousCall True
Configuration Recommendations Generated Traps
Default Value Parameter Name
None. The default specifies this trap as enabled.
This trap gets generated only if the Cisco Extended Functions service is activated and running on the server, or, in the case of a cluster configuration (Unified Communications Manager only), on the local Unified Communications Manager server.
ccmQualityReport True
ccmQualityReportAlarmEnable
To enable trap generation, set clogNotificationsEnable to True. clogMessageGenerated
False clogNotificationsEnabled
When you set clogMaxSeverity to warning, a SNMP trap generates when applications generate a syslog message with at least a warning severity level. clogMessageGenerated
Warning clogMaxSeverity
Related Topics
CISCO-CCM-MIB Trap Parameters, on page 34
CISCO-SYSLOG-MIB Trap Parameters, on page 33
SFTP Server Support
For internal testing, we use the SFTP Server on Cisco Prime Collaboration Deployment (PCD) which is provided by Cisco, and which is supported by Cisco TAC. Refer to the following table for a summary of the SFTP server options:
Table 11: SFTP Server Support
Support Description SFTP Server
This server is the only SFTP server that is provided and tested by Cisco, and which is fully supported by Cisco TAC.
Version compatibility depends on your version of Unified
Communications Manager and Cisco Prime Collaboration Deployment. See the Cisco Prime Collaboration Deployment Administration Guide before you upgrade its version (SFTP) or Unified Communications Manager to ensure that the versions are compatible.
Support Description SFTP Server
These servers are third party provided and third party tested. Version compatibility depends on the third party test. See the Technology Partner page if you upgrade their SFTP product and/or upgrade Unified Communications Manager for which versions are compatible:
https://marketplace.cisco.com
SFTP Server from a Technology Partner
These servers are third party provided, have limited Cisco testing, and are not officially supported by Cisco TAC.
Version compatibility is on a best effort basis to establish compatible SFTP versions and Unified Communications Manager versions.
These products have not been tested by Cisco and we cannot guarantee functionality. Cisco TAC does not support these products. For a fully tested and supported SFTP solution, use Cisco Prime Collaboration Deployment or a Technology Partner.
Note SFTP Server from another Third Party
SNMP Configuration Task Flow
Complete these tasks to configure the Simple Network Management Protocol. Make sure that you know which SNMP version you are going to configure as the tasks may vary. You can choose from SNMP V1, V2c, or V3..
Before you begin
Install and configure the SNMP Network Management System. Procedure
Purpose Command or Action
Confirm that essential SNMP services are running.
Activate SNMP Services, on page 23
Step 1
For SNMP V1 or V2, configure a community string.
Complete one of the following tasks, according to your SNMP version:
Step 2
For SNMP V3, configure an SNMP User. •Configure SNMP Community String, on
page 23
•Configure an SNMP User, on page 26
For SNMP V3, obtain the address of the remote SNMP engine, which is required in Notification Destination configuration.
Get Remote SNMP Engine ID, on page 28
Step 3
This procedure is mandatory for SNMP V3, but is optional for SNMP V1 or V2c.
Purpose Command or Action
For all SNMP versions, configure a Notification Destination for SNMP Traps and Informs.
Configure SNMP Notification Destination, on page 29
Step 4
Configure a system contact and system location for the MIB-II system group.
Configure MIB2 System Group, on page 32
Step 5
Configure trap settings for CISCO-SYSLOG-MIB.
CISCO-SYSLOG-MIB Trap Parameters, on page 33
Step 6
Unified Communications Manager only: Configure trap settings for CISCO-CCM-MIB.
CISCO-CCM-MIB Trap Parameters, on page 34
Step 7
After completing your SNMP configuration, restart the SNMP Master Agent.
Restart SNMP Master Agent, on page 35
Step 8
On the SNMP Network Management System, configure the Unified Communications Manager trap parameters.
Step 9
Activate SNMP Services
Use this procedure to ensure that SNMP Services are up and running. Procedure
Step 1 Log in to Cisco Unified Serviceability.
Step 2 Confirm that the Cisco SNMP Master Agent network service is running. The service is on by default. a) Choose Tools > Control Center - Network Services.
b) Choose the publisher node and click Go.
c) Verify that the Cisco SNMP Master Agent service is running. Step 3 Start the Cisco Call Manager SNMP Service.
a) Choose Control Center > Service Activation.
b) From the Server drop-down, choose the publisher node and click Go.
c) Confirm that the Cisco Call Manager SNMP Service is running. If it's not running, check the corresponding check box and click Save.
What to do next
This procedure is required for SNMP V1 or V2c. For SNMP V3, configure an SNMP User instead of a community string.
Note
Procedure
Step 1 From Cisco Unified Serviceability, choose Snmp > V1/V2c > Community String.
Step 2 Select a Server and click Find to search for existing community strings. Optionally, you can enter search parameters to locate a specific community string.
Step 3 Do either of the following:
• To edit an existing SNMP community string, select the string. • To add a new community string, click Add New.
To delete an existing community string, select the string and click Delete Selected. After you delete the user, restart the Cisco SNMP Master Agent.
Note
Step 4 Enter the Community String Name.
Step 5 Complete the fields in the SNMP Community String Configuration window. For help with the fields and their settings, seeCommunity String Configuration Settings, on page 24.
Step 6 From the Access Privileges drop-down, configure the privileges for this community string. Step 7 If you want these settings to apply to all cluster nodes, check the Apply to All Nodes check box. Step 8 Click Save.
Step 9 Click OK to restart the SNMP master agent service and effect the changes.
What to do next
Configure SNMP Notification Destination, on page 29
Community String Configuration Settings
The following table describes the community string configuration settings.
Table 12: Community String Configuration Settings
Description Field
This setting in the Community String configuration window displays as read only because you specified the server choice when you performed the procedure in find a community string.
To change the server for the community string, perform the find a community string procedure.
Description Field
Enter a name for the community string. The name can contain up to 32 characters and can contain any combination of alphanumeric characters, hyphens (-), and underscore characters (_).
Choose community string names that are hard for outsiders to figure out.
Tip
When you edit a community string, you cannot change the name of the community string.
Community String
To accept SNMP packets from any host, click this button. Accept SNMP Packets
from any host
To accept SNMP only from specified hosts, click this button.
In the Host IP Address field, enter a host from which you want to accept packets and click Insert. Repeat this process for each host from which you want to accept packets. To delete a host, choose that host from the Host IP Addresses list box and click Remove.
Tip Accept SNMP Packets only from these hosts
From the drop-down list box, select the appropriate access level from the following list:
ReadOnly
The community string can only read the values of MIB objects. ReadWrite
The community string can read and write the values of MIB objects. ReadWriteNotify
The community string can read and write the values of MIB objects and send MIB object values for a trap and inform messages.
NotifyOnly
The community string can only send MIB object values for a trap and inform messages.
ReadNotifyOnly
The community string can read values of MIB objects and also send the values for trap and inform messages.
None
The community string cannot read, write, or send trap information. To change the trap configuration parameters, configure a community string with NotifyOnly, ReadNotifyOnly, or ReadWriteNotify privileges.
IM and Presence Service does not support ReadNoticyOnly. Tip
Description Field
To apply the community string to all nodes in the cluster, check this check box. This field applies to Unified Communications Manager and IM and Presence Service clusters only.
Apply To All Nodes
Configure an SNMP User
If you are deploying SNMP V3, use this procedure to set up an SNMP User.
This procedure is required for SNMP V3 only. For SNMP V1 or V2c, configure a community string instead. Note
Procedure
Step 1 From Cisco Unified Serviceability, choose Snmp > V3 > User.
Step 2 Select a Server and click Find to search for existing SNMP users. Optionally, you can enter search parameters to locate a specific user.
Step 3 Do either of the following::
• To edit an existing SNMP user, select the user. • To add a new SNMP user, click Add New.
To delete an existing user, select the user and click Delete Selected. After you delete the user, restart the Cisco SNMP Master Agent.
Note
Step 4 Enter the SNMP User Name.
Step 5 Enter the SNMP User configuration settings. For help with the fields and their settings, seeSNMP V3 User Configuration Settings, on page 27.
Before you save the configuration, you can click the Clear All button at any time to delete all information that you entered for all settings in the window.
Tip
Step 6 From the Access Privileges drop-down, configure the access privileges that you want to assign to this user. Step 7 If you want to apply this configuration to all cluster nodes, check the Apply to all Nodes check box. Step 8 Click Save.
Step 9 Click OK to restart the SNMP Master Agent.
To access the server with the user that you configured, make sure that you configure this user on the NMS with the appropriate authentication and privacy settings.
Note
What to do next
SNMP V3 User Configuration Settings
The following table describes the SNMP V3 user configuration settings.
Table 13: SNMP V3 User Configuration Settings
Description Field
This setting displays as read only because you specified the server when you performed the find notification destination procedure.
To change the server where you want to provide access, perform the procedure to find an SNMP user.
Server
In the field, enter the name of the user for which you want to provide access. The name can contain up to 32 characters and can contain any combination of alphanumeric characters, hyphens (-), and underscore characters (_).
Enter users that you have already configured for the network management system (NMS).
Tip
For existing SNMP users, this setting displays as read only. User Name
To require authentication, check the check box, enter the password in the Password and Reenter Password fields, and choose the appropriate protocol. The password must contain at least 8 characters.
If FIPS mode or Enhanced Security Mode is enabled, choose SHA as the protocol.
Note Authentication Required
If you checked the Authentication Required check box, you can specify privacy information. To require privacy, check the check box, enter the password in the Password and Reenter Password fields, and check the protocol check box. The password must contain at least 8 characters.
If FIPS mode or Enhanced Security Mode is enabled, choose AES128 as the protocol.
Note Privacy Required
To accept SNMP packets from any host, click the radio button. Accept SNMP Packets
from any host
To accept SNMP packets from specific hosts, click the radio button. In the Host IP Address field, enter a host from which you want to accept SNMP packets and click Insert. Repeat this process for each host from which you want to accept SNMP packets. To delete a host, choose that host from the Host IP Addresses pane and click Remove.
Description Field
From the drop-down list box, choose one of the following options for the access level:
ReadOnly
You can only read the values of MIB objects. ReadWrite
You can read and write the values of MIB objects. ReadWriteNotify
You can read and write the values of MIB objects and send MIB object values for a trap and inform messages.
NotifyOnly
You can only send MIB object values for trap and inform messages. ReadNotifyOnly
You can read values of MIB objects and also send the values for trap and inform messages.
None
You cannot read, write, or send trap information.
To change the trap configuration parameters, configure a user with NotifyOnly, ReadNotifyOnly, or ReadWriteNotify privileges. Tip
Access Privileges
To apply the user configuration to all nodes in the cluster, check this check box. This applies to Unified Communications Manager and IM and Presence Service clusters only.
Apply To All Nodes
Get Remote SNMP Engine ID
If you are deploying SNMP V3, use this procedure to obtain the remote SNMP engine ID, which is required for Notification Destination configuration.
This procedure is mandatory for SNMP V3, but is optional for SNMP V1 or 2C. Note
Procedure
Step 1 Log in to the Command Line Interface. Step 2 Run theutils snmp walk 1CLI command.
Step 5 Enter1.3.6.1.6.3.10.2.1.1.0as the Object ID (OID).
Step 6 For the file, enterfile.
Step 7 Entery.
The HEX-STRING that the system outputs represents the Remote SNMP Engine ID. Step 8 Repeat this procedure on each node where SNMP is running.
What to do next
Configure SNMP Notification Destination, on page 29
Configure SNMP Notification Destination
Use this procedure to configure a Notification Destination for SNMP Traps and Informs. You can use this procedure for either SNMP V1, V2c, or V3.
Before you begin
If you haven't set up an SNMP community string or SNMP user yet, complete one of these tasks: • For SNMP V1/V2, seeConfigure SNMP Community String, on page 23
• For SNMP V3, seeConfigure an SNMP User, on page 26
Procedure
Step 1 From Cisco Unifeid Serviceability, choose one of the following:
• For SNMP V1/V2, choose Snmp > V1/V2 > Notification Destination • For SNMP V3, choose Snmp > V3 > Notification Destination
Step 2 Select a Server and click Find to search for existing SNMP Notification Destinations. Optionally, you can enter search parameters to locate a specific destination.
Step 3 Do either of the following::
• To edit an existing SNMP notification destination, select the notification destination. • To add a new SNMP notification destination, click Add New.
To delete an existing SNMP notification destination, select the destination and click Delete Selected. After you delete the user, restart the Cisco SNMP Master Agent.
Note
Step 4 From the Host IP Addresses drop-down, select an existing address or click Add New and enter a new host IP address.
Step 7 For SNMP V3, complete these steps:
a) From the Notification Type drop-down select Inform or Trap.
b) From the Remote SNMP Engine ID drop-down, select an existing Engine ID or select Add New and enter a new ID.
c) From the Security Level drop-down, assign the appropriate security level.
Step 8 If you want to apply this configuration to all cluster nodes, check the Apply to all Nodes check box. Step 9 Click Insert.
Step 10 Click OK to restart the SNMP Master Agent.
Example
For field description help in the Notification Destination Configuration window, see one of the following topics:
•Notification Destination Settings for SNMP V1 and V2c, on page 30
•Notification Destination Settings for SNMP V3, on page 31 Note
What to do next
Configure MIB2 System Group, on page 32
Notification Destination Settings for SNMP V1 and V2c
The following table describes the notification destination configuration settings for SNMP V1/V2c.
Table 14: Notification Destination Configuration Settings for SNMP V1/V2c
Description Field
This setting displays as read only because you specified the server when you performed the procedure to find a notification destination.
To change the server for the notification destination, perform the procedure to find a community string.
Server
From the drop-down list box, select the Host IP address of the trap destination or click Add New. If you click Add New, enter the IP address of the trap destination.
For existing notification destinations, you cannot modify the host IP address configuration.
Host IP Addresses
In the field, enter the notification-receiving port number on the destination server that receives SNMP packets.
Description Field
From the SNMP Version Information pane, click the appropriate SNMP version radio button, either V1 or V2c, which depends on the version of SNMP that you are using.
• If you choose V1, configure the community string setting.
• If you choose V2c, configure the notification type setting and then configure the community string.
V1 or V2c
From the drop-down list box, choose the community string name to be used in the notification messages that this host generates.
Only community strings with minimum notify privileges (ReadWriteNotify or Notify Only) display. If you have not configured a community string with these privileges, no options appear in the drop-down list box. If necessary, click Create New uiCommunity String to create a community string.
IM and Presence only: Only community strings with minimum notify privileges (ReadWriteNotify, ReadNotifyOnly, or Notify Only) display. If you have not configured a community string with these privileges, no options appear in the drop-down list box. If necessary, click Create New Community String to create a community string.
Community String
From the drop-down list box, choose the appropriate notification type. Notification Type
To apply the notification destination configuration to all nodes in the cluster, check this check box.
This applies to Cisco Unified Communications Manager and IM and Presence Service clusters only.
Apply To All Nodes
Notification Destination Settings for SNMP V3
The following table describes the notification destination configuration settings for SNMP V3.
Table 15: Notification Destination Configuration Settings for SNMP V3
Description Field
This setting displays as read only because you specified the server when you performed the procedure to find an SNMP V3 notification destination. To change the server for the notification destination, perform the procedure to find an SNMP V3 notification destination and select a different server. Server
From the drop-down list box, choose the Host IP address or choose Add New. If you chose Add New, enter the IP address for the host.
Host IP Addresses
In the field, enter the notification-receiving port number on the destination server. Port Number
Description Field
This setting displays if you chose Inform from the Notification Type drop-down list box.
From the drop-down list box, choose the engine ID or choose Add New. If you chose Add New, enter the ID in the Remote SNMP Engine Id field, which requires a hexidecimal value.
Remote SNMP Engine Id
From the drop-down list box, choose the appropriate security level for the user. noAuthNoPriv
No authentication or privacy configured. authNoPriv
Authentication configured, but no privacy configured. authPriv
Authentication and privacy configured. Security Level
From the pane, perform one of the following tasks to associate or disassociate the notification destination with the user.
1. To create a new user, click Create New User.
2. To modify an existing user, click the radio button for the user and then click Update Selected User.
3. To delete a user, click the radio button for the user and then click Delete Selected User.
The users that display vary depending on the security level that you configured for the notification destination.
User Information pane
To apply the notification destination configuration to all nodes in the cluster, check this check box.
This applies to Cisco Unified Communications Manager and IM and Presence Service clusters only.
Apply To All Nodes
Configure MIB2 System Group
Use this procedure to configure a system contact and system location for the MIB-II system group. For example, you could enter Administrator, 555-121-6633, for the system contact and SanJose, Bldg 23, 2nd floor, for the system location. You can use this procedure for SNMP V1, V2, and V3.
Procedure
Step 1 From cisco Unified Serviceability, choose Snmp > SystemGroup > MIB2 System Group. Step 2 From the Server drop-down select a node and click Go.
Step 3 Complete the System Contact and System Location fields.
Step 5 Click Save.
Step 6 Click OK to restart the SNMP master agent service
Example
For field description help, seeMIB2 System Group Settings, on page 33 Note
You can click Clear All to clear the fields. If you click Clear All followed bySave, the record is deleted.
Note
MIB2 System Group Settings
The following table describes the MIB2 System Group configuration settings.
Table 16: MIB2 System Group Configuration Settings
Description Field
From the drop-down list box, choose the server for which you want to configure contacts, and then click Go.
Server
Enter a person to notify when problems occur. System Contact
Enter the location of the person that is identified as the system contact. System Location
Check to apply the system configuration to all of the nodes in the cluster. This applies to Unified Communications Manager and IM and Presence Service clusters only.
Apply To All Nodes
CISCO-SYSLOG-MIB Trap Parameters
Use these guidelines to configure CISCO-SYSLOG-MIB trap settings on your system:
• Set clogsNotificationEnabled (1.3.6.1.4.1.9.9.41.1.1.2) to True by using the SNMP Set operation; for example, use the net-snmp set utility to set this OID to True from the linux command line using: snmpset -c <community string>-v2c
<transmitter ipaddress> 1.3.6.1.4.1.9.9.41.1.1.2.0 i 1
snmpset-c public-v2c
<transmitter ipaddress> 1.3.6.1.4.1.9.9.41.1.1.3.0 i <value>
Enter a severity number for the <value> setting. Severity values increase as severity decreases. A value of 1 (Emergency) indicates highest severity, and a value of 8 (Debug) indicates lowest severity. Syslog agent ignores any messages greater than the value that you specify; for example, to trap all syslog messages, use a value of 8.
Severity values are as follows: • 1: Emergency • 2: Alert • 3: Critical • 4: Error • 5: Warning • 6: Notice • 7: Info • 8: Debug)
You can also use any other SNMP management application for the SNMP Set operation.
Before logging, Syslog truncates any trap message data that is larger than the specified Syslog buffer size. The Syslog trap message length limitation equals 255 bytes.
Note
CISCO-CCM-MIB Trap Parameters
• Set ccmPhoneFailedAlarmInterval (1.3.6.1.4.1.9.9.156.1.9.2) to a value in the range 30-3600 by using the SNMP Set operation; for example, use the net-snmp set utility to set this OID value from the linux command line using:
snmpset -c <community string> -v2c
<transmitter ipaddress> 1.3.6.1.4.1.9.9.156.1.9.2 .0 i <value> You can also use any other SNMP management application for the SNMP Set operation.
• Set ccmPhoneStatusUpdateAlarmInterval (1.3.6.1.4.1.9.9.156.1.9.4) to a value in the range 30-3600 by using the SNMP Set operation; for example, use the net-snmp set utility to set this OID value from the linux command line using:
snmpset -c <community string> -v2c
CISCO-UNITY-MIB Trap Parameters
Cisco Unity Connection only: The Cisco Unity Connection SNMP Agent does not enable trap notifications, though traps can be triggered by Cisco Unity Connection alarms. You can view Cisco Unity Connection alarm definitions in Cisco Unity Connection Serviceability, on the Alarm > Definitions screen.
You can configure trap parameters by using the CISCO-SYSLOG-MIB. Related Topics
CISCO-SYSLOG-MIB Trap Parameters, on page 33
Restart SNMP Master Agent
After you complete all of your SNMP configurations, restart the SNMP Master Agent service. Procedure
Step 1 From Cisco Unified Serviceability, choose Tools > Control Center - Network Services. Step 2 Choose a Server and click Go.
Step 3 Select the SNMP Master Agent. Step 4 Click Restart.
SNMP Trap Settings
Use CLI commands to set the configurable SNMP trap settings. SNMP trap configuration parameters and recommended configuration tips are provided for CISCO-SYSLOG-MIB, CISCO-CCM-MIB, and CISCO-UNITY-MIB.
Configure SNMP Traps
Use this procedure to configure SNMP traps. Before you begin
Configure your system for SNMP. For details, seeSNMP Configuration Task Flow, on page 22.
Make sure that the Access Privileges for either the SNMP community string (for SNMP V1/V2), or the SNMP user (for SNMP V3) are set to one of the following settings: ReadWriteNotify, ReadNotify, NotifyOnly. Procedure
• In Cisco Unified Serviceability, choose Alarm > Configuration and select CM Services and Cisco CallManager.
• Check the Apply to All Nodes check box.
• Under Local Syslogs, set the Alarm Event Level drop-down list box to Informational. Step 4 Reproduce the traps and check if the corresponding alarm is logged in CiscoSyslog file.
Generate SNMP Traps
This section describes the process for generating specific types of SNMP traps. SNMP must be set up and running on the server in order for the individual traps to generate. FollowConfigure SNMP Traps, on page 35for instructions on how to set up your system to generate SNMP traps.
The processing time for individual SNMP traps varies depending on which trap you are attempting to generate. Some SNMP traps may take up to a few minutes to generate.
Note
Table 17: Generate SNMP Traps
Process SNMP Traps
To trigger the ccmPhoneStatusUpdate trap: 1. In the ccmAlarmConfig Info mib table, set
ccmPhoneStatusUpdateAlarmInterv (1.3.6.1.4.1.9.9.156.1.9.4) = 30 or higher.
2. Log in to Cisco Unified Communications Manager Administration. 3. For a phone that is in service and that is registered to Unified
Communications Manager, reset the phone.
The phone deregisters, and then reregisters, generating the ccmPhoneStatusUpdate trap.
ccmPhoneStatusUpdate
To trigger the ccmPhoneFailed trap:
1. In the ccmAlarmConfigInfo mib table, set ccmPhoneFailedAlarmInterval (1.3.6.1.4.1.9.9.156.1.9.2) =30 or higher.
2. In Cisco Unified Communications Manager Administration, change the MAC address of the phone to an invalid value.
3. In Cisco Unified Communications Manager Administration, reregister the phone.
4. Set the phone to point to the TFTP server A and plug the phone into a different server.
Process SNMP Traps
To trigger the ccmGatewayFailed SNMP trap:
1. Confirm that ccmGatewayAlarmEnable (1.3.6.1.4.1.9.9.156.1.9.6) is set to true.
2. In Cisco Unified Communications Manager Administration, change the MAC address of the gateway to an invalid value.
3. Reboot the gateway. ccmGatewayFailed
To trigger the ccmGatewayLayer2Change trap on a working gateway where layer 2 is monitored (for example, the MGCP backhaul load):
1. In the ccmAlarmConfig Info mib table, set ccmGatewayAlarmEnable (1.3.6.1.4.1.9.9.156.1.9.6.0) = true.
2. In Cisco Unified Communications Manager Administration, change the MAC address of the gateway to an invalid value.
3. Reset the gateway. ccmGatewayLayer2Change
To trigger a MediaResourceListExhausted trap:
1. In Cisco Unified Communications Manager Administration, create a media resource group that contains one of the standard Conference Bridge resources (CFB-2).
2. Create a media resource group list that contains the media resource group that you created.
3. In the Phone Configuration window, set the Media Resource Group List field to the media resource group list that you have created.
4. Stop the IP Voice Media Streaming service. This action causes the ConferenceBridge resource (CFB-2) to stop working.
5. Make conference calls with phones that use the media resource group list. The "No Conference Bridge available" message appears in the phone screen.
MediaResourceListExhausted
To trigger a RouteListExhausted trap:
1. Create a route group that contains one gateway.
2. Create a route group list that contains the route group that you just created. 3. Create a unique route pattern that routes a call through the route group list. 4. Deregister the gateway.
Process SNMP Traps
To trigger a MaliciousCallFailed trap:
1. Create a softkey template that includes all available "MaliciousCall" softkeys.
2. Assign the new softkey template to phones in your network and reset the phones.
3. Place a call between the phones.
4. During the call, select the "MaliciousCall" softkey. MaliciousCallFailed
The CallManager Failed Alarm is generated when internal errors are generated. These internal errors may include an internal thread quitting due to the lack of CPU, pausing the CallManager server for more than 16 seconds, and timer issues. You cannot manually generate this alarm.
Generating a ccmCallManagerFailed alarm or trap shuts down the CallManager service and generates a core file. To avoid confusion, Cisco recommends that you delete the core file immediately. Note
ccmCallManagerFailed
To receive syslog messages above a particular severity as traps, set the following two mib objects in the clogBasic table:
1. Set clogNotificationsEnabled (1.3.6.1.4.1.9.9.41.1.1.2) to true(1). Default value is false(2). For example, snmpset -c <Community String> -v 2c <transmitter ip address> 1.3.6.1.4.1.9.9.41.1.1.2.0 i 1
2. Set the clogMaxSeverity (1.3.6.1.4.1.9.9.41.1.1.3) to a level that is greater than the level at which you want your traps to be produced. The default value is warning (5).
All syslog messages with alarm severity lesser than or equal to the configured severity level are sent as traps. For example, snmpset -c <Community String> -v 2c <transmitter ip address>
1.3.6.1.4.1.9.9.41.1.1.3.0 i <value> syslog messages as traps
SNMP Trace Configuration
For Unified Communications Manager, you can configure trace for the Cisco CallManager SNMP agent in the Trace Configuration window in Cisco Unified Serviceability by choosing the Cisco CallManager SNMP Service in the Performance and Monitoring Services service group. A default setting exists for all the agents. For Cisco CDP Agent and Cisco Syslog Agent, you use the CLI to change trace settings, as described in the Command Line Interface Reference Guide for Cisco Unified Solutions.
Troubleshooting SNMP
Review this section for troubleshooting tips. Make sure that all of the feature and network services are running. Problem
You cannot poll any MIBs from the system.
This condition means that the community string or the snmp user is not configured on the system or they do not match with what is configured on the system. By default, no community string or user is configured on the system.
Solution
Check whether the community string or snmp user is properly configured on the system by using the SNMP configuration windows.
Problem
You cannot receive any notifications from the system.
This condition means that the notification destination is not configured correctly on the system. Solution