From 952dea810b4a03202b4be2405013c1fca80da843 Mon Sep 17 00:00:00 2001 From: Casandra Qiu Date: Thu, 7 Jun 2018 13:18:30 -0400 Subject: [PATCH] Using physical entity description OID to get Vendor information --- xCAT-server/lib/xcat/plugins/switchdiscover.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/switchdiscover.pm b/xCAT-server/lib/xcat/plugins/switchdiscover.pm index 07b88b26a..0c347862e 100644 --- a/xCAT-server/lib/xcat/plugins/switchdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/switchdiscover.pm @@ -982,7 +982,7 @@ sub get_snmpvendorinfo { foreach $comms(@comm_list) { #get sysDescr.0"; - my $ccmd = "snmpwalk -Os -v1 -c $comms $ip 1.3.6.1.2.1.1.1"; + my $ccmd = "snmpwalk -Os -v1 -c $comms $ip 1.3.6.1.2.1.47.1.1.1.1.2.1"; if (exists($globalopt{verbose})) { send_msg($request, 0, "Process command: $ccmd\n"); }