- or download this
my $interfaces = Net::SNMP::Interfaces->new( Hostname => '192.168.18
+4.11',
Community => 'public',
...
my @ifnames = $interfaces->all_interfaces();
print Dumper (\@ifnames);
- or download this
No response from remote host "127.0.0.1" at test.pl line 10
- or download this
my $interfaces = Net::SNMP::Interfaces->new( Hostname => '127.0.0.1'
+,
Community => 'public',
...
);
my @ifnames = $interfaces->all_interfaces();
- or download this
Net::SNMP::Interfaces: at test.pl line 10.
- or download this
22:19:01.537280 IP 0.0.0.0 > 0.0.0.0: ICMP 0.0.0.0 udp port 1161 unrea
+chable, length 36
- or download this
my $interfaces = Net::SNMP::Interfaces->new( Hostname => '192.168.18
+4.11',
Community => 'public',
...
my @ifnames = $interfaces->all_interfaces();
print Dumper (\@ifnames);
- or download this
Can't call method "all_interfaces" on an undefined value at test.pl li
+ne 12.