NAME

App::Netdisco::SSHCollector::Platform::FreeBSD

DESCRIPTION

Collect ARP entries from FreeBSD 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:

device_auth: - tag: sshfreebsd driver: cli platform: FreeBSD only: '192.0.2.1' username: oliver password: letmein 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 }>.