Hello!
How to get value in perl extension via command as below.
snmpset -c private -v 1 localhost .1.3.6.1.4.1.318.2.1.2.1.2.1 s
i.e. How to get the value "" for the variable $string_value
Thanks
- code -
#!/usr/bin/perl
use NetSNMP::OID (':all');
use
Pashpa, thank you very mach!
Сhanging the parameter to “1234” helped me!
It remains to figure out how to convert an address from an integer.
From: Pushpa Thimmaiah [mailto:pushpa.thimma...@gmail.com]
Sent: Wednesday, September 16, 2020 6:39 AM
To: Net-SNMP Coders
Subject: snmpget: Remove
Hello!
There is a need to return the value of the ip address when requesting a
specific OID.
It is necessary to emulate the snmp device.
Implemented via perl, which I am new to.
Perl extension NetSNMP::ASN does not return values in the request, where
Exportable constants -