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.
Returns the set of node entries associated with this IP. That is, all the MAC addresses recorded which have ever hosted this IP Address.
node
Remember you can pass a filter to this method to find only active or inactive nodes, but do take into account that both the node and node_nbt tables include independent active fields.
node_nbt
active
See also the node_sightings helper routine, below.
node_sightings
Returns the set of node_ip entries associated with this NetBIOS entry. That is, the IP addresses which the same MAC address 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 NetBIOS entry.
Remember you can pass a filter to this method to find only active or inactive nodes, but do take into account that both the node and node_ip tables include independent active fields.
Results are ordered by time last seen.
Additional columns time_first_stamp and time_last_stamp provide preformatted timestamps of the time_first and time_last fields.
time_first_stamp
time_last_stamp
time_first
time_last
A JOIN is performed on the Device table and the Device DNS column prefetched.
Formatted version of the time_first field, accurate to the minute.
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.
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.