Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

MAC Address Not Populating #16

Open
emike09 opened this issue Apr 10, 2019 · 1 comment
Open

MAC Address Not Populating #16

emike09 opened this issue Apr 10, 2019 · 1 comment

Comments

@emike09
Copy link

emike09 commented Apr 10, 2019

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.

@hdrkhls
Copy link

hdrkhls commented Oct 29, 2019

@danielhogg hi daniel
i don't get mac address on my agent, that's bug ?

this list what i get from agent

  • - Asset name (currently machine hostname, unless agent is run in interactive mode)
  • - Asset id (Asset tag prefix + serial number)
  • - Location (from a config file or the Organizational Unit)
  • - Warranty (from config file)
  • - Status label (from config file)
  • - Mac address
  • - Make, model of the machine (as reported to Windows)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants