/LogUploader

LogUploader uploads required logs to JamfPro.

Primary LanguagePython

LogUploader uploads required logs to JamfPro.

Requirements:

MacAdmins Python https://github.com/macadmins/python

What does it do:

As well as finding the required log files, it will also collect the shutdown codes for the last 72hrs. These are then zipped and uploaded to JamfPro as an attachment to the device record.

How to Use:

  1. Upload the LogUploader.py script to your JamfPro.
  2. Create a policy to run the script and include the following information:
    • Parameter 4 - encoded Authentication for JamfPro.
    • Parameter 5 - Log locations separated by a comma (/private/var/log/install.log, /private/var/log/jamf.log)

We have the policy run via Self-Service.

To notify us when someone has run the LogUploader the policy has an additional script that sends us a slack notification.

Slack_Not

Nice to dos..

  • Make the shutdown codes "optional".
  • Add device url to slack notification.
  • Make Slack Notification avalible.