marksman
marksman copied to clipboard
MAC Address Not Populating
When using either the MSI, or compiling from source, the MAC address on our Dell, Lenovo, and HP laptops are not being populated during new asset creation. While looking at the code, I noticed line 129: customFields.Add("_snipeit_macaddress_1", macAddress); Is this trying to create a custom field instead of using the build in Asset with MAC Address?
Steps to recreate: Install Marksman 1.01 MSI Modify config file to connect to Snipe-IT Run marksman.exe. Verify new entry in Snipe-IT, without a MAC Address
I'm running the agent on a Latitude 7480 as my test machine.
@danielhogg hi daniel i don't get mac address on my agent, that's bug ?
this list what i get from agent
- [x] - Asset name (currently machine hostname, unless agent is run in interactive mode)
- [x] - Asset id (Asset tag prefix + serial number)
- [x] - Location (from a config file or the Organizational Unit)
- [x] - Warranty (from config file)
- [x] - Status label (from config file)
- [ ] - Mac address
- [x] - Make, model of the machine (as reported to Windows)