[Casper] Feature request Maybe

Thomas Larkin tlarki at kckps.org
Tue Jan 20 12:57:11 PST 2009


Due to our increasing number of drive failures in our laptops I too am
looking into what is causing it.  I do not know if the Seagate recall
affects laptop drives or not, but it is my most promising lead at the
moment. 

You could run a report that did this and it works for me so far 

system_profiler SPSerialATADataType -detaillevel mini 

Then you may want to input a variable of listed affected model numbers,
do an if then statement to see if the models match and then if they do,
to output that text to a log file or pipe out an email command so you
can inventory it. 

If you come up with anything please post it. 

Thanks, 



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





>>> "Dorey, Dustin" <Dustin.Dorey at district196.org> 01/20/09 12:26 PM >>>
Looks like I'm going to have to script this out, thanks for the input
folks.   I may have to use your idea on the battery cycles too as that
will be good info as well.

Thanks again.
-Dusty-


Dustin  Dorey
Technology Support Cluster Specialist
ISD 196 Apple Valley, Eagan, Rosemount
dustin.dorey at district196.org
952|423|7971



-----Original Message-----
From: casper-bounces at list.jamfsoftware.com
[mailto:casper-bounces at list.jamfsoftware.com] On Behalf Of Thomas Larkin
Sent: Tuesday, January 20, 2009 10:56 AM
To: Dorey, Dustin; Miles Leacy
Cc: Jamf List Serve
Subject: Re: [Casper] Feature request Maybe

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
>
>

_______________________________________________
Casper mailing list
Casper at list.jamfsoftwar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090120/f7d5560a/attachment.html 


More information about the Casper mailing list