Posted on 02-04-2011 04:09 PM
Anyone know an example I can use to create an Extension Attribute for the Report Date field for PC's, yes PC's? My PC's use scheduled tasks to send inventory to the JSS and when they do, their Report Date field gets updated in the JSS inventory. I want to be able to search against that Report Date field so I can make sure my PC's are all doing their inventory submissions regularly.
I believe this task will involve Adding a new Extension Attribute with a Windows script that collects the data I want (ie The Report Date).
Thanks. Graham.
Posted on 02-04-2011 04:28 PM
I'm not sure what you need it for, but I've found sorting by report date very helpful on occasion. Make sure the Report Date column is visible in your results, then click on the header to sort.
Unless you need something that such a sort can't offer, you don't need an extension attribute for it.
Posted on 02-04-2011 04:40 PM
I don't have Windows systems in our JSS, but since they are not managed you can't do smart groups, but I think you could save an advanced search that would let you pick that field I believe. Every time you access that saved search it will get new results, and then you should be able to use the save as options at the bottom against those results for a more formal PDF report. Or just make sure you specify the necessary fields you want to see in the results list as your report document.
Let us know if that helps.
Craig E
Posted on 02-06-2011 02:12 PM
Hi graham,
Are you on casper v8? The reason I ask is that there's a bug/oversight in the v8 inventory that doesn't show the last recon date.
Jamf support can give you the correct xml file & advise how to install.
The reason I mention the above is that the last report date field is populated from the last time the jamf binary contacts the jss.
As pc's do not run the jamf binary they'll not show up on the last report date smart groups.
But if you get the correct xml, run recon at login on the pc's & create a smart group/saved search based on last recon date & they'll show.
It works for us.
Regards,
Ben Toms