Installation of the SNMP daemon
The SNMP Proxy agent is installed at the time of installation of the FOXMAN-UN application and is run as a daemon process.
If the option is licensed, the SNMP daemon is started when «nemstart» is executed. It can be started and stopped independently via the commands «snmpstart» and «snmpstop».
After a successful launch of the daemon it sends a standard cold start trap to the HLM running at the server that is specified by the «snmp_hlm_host» variable in the «$NEM_HOME/etc/snmpagentd.conf» file:
The configurable parameters in the «snmpagentd.conf» file applicable to the Proxy Agent and their default values are shown below:
######################################################
#
# Configuration parameters for SNMP
#
######################################################
#
# The NEM SNMP agent OID prefix is set to a
# fixed value of: 1.3.6.1.4.1.17268.2818.93
#
snmp_trap_port 10162 # Remote port where alarms are sent
# Default is: 162
snmp_request_port 10161 # Listening port of the agent
# Default is: 161
#snmp_hlm_host XXXX # HLM host IP address
# Default is: 127.0.0.1
#snmp_no_cards_alarms_table xxxx # By enabling (value = enable) this flag
# would set the NBI/FOXMAN-UN to trap only mode
# and HLMs are prevented from accessing
# the FOXMAN-UN ne, card and alarm tables.
# By default it is disabled.
#
#snmp_community XXXX # Community name between agent and HLM
# Default is: public
#snmp_clear_alarm_ack XXXXXXXX # Automatic acknowledgment of cleared alarm
# Default is: disable
#snmp_raise_alarm_ack XXXXXXXX # Automatic acknowledgment of raised alarm
# Default is: disable
#snmp_send_clear_ack_trap XXXXXXXX # Send acknowledge trap when cleared alarm
# acknowledged
# Default is: disable
#snmp_send_raise_ack_trap XXXXXXXX # Send acknowledge trap when raised alarm
# acknowledged
# Default is: disable
#snmp_hlm_host2 XXXX # 2nd HLM host IP address for traps
# Default is: -
#snmp_trap_port2 XXXX # Remote port for snmp_hlm_host2
# Default is: 0
#snmp_v3_security XXXXX # Turn on SNMPv3 security
# Possible values: enable | disable
# Default: enable
#snmp_v3_userid XXXXX # username setup within SNMPv3 security
# Default is equal to: big_chief
#snmp_v3_auth_protocol XXX # The authentication protocol to set for the snmpv3 user
# Possible values: none | SHA | MD5
# Default: SHA
#snmp_v3_priv_protocol XXX # The privacy protocol to set for the snmpv3 user
# Possible values are: none | DES | 3DES
# Default: DES
#snmp_v3_usm_access XXXXX # Allow snmpv3 user access USM (user) tables.
# Possible values: enable | disable
# Default: enable
#snmp_trap_version XX # Define if send SNMPv1 traps or SNMPv2 Notifications
# Valid values are: 1 (for SNMPv1 traps)
# 2 (for SNMPv2 notifications)
# Default is: 1
#snmp_show_cleared_alarms disable # Define if cleared alarms are shown in the
# Northbound SNMP alarm table
# Valid values are: disable
# enable
# Default is: disable
#snmp_alarm_ne_card_batch_size 3 # Define the chunk size of the alarm, ne
# and card traps sent to HLM by NBI
# Default size is: 5