sion.community_len member to the length
of the community string?
--
Roy M. Silvernail is [EMAIL PROTECTED], and you're not
"A desperate disease requires a dangerous remedy."
- Guy Faw
? If you get a response to that, your target is
SNMP-enabled (version 2c, anyway) and responsive. Back it up with a
call to the v1 style if you are monitoring a mixed-version installation.
--
Roy M. Silvernail is [EMAIL PROTECTED], and you're not
"A desperate disease requires
face stricter limitations than larger, more fully-provisioned
systems.
--
Roy M. Silvernail is [EMAIL PROTECTED], and you're not
"A desperate disease requires a dangerous remedy."
- Guy Fawkes
ports, no. If you're looking for the addresses
of devices holding a TCP connection to the switch,
RFC1213-MIB::tcpConnTable has that.
--
Roy M. Silvernail is [EMAIL PROTECTED], and you're not
"A desperate disease requires a dangerous remedy."
- Guy Fawk
a string type scalar MIB variable (len of string > 256 bytes) recently. I
> noticed that if len of string <= 256 it worked OK. I got NoSuchName if len
> of string > 256.
ASN.1 coding uses one byte to indicate field length, limiting any one
component to 255 bytes.
--
Roy M. Silverna
Dave Shield wrote:
> 2008/6/27 Roy M. Silvernail <[EMAIL PROTECTED]>:
>> ASN.1 coding uses one byte to indicate field length, limiting any one
>> component to 255 bytes.
>
> Where did you get this information?
> Because wherever you found it, it's wrong.
is possible or not to tell
> Net Snmp to use certain interface for sending outgoing packets. Is it
> possible with Net Snmp ? Does anybody know?
I believe you simply need to set the .localname member of your
netsnmp_session structure to the desired interface address before
calling s
0.147 IF-MIB::ifInOctets.6
IF-MIB::ifInOctets.6 = Counter32: 1601496262
$ snmpget -v 2c -c public 10.10.100.147 IF-MIB::ifHCInOctets.6
IF-MIB::ifHCInOctets.6 = Counter64: 48846137879
--
Roy M. Silvernail is [EMAIL PROTECTED], and you're not
"A desperate disease requires a dangerous remedy.&quo
ue using perl script I have attached below? I have build the
> same source codes for perl also.
nd I looked back at that script, which begins
#!/usr/bin/perl
# interface.pl
use Net::SNMP;
The Net::SNMP module isn't from Net-SNMP. You'll have to ask the
authors that question.
--
R