J
joe.cipale
I am using perl to write a acript that will retreive SNMP data and
possibly modify SNMP values for a given object on a switch.
If I retreive the SNMP data using the standard Net-SNMP command
(snmpget), the data I see is:Hex-STRING:FF FF FF F0 00 00 00
If, on the other hand, I use the SNMP package written in perl, the data
is sreturned as such: yyy0. I have tried to have the data stored as an
array (@hex_data) and attempted to access the data by walking through
it one character at a time with no luck
Any suggestions?
Thanks
Joe
possibly modify SNMP values for a given object on a switch.
If I retreive the SNMP data using the standard Net-SNMP command
(snmpget), the data I see is:Hex-STRING:FF FF FF F0 00 00 00
If, on the other hand, I use the SNMP package written in perl, the data
is sreturned as such: yyy0. I have tried to have the data stored as an
array (@hex_data) and attempted to access the data by walking through
it one character at a time with no luck
Any suggestions?
Thanks
Joe