[% IF params.vendor %] [% END %] [% IF params.stamps %] [% END %] [% SET first_row = 1 %] [% WHILE (row = ips.next) %] [% END %] [% IF params.stamps %] [% END %] [% SET first_row = 0 %] [% END %] [% WHILE (node = sightings.next) %] [% IF params.vendor %] [% END %] [% IF params.stamps %] [% END %] [% SET first_row = 0 %] [% END %] [% WHILE (port = ports.next) %] [% IF params.vendor %] [% END %] [% IF params.stamps %] [% END %] [% SET first_row = 0 %] [% END %]
MACVendorMatch Device or NodeFirst Seen Last Seen
[% IF first_row %] [% row.net_mac.$mac_format_call | html_entity %] [% ELSE %]   [% END %] [% IF params.vendor %] [% IF first_row %] [% row.oui.company | html_entity %] [% ELSE %]   [% END %] MAC → IP [% row.ip | html_entity %] [% ' A' IF NOT row.active %] [% ' (' _ row.dns.remove(settings.domain_suffix) _ ')' IF row.dns %] [% row.time_first_stamp | html_entity %] [% row.time_last_stamp | html_entity %]
[% IF first_row %] [% node.net_mac.$mac_format_call | html_entity %] [% ELSE %]   [% END %] [% IF first_row %] [% node.oui.company | html_entity %] [% ELSE %]   [% END %] Switch Port [% node.switch | html_entity %] - [% node.port | html_entity %] [% ' A' IF NOT node.active %] [% IF node.device.dns AND node.device_port AND node.device_port.name %] ([% node.device.dns | html_entity %] - [% node.device_port.name | html_entity %]) [% END %] [% node.time_first_stamp | html_entity %] [% node.time_last_stamp | html_entity %]
[% IF first_row %] [% port.mac | html_entity %] [% ELSE %]   [% END %] [% IF first_row %] [% port.oui.company | html_entity %] [% ELSE %]   [% END %] Switch Port [% port.ip | html_entity %] - [% port.descr | html_entity %] [% IF port.device.dns AND port.name %] ([% port.device.dns | html_entity %] - [% port.name | html_entity %]) [% END %] [% port.creation | html_entity %] [% port.creation | html_entity %]