keychain
mtail
Our great sponsors
keychain | mtail | |
---|---|---|
3 | 23 | |
727 | 3,740 | |
1.4% | 0.9% | |
0.0 | 8.7 | |
about 2 years ago | 11 days ago | |
Shell | Go | |
GNU General Public License v3.0 only | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
keychain
-
Am I the only one who's nervous when SSH-agent forwarding?
(*) https://github.com/funtoo/keychain. Not updated since 2018 but does the trick very well.
-
The struggle with SSH key management under Linux
Jon Cairns wrote a similar article about this problem and presented a solution: A script that tries to find and reuse existing ssh-agents. There are multiple scripts with similar approaches all written in bash: ssh_find_agent, zsh-ssh-agent, and the most popular one: keychain. (And later I also discovered envoy). But being bash scripts, they are hard to read, not really fast, and make debugging a hell. I had used keychain successfully until I encountered a problem that I wasn't able to understand. Also, those tools depend heavily on ssh-agent and ssh-add instead of using the socket directly.
-
Help Managing many linux servers
For ssh keys, that's what ssh-agent and keychain are for.
mtail
-
i need to visualize all logs from remote dir
You can do that with something like mtail. Basically write expressions that match your logs and produce metrics.
-
Tool to scrape (semi)-structured log files (e.g. log4j)
mtail is a standard tool for this.
-
Free netflow collector that forwards messages to a syslog server?
I use goflow2 to do something like this. I don't specifically use syslog itself for this, but mtail to generate the metrics.
-
How to easily gather IPv6 VS IPv4 usage on a web server?
I can recommend mtail. Here is a good example nginx script.
-
Nginx upstream_response_time average per API route?
If not, https://github.com/google/mtail might be a good option.
-
Sorting a custom metric by multiple labels
Count the lines with mtail. You can regexp match the values out into labels.
-
Alternatives to ELK (filebeat, logstash, kibana, elasticsearch)
If you want to extract whitebox metrics from logs, maybe all you need is mtail.
-
Prometheus Custom Query/Metric based on STDOUT
You can use mtail (https://github.com/google/mtail) for this. You'll need to figure out how to plug it into your setup, but mtail will do the metrics from logs thing.
-
open-source tools to monitor JSON logs for unexpected patterns?
Convert your logs to metrics with mtail.
-
Server metrics monitoring and reporting for centos?
For nginx, you'll need to setup a log parser like mtail because it doesn't really have much for metrics to begin with.
What are some alternatives?
zsh-ssh-agent - Ssh-agent management for zsh
loki - Like Prometheus, but for logs.
ssh-find-agent - Tool to find already running ssh-agent compatible agents
prometheus-cpp - Prometheus Client Library for Modern C++
yubikey-agent - yubikey-agent is a seamless ssh-agent for YubiKeys.
Sloth - Mac app that shows all open files, directories, sockets, pipes and devices in use by all running processes. Nice GUI for lsof.
envoy - A ssh/gpg-agent wrapper leveraging cgroups and systemd/socket activation
sloth - 🦥 Easy and simple Prometheus SLO (service level objectives) generator
scriggo - The world’s most powerful template engine and Go embeddable interpreter
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
node_exporter - Exporter for machine metrics