So,
We were discussing a way of notifying us when a client computer name changes. We have several reasons this messes things up and even though we lock things down via MCX there is always something our users do to change their computer name.
I was looking at writing a script and putting it on the client machine locally. Then having launchd run a loop and compare computer names, if the name does not equal the original name it will install a dummy package and email a TIS employee. The problem with this method is, I am not sure how to 'cache' the original computer name in the script. Can I have the script pull the name from the Casper database?
Now, I was thinking, well I have this Casper Database of my inventory. So, is there a way to trigger a notice when the name changes in the Casper database? Then I started thinking this could be pretty useful in general. Could we flag other options for when certain things change in the database for us to get notification on them? My first thought is, a logic board replacement and the machine gets a new MAC address I kind of would like to be notified if it changes, then I could go in and delete the old MAC out of the database, or do whatever.
Thoughts?
Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351