Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Reporting

Clayton Burlison edited this page Oct 19, 2015 · 6 revisions

Imagr can send report information over HTTP via a POST request (for an example application to handle these reports, see imagr_server), as well as to a remote syslog server.

HTTP

To enable the reporting functionality, set the URL Imagr should send its data to in the configuration plist using the reporturl key.

Imagr will send the following data:

  • status: This will be one of the following: error, in_progress or success depending on the current phase of the Imagr run.
  • serial: The serial number of the machine running Imagr (note, if you are running Imagr on another machine to the target, for example via target disk mode, Imagr will report the serial number of the Mac running Imagr).
  • message: A descriptive message about the current task being performed.

Syslog

To enable reporting to a remote syslog server, set the SYSLOG key in the Makefile.

Imagr will send the following data:

  • serial: The serial number of the machine running Imagr (note, if you are running Imagr on another machine to the target, for example via target disk mode, Imagr will report the serial number of the Mac running Imagr).
  • message: A descriptive message about the current task being performed.