Gecko#

Gecko captures the state of an instrument machine at the moment something goes wrong, so engineers can diagnose the problem later without asking the operator to dig up files in the middle of the night.

One command records system information, copies the logs and summarizes their recent errors and warnings, screenshots every X11 display, grabs the newest science images, and packages it all into a single bundle that can be emailed to the team.

gecko -init
gecko -u "your.name" -m "Slicecam frames all zeros since 02:10 UT"
Install

Get Gecko onto a Linux instrument machine, including the optional screenshot and email tools.

Installation
Operator guide

File a report when something breaks, and write a message engineers can use.

Operator guide
Configuration

Every setting: log and science folders, report output, timestamps, and email.

Configuration
What’s in a report

The report folder, the .tar.gz bundle, and each section of the text report.

What’s in a report
Troubleshooting

Error messages, missing screenshots, and errors that don’t show up in the summary.

Troubleshooting
Command line

All gecko options, exit codes, and environment variables.

Command-line reference

Where to go next#

If you’re an operator, the operator guide is the only page you need. If you’re setting Gecko up on a machine, start with installation and then configuration. If you’re upgrading a checkout from before 0.2, read the upgrade notes before you pull.