View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Oliver Gorwits > App-Netdisco-2.038001 > App::Netdisco::SSHCollector::Platform::Linux

Download:
App-Netdisco-2.038001.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: App-Netdisco-2.039030

NAME ^

App::Netdisco::SSHCollector::Platform::Linux

DESCRIPTION ^

Collect ARP entries from Linux routers

This collector uses "arp" as the command for the arp utility on your system. If you wish to specify an absolute path, then add an arp_command item to your configuration:

 sshcollector:
   - ip: '192.0.2.1'
     user: oliver
     password: letmein
     platform: Linux
     arp_command: '/usr/sbin/arp'

PUBLIC METHODS ^

arpnip($host, $ssh)

Retrieve ARP entries from device. $host is the hostname or IP address of the device. $ssh is a Net::OpenSSH connection to the device.

Returns a list of hashrefs in the format { mac = MACADDR, ip => IPADDR }>.

syntax highlighting: