All Projects → coreos → Mayday

coreos / Mayday

Licence: apache-2.0
A diagnostics tool for capturing system state.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Mayday

Windows-911
Curated list of FREE emergency resources when you find yourself in the inevitable pickle with Windows. PRs welcome!
Stars: ✭ 24 (-69.23%)
Mutual labels:  diagnostics, troubleshooting
Kn
A collection of shell functions for Kubernetes native dabbling
Stars: ✭ 49 (-37.18%)
Mutual labels:  troubleshooting
Terraform Lsp
Language Server Protocol for Terraform
Stars: ✭ 469 (+501.28%)
Mutual labels:  diagnostics
Tofu
Project for an open-source python library for synthetic diagnostics and tomography for Fusion devices
Stars: ✭ 35 (-55.13%)
Mutual labels:  diagnostics
Wtrace
Command line tracing tool for Windows, based on ETW.
Stars: ✭ 563 (+621.79%)
Mutual labels:  diagnostics
Bpf Map
Generic tool to inspect BPF maps
Stars: ✭ 38 (-51.28%)
Mutual labels:  troubleshooting
Tpt Oracle
Tanel Poder's Troubleshooting & Performance Tools for Oracle Databases
Stars: ✭ 429 (+450%)
Mutual labels:  troubleshooting
Diat
A CLI tool to help with diagnosing Node.js processes basing on inspector.
Stars: ✭ 67 (-14.1%)
Mutual labels:  diagnostics
Bugsnag Node
[DEPRECATED] Please upgrade to our Universal JS notifier "@bugsnag/js" • https://github.com/bugsnag/bugsnag-js
Stars: ✭ 48 (-38.46%)
Mutual labels:  diagnostics
Ansible Multicast Graph
Visualises the multicast trees for a single IPv4 group address using information scraped from NX-OS, EOS and IOS devices using ansible, ntc-ansible and TextFSM
Stars: ✭ 13 (-83.33%)
Mutual labels:  troubleshooting
Kubevious
Kubevious - application centric Kubernetes UI and continuous assurance provider
Stars: ✭ 869 (+1014.1%)
Mutual labels:  troubleshooting
Androbd
Android OBD diagnostics with any ELM327 adapter
Stars: ✭ 573 (+634.62%)
Mutual labels:  diagnostics
Cilium
eBPF-based Networking, Security, and Observability
Stars: ✭ 10,256 (+13048.72%)
Mutual labels:  troubleshooting
Gops
A tool to list and diagnose Go processes currently running on your system
Stars: ✭ 5,404 (+6828.21%)
Mutual labels:  diagnostics
Sip3 Ansible
Ansible scripts to install and configure SIP3
Stars: ✭ 64 (-17.95%)
Mutual labels:  troubleshooting
Codespan
Beautiful diagnostic reporting for text-based programming languages.
Stars: ✭ 445 (+470.51%)
Mutual labels:  diagnostics
Homer
HOMER - 100% Open-Source SIP / VoIP Packet Capture & Monitoring
Stars: ✭ 855 (+996.15%)
Mutual labels:  troubleshooting
Pulsesensorstarterproject
The Best Way to Get Started with your PulseSensor and Arduino
Stars: ✭ 38 (-51.28%)
Mutual labels:  troubleshooting
Script Reset Windows Update Tool
This script reset the Windows Update Components.
Stars: ✭ 68 (-12.82%)
Mutual labels:  troubleshooting
Poke
A powerful reflection module for powershell.
Stars: ✭ 66 (-15.38%)
Mutual labels:  diagnostics

mayday Build Status

...man overboard!



     ___ ___   ____  __ __  ___     ____  __ __
    |   |   | /    ||  |  ||   \   /    ||  |  |
    | _   _ ||  o  ||  |  ||    \ |  o  ||  |  |
    |  \_/  ||     ||  ~  ||  D  ||     ||  ~  |
    |   |   ||  _  ||___, ||     ||  _  ||___, |
    |   |   ||  |  ||     ||     ||  |  ||     |
    |___|___||__|__||____/ |_____||__|__||____/




~~~~~~~~~~~~~~~~~~~~~~~~~\o/~~~~~~~~~~~~~~~~~~~~~~~~

                                   ><>
               <><  

overview

Mayday is a tool to simplify gathering support information. It is built in the spirit of sysreport, son of sysreport (sosreport), and similar support tools.
Mayday gathers information about the configuration, hardware, and running state of a system.

goals

The goals of mayday are:

  • simplify gathering information about a running system into a single command
  • collect information into one single file to be transferred to support staff
  • when possible the file should be small enough to be sent via email (<10MB)
  • not collect sensitive information like crypto keys, password hashes, etc
  • extensible through plugin system

usage

In it's most simplistic form, all a user needs to do is run mayday:

$ mayday

This will collect a basic set of data and emit it in a tar archive for transmission to a systems administrator, site reliability engineer, or support technician for further troubleshooting.

In addition, more data can be collected by running as the superuser:

$ sudo mayday

Even more data can be collected by adding the --danger flag:

$ sudo mayday --danger

what's collected

By default, mayday operates in a "safe" mode. No sensitive information is collected -- only information that support might need. This includes things like:

  • network connections, firewall rules, and hostname
  • information about currently running processes, including open files and ports
  • log files from systemd services
  • filesystem and memory usage information
  • information about docker and rkt containers, including network and state but NOT logs

The following is collected only if the --danger flag is activated:

  • logs and environment variables of docker and rkt containers

The following information is never collected:

  • private keys
  • passwords

integration

about

Mayday can be integrated into other projects by defining a default configuration file at either the location /etc/mayday/default.json or /usr/share/mayday/default.json. Through the use of viper YAML and TOML are now supported as well, though CoreOS will continue to use JSON as the mechanism of choice. If multiple products are to be supported specialized configurations can be provided as "profiles" located in the above directories (e.g. /etc/mayday/quay.json) and the referenced via:

$ mayday -p quay

configuration syntax

The configuration file is comprised of objects (As of 1.0.0 valid objects are "files" and "commands"). A example of the syntax can be seen in the file default.json. Each top level object contains an array of the relevant items to collect. Optionally items can be annotated with a "link" which will provide an easy to locate pointer for commonly accessed data.

collection

Files are directly retrieved. Commands are executed and the results of standard output (stdout) are collected. Assets are placed into a Go "tarable" interface and then gzipped and serialized out to a file on disk.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].