[% 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.mac %] [% ELSE %]   [% END %] [% IF params.vendor %] [% IF first_row %] [% row.oui.company %] [% ELSE %]   [% END %] MAC → IP [% row.ip %] [% ' A' IF NOT row.active %] [% ' (' _ row.dns.remove(settings.domain_suffix) _ ')' IF row.dns %] [% row.time_first_stamp %] [% row.time_last_stamp %]
[% IF first_row %] [% node.mac %] [% ELSE %]   [% END %] [% IF first_row %] [% node.oui.company %] [% ELSE %]   [% END %] Switch Port [% node.switch %] - [% node.port %] [% ' A' IF NOT node.active %] [% IF node.device.dns AND node.device_port AND node.device_port.name %] ([% node.device.dns %] - [% node.device_port.name %]) [% END %] [% node.time_first_stamp %] [% node.time_last_stamp %]
[% IF first_row %] [% port.mac %] [% ELSE %]   [% END %] [% IF first_row %] [% port.oui.company %] [% ELSE %]   [% END %] Switch Port [% port.ip %] - [% port.descr %] [% IF port.device.dns AND port.name %] ([% port.device.dns %] - [% port.name %]) [% END %] [% port.creation %] [% port.creation %]