Posted on 12-02-2010 07:28 AM
Hi All,
Is it possible using Casper that These are the MACs we’re trying to identify as to when they first appeared in Casper by date’s? As policy runes everyday for inventory update for all reporting clients, dates get changes with current one. for Last Time (Contact) & Last Report Time.
Is anyone noticed this activity.
Regards,Vinay Washimkar
Posted on 12-02-2010 07:34 AM
So you are asking if there is a way to determine the very first time a system talked to the JSS?
This has been a feature request of mine actually. Currently there is nothing built into the JSS that would do this for you unless you manually entered it into one of the fields for inventory somehow.
You could also do something with extended attributes to accomplish this. Create an attribute for Install Date and have a script that you run during imaging the very first time only, that returns the date and populates that field.
Otherwise I'm not sure what your asking for.
Craig E
Posted on 12-02-2010 07:40 AM
you could come up with the order of which they were entered by JSS ID. I know we forgot about this for a little bit after our jumpstart :)
But like Craig alluded to, if you can explain what your trying to do with this info or why you need it, perhaps we can suggest an alternative to "date added?"
ben janowski
Senior Macintosh Support Technician
Kohl's Mac Support Team
262.703.1396 | benjamin.janowski at kohls.com
Posted on 12-02-2010 07:56 AM
Couldn’t you get the creation date of one of the files that gets placed? (maybe /system/library/startupitems/jamf) I know I had to do an inventory item stating when McAfee got installed. Here’s what I did:
#!/bin/sh
McCreateDate=stat -f '%Sm' /Library/McAfee
if [ "$McCreateDate" == "" ]; then
echo "<result>McAfee Not Found</result>"
else
echo "<result>"$McCreateDate"</result>"
fi
Hope this helps,
Noah