#872 separate column for NetBIOS name in IP Inventory

This commit is contained in:
Oliver Gorwits
2022-07-27 22:48:36 +01:00
parent 48b7447537
commit ec4cf74cea
4 changed files with 45 additions and 25 deletions

View File

@@ -1,5 +1,5 @@
[% USE CSV %]
[% CSV.dump([ 'Node' 'MAC Address' 'Vendor' 'DNS' 'Last Used' ]) %]
[% CSV.dump([ 'Node' 'MAC Address' 'Vendor' 'DNS' 'NetBIOS' 'Last Used' ]) %]
[% FOREACH row IN results %]
[% mylist = [] %]
@@ -7,6 +7,7 @@
[% mylist.push(row.mac) %]
[% mylist.push(row.vendor) %]
[% mylist.push(row.dns) %]
[% mylist.push(row.nbname) %]
[% mylist.push(row.time_last) %]
[% CSV.dump(mylist) %]