2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-29 07:41:31 +00:00

put name of OID

This commit is contained in:
Casandra Qiu
2018-06-14 11:41:50 -04:00
parent 2cc35b6090
commit 643fa238fe

View File

@@ -981,8 +981,8 @@ sub get_snmpvendorinfo {
push @comm_list, 'public';
foreach $comms(@comm_list) {
#for pdu: get vendor info from sysDescr.0
#for switches: get vendor info from product OID
#for pdu: get vendor info from sysDescr
#for switches: get vendor info from entPhysicalDescr
my $ccmd;
if (exists($globalopt{pdu})) {
$ccmd = "snmpwalk -Os -v1 -c $comms $ip 1.3.6.1.2.1.1.1";