Returns the single device to which this Node entry was associated at the time of discovery.
device
The JOIN is of type LEFT, in case the device is no longer present in the database but the relation is being used in search().
search()
Returns the single device_port to which this Node entry was associated at the time of discovery.
device_port
Returns the single wireless_port to which this Node entry was associated at the time of discovery.
wireless_port
Returns the set of node_ip entries associated with this Node. That is, the IP addresses which this MAC address was hosting at the time of discovery.
node_ip
Note that the Active status of the returned IP entries will all be the same as the current Node's.
Same as ips but for IPv4 only.
ips
Same as ips but for IPv6 only.
Returns the node_nbt entry associated with this Node if one exists. That is, the NetBIOS information of this MAC address at the time of discovery.
node_nbt
Returns the set of node_wireless entries associated with this Node. That is, the SSIDs and wireless statistics associated with this MAC address at the time of discovery.
node_wireless
Returns the oui table entry matching this Node. You can then join on this relation and retrieve the Company name from the related table.
oui
The JOIN is of type LEFT, in case the OUI table has not been populated.
Formatted version of the time_first field, accurate to the minute.
time_first
The format is somewhat like ISO 8601 or RFC3339 but without the middle T between the date stamp and time stamp. That is:
T
2012-02-06 12:49
Formatted version of the time_last field, accurate to the minute.
time_last
Returns the mac column instantiated into a NetAddr::MAC object.
mac
To install App::Netdisco, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Netdisco
CPAN shell
perl -MCPAN -e shell install App::Netdisco
For more information on module installation, please visit the detailed CPAN module installation guide.