1839a0c27SSandhya Somashekar*** Variables *** 2839a0c27SSandhya Somashekar 3839a0c27SSandhya Somashekar# SNMP related parameters. 4839a0c27SSandhya Somashekar 5839a0c27SSandhya Somashekar# 10.x.x.x series is a private IP address range and does not exist in 6839a0c27SSandhya Somashekar# our network, so this is chosen to avoid any adversary effect. 7839a0c27SSandhya Somashekar# It can be overridden by command line arguments. 8839a0c27SSandhya Somashekar${SNMP_MGR1_IP} 10.6.6.6 9839a0c27SSandhya Somashekar${SNMP_MGR2_IP} 10.6.6.7 10839a0c27SSandhya Somashekar${SNMP_MGR3_IP} 10.6.6.8 11839a0c27SSandhya Somashekar${out_of_range_ip} 10.6.6.256 12839a0c27SSandhya Somashekar${alpha_ip} xx.xx.xx.xx 13839a0c27SSandhya Somashekar 14839a0c27SSandhya Somashekar# Valid and invalid IP and ports. Valid port range is 0-65535. 15839a0c27SSandhya Somashekar# Default port is 162. 16839a0c27SSandhya Somashekar${SNMP_DEFAULT_PORT} ${162} 17839a0c27SSandhya Somashekar${NON_DEFAULT_PORT1} ${186} 18839a0c27SSandhya Somashekar${NON_DEFAULT_PORT2} ${196} 19839a0c27SSandhya Somashekar${out_of_range_port} ${65536} 20839a0c27SSandhya Somashekar# non numeric value 21839a0c27SSandhya Somashekar${alpha_port} ab 22839a0c27SSandhya Somashekar${negative_port} ${-12} 23839a0c27SSandhya Somashekar${empty_port} ${EMPTY} 24*bf18133dSNaman Navin Hegde 25*bf18133dSNaman Navin Hegde# User Name Password 26*bf18133dSNaman Navin Hegde${SNMP_MGR1_USERNAME} ${EMPTY} 27*bf18133dSNaman Navin Hegde${SNMP_MGR1_PASSWORD} ${EMPTY} 28*bf18133dSNaman Navin Hegde 29*bf18133dSNaman Navin Hegde# SNMP Command 30*bf18133dSNaman Navin Hegde${SNMP_TRAPD_CMD} snmptrapd -f -c 31*bf18133dSNaman Navin Hegde... /usr/local/etc/snmp/snmptrapd.conf -Lo 32*bf18133dSNaman Navin Hegde${SNMP_TRAP_BMC_ERROR} example.xyz.openbmc_project.Example.Elog.AutoTestSimple 33