[Casper] Feature request Maybe

Thomas Larkin tlarki at kckps.org
Tue Jan 20 08:55:32 PST 2009


Yup, 

Just see the system_profile binary in terminal.  There are many data
types and that is how casper inventories machines.  You can use grep or
sed to get specific information and have it run as a policy or over ARD
Admin and run custom reports.

I did a custom report for battery information on laptops last year for
someone.  Can't remember what exactly I used syntax wise but it
basically pulled out how many power cycles the battery has had and its
current charge along with the computer name and serial number and then
dumped them into a spread sheet.

There is no way from the GUI to do this to my knowledge, so you may
have to get down and dirty with the command line. 
 

___________________________
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry:  913-449-7589
office:  913-627-0351





>>> Miles Leacy <miles.leacy at themacadmin.com> 01/20/09 9:00 AM >>> 
This would be a perfect problem to solve with scripts and dummy
receipts.
Capture the output of:

system_profiler SPSerialATADataType

grep for the model number.  If found, issue a custom trigger to install
the
dummy receipt.  If not found, delete the dummy receipt.

Scope your smart group of "machines with suspect Seagate drives" to
those
with this receipt.

----------
Miles A. Leacy IV

 Certified System Administrator 10.4
 Certified Technical Coordinator 10.5
 Certified Trainer
Certified Casper Administrator
----------
voice: 1-347-277-7321
miles.leacy at themacadmin.com
www.themacadmin.com




2009/1/20 Dorey, Dustin <Dustin.Dorey at district196.org>

>  Hello there,
>
> I was wondering if anyone knew of a good way to grab down information
that
> would normally be found in the System Profiler.
>
> For example, with the growing list of possible bad hard drives from
Seagate
> and other companies I'd love to be able to create a smartlist built
around
> what machines have drives with certain model numbers.
>
> Does this sound crazy?   Or is there already a good way to do this
that I'm
> over looking?
>
>
>
> Have a good one.
>
> -Dusty-
>
>
>
> *Dustin  Dorey*
>
> *Technology Support Cluster Specialist*
>
> *ISD 196 Apple Valley, Eagan, Rosemount*
>
> *dustin.dorey at district196.org*
>
> *952|423|7971*
>
>
>
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper
>
>



More information about the Casper mailing list