Configuring SNMP Traps
The Simple Network Management Protocol (SNMP) enables the monitoring of network devices from a central location. This section describes how to configure SNMP traps on the JCS management module.
Tasks to configure SNMP traps and alerts on the JCS management module are:
Configuring the SNMP Community
The SNMP community defines the relationship between an SNMP server system and client systems. To configure the SNMP community, set the community name and type. Also set the IP address for the community.
To configure the SNMP community:
- Log in to the JCS management module.
- Use the env command to specify mm[1] as the configuration target. For example:
system> env -T mm[1]
- Use the snmp command to configure the SNMP
community. For example:
system:mm[1]> snmp -c3 trap
system:mm[1]> snmp -c3i1 192.168.171.100 -ca3 trap
In this example, the community 3 name is trap, the IP address of the trap destination is 192.168.171.100, and the community 3 type is trap.
![]() |
Caution: By default, SNMP is enabled on the JCS management module. Do not disable SNMP. If you disable SNMP, your system might not function correctly. Also, do not erase or change the SNMP default c1 community. |
Configuring Alert Entries for SNMP Traps
To use SNMP notifications on the JCS management module, you must specify the alert recipient. These recipients indicate where network registrar notifications are directed. Alert recipients are numbered from 1 through 12.
To configure the alert recipient:
- Log in to the JCS management module.
- Use the env command to specify mm[1] as the configuration target. For example:
system> env -T mm[1]
- Use the alertentries command to configure the alert recipient. For example:
system:mm[1]> alertentries -1 -n trap -status on -f none -t snmp
In this example, the alert recipient number is 1, the recipient is named trap, the alert status is on, alert filtering is none (all alerts are received, not just critical alerts), and the alert type is SNMP.
Configuring Monitored Alerts for SNMP Traps
In addition to specifying alert recipients for SNMP notifications, you can configure particular enhanced alert categories (monitored alerts), which enable you to selectively choose alerts.
To configure monitored alerts:
- Log in to the JCS management module.
- Use the env command to specify mm[1] as the configuration target. For example:
system> env —T mm[1]
- Use the monalerts command to configure the monitored alerts. For example:
system:mm[1]> monalerts —ec enabled
system:mm[1]> monalerts —ca enabled, —wa enabled —ia enabled
In this example, the enhanced alert categories are enabled. All critical (ca), warning (wa), and informational (ia) alerts are enabled.