Hello,
I have been using this guide and several others for reference on how to successfully scan macs into inventory: https://community.spiceworks.com/how_to/1190-scanning-macs-with-spiceworks . I would like to inventory them for Asset management / asset tagging purposes until we retire them.
I was able to get an older Mac mini to work in our system (For testing) , but I am still having issues getting other Macs to scan into Spiceworks. It appears that when I put in the SSH Credentials it accepts them and does a rescan on the machines, but it doesn’t update the record for them in inventory.
I think I was able to get the mac-mini to scan in because we forced it to take a new DHCP address, because a phone and the mac where both inventoried in SpiceWorks as the same IP Address (Not sure if that actually caused the problem, but it seemed to make a difference.)
Just figured I would reach out to see if anyone has any suggestions.
Thanks!
2 Spice ups
Rod-IT
(Rod-IT)
2
Can you SSH to a MAC using the same details as provided to SW?
What OSX version?
Yes I can SSH to this machine with the same credentials I use when connecting to them in SW
The versions range from Lion to El Capitan. It appears that it accepts the credentials and does a rescan, but when the rescan is over it can’t identify the device.
Rod-IT
(Rod-IT)
4
Go to settings, inventory, device scanning, scroll down and show settings. Confirm that Scan Linux software Is enabled
I just checked and it is enabled
Rod-IT
(Rod-IT)
6
If you add a device in the scan settings manually and scan it, does it do anything more?
I have added both of the machines and it still doesn’t seem to be picking them up. It’s odd because, when I check the account I use for both of their SSH’s, It seems like they were approved but for whatever reason they fail when they are scanned.
Rod-IT
(Rod-IT)
8
Then this maybe a DNS issue, if SW sees the devices but is failing to scan, is it possible the devices IP was previously something else?
If this sounds true it could be when you ping Macmachinename you get an IP returned (1.2.3.4) but when you ping -a 1.2.3.4 you get pc1frontdesk
Spiceworks cannot then tell which is correct so aborts.
Please confirm your forward and reverse DNS is good on all DNS servers, if not enabled, enable scavenging.