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 }>.