<HTML>
<HEAD>
<TITLE>Re: [Casper] Verify Startup Disk and Options for Alerting Users</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Ben,<BR>
<BR>
No there aren’t more options in the new version to add a message at the beginning of a policy action, but I can see how this would very useful. I have the same problems with not being able to specify some really basic command line commands to run at the start of a policy, and not just the end. In general I think the policy engine lacks enough control of the order and number of events. I have an idea of how I’d do it that I’ll put in JAMF’s email box this week.<BR>
<BR>
You did it the only way possible right now, and removed it of course because of the limitations.<BR>
<BR>
There are no published options in 6.01 to NOT have an OK button, or an OK button that isn’t the default button for an Enter key press (unless that did change and I missed it)<BR>
<BR>
As far as the Tiger startup disk, perhaps no news is good news? =) I’m not sure, I can try to check on this on my end to help.<BR>
<BR>
Craig E<BR>
<BR>
On 10/5/08 10:28 PM, "Ben Greiner" <<a href="forgetcomputers@mac.com">forgetcomputers@mac.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Does anyone know if version 6.01 added any options for displaying<BR>
messages using the jamf displayMessage command before running a policy?<BR>
<BR>
I'd like the ability to force a dialog box to the front of the screen<BR>
and not go away until the policy is complete (no "OK" button).<BR>
<BR>
We want to "Verify Startup Disk" on all our managed Macs once a month.<BR>
Of course when this runs it feels like the Mac is stalling so we want<BR>
to warn users to relax for 5 minutes AND let them know when the<BR>
verification is complete. Has anyone created a policy to do this? It<BR>
sounds simple but I've run into two problems...<BR>
<BR>
1) I can't get two messages (before and after) to appear. Only one at<BR>
a time seems to work.<BR>
2) I can't verify that "Verify Startup Disk" is actually working on<BR>
Tiger Macs. The log files shows it working in Leopard, but no<BR>
information is displayed in Tiger. See details below.<BR>
<BR>
POLICY IN QUESTION<BR>
This policy is set to Once Every Month<BR>
This policy is triggered by everyHour<BR>
This policy is assigned to 4 computers<BR>
<I did have a script here that would display a message to the user,<BR>
but if the message was displayed then the Reboot Options message (see<BR>
below) would NOT appear so I removed it.><BR>
Run Script Script-MonthlyMaint.sh<BR>
Verify Startup Disk<BR>
Display message 'Your disk has been verified. If any problems were<BR>
found you will be contacted.' to end user.<BR>
Reboot immediately if nobody is logged in<BR>
If rebooting, display message 'Your disk has been verified. If any<BR>
problems were found you will be contacted.' to end user.<BR>
<BR>
<BR>
TIGER LOG RESULTS<BR>
/usr/sbin/jamf is version 6.01<BR>
Executing Policy Maintenance - Monthly...<BR>
Mounting <a href="afp://myserver/CasperShare">afp://myserver/CasperShare</a> to /Volumes/CasperShare 1...<BR>
Running Script Script-MonthlyMaint.sh...<BR>
Verifying Disk mounted at '/' <NO RESULTS SHOW!?><BR>
Unmounting file server...<BR>
Displaying message to end user...<BR>
<BR>
<BR>
LEOPARD LOG RESULTS<BR>
/usr/sbin/jamf is version 6.01<BR>
Executing Policy Maintenance - Monthly...<BR>
Mounting <a href="afp://myserver/CasperShare">afp://myserver/CasperShare</a> to /Volumes/CasperShare...<BR>
Running Script Script-MonthlyMaint.sh...<BR>
Verifying Disk mounted at '/'<BR>
Result of disk verification:<BR>
Started verify/repair volume (filesystem) on disk disk0s3 Macintosh HD<BR>
<BR>
Performing live verification<BR>
Checking Journaled HFS Plus volume<BR>
Checking Extents Overflow file<BR>
Checking Catalog file<BR>
Checking multi-linked files<BR>
Checking Catalog hierarchy<BR>
Checking Extended Attributes file<BR>
Checking volume bitmap<BR>
Checking volume information<BR>
The volume Macintosh HD appears to be OK<BR>
<BR>
Finished verify/repair volume (filesystem) on disk disk0s3 Macintosh HD<BR>
Unmounting file server...<BR>
Displaying message to end user...<BR>
<BR>
Thanks,<BR>
<BR>
Ben Greiner<BR>
Forget Computers<BR>
312 602.5345<BR>
<a href="ben@forgetcomputers.com">ben@forgetcomputers.com</a><BR>
_______________________________________________<BR>
Casper mailing list<BR>
<a href="Casper@list.jamfsoftware.com">Casper@list.jamfsoftware.com</a><BR>
<a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>