[Casper] Jamf command line tool

Nicholas Amundsen nick at jamfsoftware.com
Wed Dec 12 11:09:43 PST 2007


Hey All,

An addendum to this -

If you are trying to append a certain event to the usage logs section,  
you can use the command:

"jamf log -action myEvent"

And this will show the event in the usage logs section of the JSS.

Nick Amundsen
JAMF Support
612-216-1296

On Dec 12, 2007, at 10:51 AM, Daniel Farnworth wrote:

> Thanks chaps, I'd got the wrong end of the stick and misread the  
> help. I'd
> read it that the command logged a message to one of the logs.
>
> D
>
> On 12/12/2007 16:47, "Ernst, Craig S." <ERNSTCS at uwec.edu> wrote:
>
>> And with that I'll be removing my policy for that to happen at  
>> startup as it
>> was something carried over from previous versions. =)
>>
>> Thanks, Nick.
>>
>> Craig
>>
>>
>> On 12/12/07 10:26 AM, "Nick Amundsen" <nick at jamfsoftware.com> wrote:
>>
>> Dan,
>>
>> The log command was useful in versions prior to 5.x for the  
>> scenario that
>> Craig describes below.  However, in 5.x, anytime a computer checks  
>> in for a
>> policy (startup, login, logout, and the default every15 trigger),  
>> the IP
>> address will automatically be updated.
>>
>> So in short, the log command is a legacy command that does not need  
>> to be run.
>> The fields that it updates are the IP record as well as the last  
>> contact time
>> entry for that machine, which can be found in the computer details  
>> view.
>>
>> Nick Amundsen
>> JAMF Support
>> 612-216-1296
>>
>>
>>
>>
>> On Dec 12, 2007, at 7:53 AM, "Ernst, Craig S." <ERNSTCS at uwec.edu>  
>> wrote:
>>
>> Hi Dan,
>>
>> Assuming version 5.x of a JSS:
>>
>> When you perform a log of a system it would update that information  
>> under the
>> details for that computer. So go to the website, do a search for  
>> that machine
>> then click the Details option for that computer. The IP is updated  
>> in the JSS
>> for that system and is under the General Information section.
>>
>> As far as what it logs as an action to the JSS to find in the Logs
>> section...no clue. All I ever use log for is updating the IP  
>> address of the
>> machine when it reboots so it can get managed properly in the JSS  
>> when I want
>> to perform something remote on a system. On systems that are  
>> laptops that
>> might bounce between AirPort and Wired without a reboot I have  
>> toyed with
>> making that run like every couple of hours. Log doesn't serve too  
>> much purpose
>> unless you need to ensure IP addresses are correct in the JSS for  
>> remote
>> tasks, since the clients pull from the server and always know where  
>> to find
>> it.
>>
>> Hope that helps and answers your question
>>
>> Craig Ernst
>> Systems Management & Configuration
>> ----------------------------------
>> University of Wisconsin-Eau Claire
>> Learning & Technology Services
>> 105 Garfield Ave
>> Eau Claire, WI 54701
>> Phone: (715) 836-3639
>> Fax: (715) 836-6001
>> ----------------------------------
>> ernstcs at uwec.edu <mailto:ernstcs at uwec.edu><mailto:ernstcs at uwec.edu>
>>
>>
>> On 12/12/07 9:34 AM, "Daniel Farnworth"
>> <daniel.farnworth at thecreativepartnership.co.uk> wrote:
>>
>> Hi all,
>>
>> The help text for the jamf command line tool lists
>> "log        Log the IP Address as well as an action to the JSS" as  
>> one of
>> it's functions, but when I use it I cannot find where my message  
>> has been
>> logged to in the JSS. Does anybody know what section I can find  
>> this under?
>>
>> Cheers
>> Dan
>> --
>> Daniel Farnworth
>> IT Manager
>> The Creative Partnership
>> daniel.farnworth at thecreativepartnership.co.uk
>> <mailto:daniel.farnworth at thecreativepartnership.co.uk><mailto:daniel.farnworth
>> @thecreativepartnership.co.uk>
>>
>> http://www.thecreativepartnership.co.uk
>> <http://www.thecreativepartnership.co.uk><http://www.thecreativepartnership.co
>> .uk>
>> Tel: +44 (0)20 7439 7762
>> Fax: +44 (0)20 7437 1467
>>
>> PGP Public Key available<BR>
>>
>>
>>
>>
>>
>> The information contained in this communication is intended solely  
>> for the use
>> of the individual or entity to whom it is addressed and others  
>> authorised to
>> receive it. It may contain confidential or legally privileged  
>> information. If
>> you are not the intended recipient you are hereby notified that any
>> disclosure, copying, distribution or taking any action in reliance  
>> on the
>> contents of this information is strictly prohibited and may be  
>> unlawful. If
>> you have received this communication in error, please notify
>> postmaster at thecreativepartnership.co.uk immediately and then delete  
>> this email
>> from your system. Any views or opinions presented in this email are  
>> solely
>> those of the author and do not necessarily represent those of The  
>> Creative
>> Partnership. The Creative Partnership has taken every reasonable  
>> precaution to
>> ensure that any attachment to this e-mail has been swept for  
>> viruses. However,
>> The Creative Partnership cannot accept liability for any damage  
>> sustained as a
>> result of software viruses and would advise that you carry out your  
>> own virus
>> checks before opening any attachment.
>>
>> _______________________________________________
>> Casper mailing list
>> Casper at list.jamfsoftware.com
>> <mailto:Casper at list.jamfsoftware.com><mailto:Casper at list.jamfsoftware.com 
>> >
>> http://list.jamfsoftware.com/mailman/listinfo/casper
>> <http://list.jamfsoftware.com/mailman/listinfo/casper><http://list.jamfsoftwar
>> e.com/mailman/listinfo/casper>
>>
>> <ATT00001>
>>
>> _______________________________________________
>> Casper mailing list
>> Casper at list.jamfsoftware.com
>> http://list.jamfsoftware.com/mailman/listinfo/casper
>
> --
> Daniel Farnworth
> IT Manager
> The Creative Partnership
> daniel.farnworth at thecreativepartnership.co.uk
>
> http://www.thecreativepartnership.co.uk
> Tel: +44 (0)20 7439 7762
> Fax: +44 (0)20 7437 1467
>
> PGP Public Key available<BR>
>
>
>
>
>
> The information contained in this communication is intended solely  
> for the use of the individual or entity to whom it is addressed and  
> others authorised to receive it. It may contain confidential or  
> legally privileged information. If you are not the intended  
> recipient you are hereby notified that any disclosure, copying,  
> distribution or taking any action in reliance on the contents of  
> this information is strictly prohibited and may be unlawful. If you  
> have received this communication in error, please notify postmaster at thecreativepartnership.co.uk 
>  immediately and then delete this email from your system. Any views  
> or opinions presented in this email are solely those of the author  
> and do not necessarily represent those of The Creative Partnership.  
> The Creative Partnership has taken every reasonable precaution to  
> ensure that any attachment to this e-mail has been swept for  
> viruses. However, The Creative Partnership cannot accept liability  
> for any damage sustained as a result of software viruses and would  
> advise that you carry out your own virus checks before opening any  
> attachment.
>
> _______________________________________________
> Casper mailing list
> Casper at list.jamfsoftware.com
> http://list.jamfsoftware.com/mailman/listinfo/casper

Nick Amundsen
Product Specialist
............................................................................
JAMF Software
1011 Washington Ave S. #350
Minneapolis, MN 55415
............................................................................
US Support  (612) 216-1296
UK Support  (020) 3002 3907

Minneapolis (612) 605-6625
............................................................................
http://www.jamfsoftware.com



More information about the Casper mailing list