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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user