-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Redfish/event/SNMP] test "Configure Multiple SNMP Managers On BMC And Check Trap On BMC Reboot" failed #2243
Comments
@meghagn12345 @prkatti1 Please check on this |
@Julia-Delta We tested it on our system & this code is working fine. For SNMP_MGR1_IP & SNMP_MGR2_IP please pass the IP of the system from where your are tracking/checking the snmp trap |
@meghagn5 Thanks for your reply. |
Python - 3.11 |
Hi @meghagn5, |
Test environment as following,
BMC IP: 100.100.100.142
SNMP_MGR1_IP:100.100.100.142
SNMP_MGR2_IP:100.100.100.151
SNMP_MGR3_IP:100.100.100.144
SNMP_TRAPD_CMD:/usr/sbin/snmptrapd -f -c /etc/snmp/snmptrapd.conf -Le
Test result is failed because that the ${snmp_trap} was a empty string as the following capture.
But I test commands which in the robot script manually.
snmptrapd can get the trap which occurred by setting error event log reuqest
These are 2 questions,
SNMP_MGR1_IP need to build a ssh connection and SNMP_MGR2_IP is snmp trap server, I thought that these manager IP have to vaild and binding on eth0, so I need to set two IP on eth0 before testing?
Attached file is testing resuslt
results.zip
The text was updated successfully, but these errors were encountered: