nut
loki
Our great sponsors
nut | loki | |
---|---|---|
192 | 80 | |
1,571 | 22,213 | |
8.6% | 4.0% | |
9.9 | 9.9 | |
4 days ago | 4 days ago | |
C | Go | |
GNU General Public License v3.0 or later | GNU Affero General Public License v3.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.
nut
-
Tell HN: Laptop Runs Without Battery
> what software do you recommend for gnu/linux to take input from the UPS to tell the laptop to shutdown?
https://networkupstools.org/
- Network Ups Tools
-
UPS - USB not recognized
The Synology software is based on N.U.T. https://networkupstools.org and the Plus 1100 (listed on NUT as the Easy Power 1200) is supported in the native package with the 'blazer' driver. If you have the skills, I would SSH into the NAS and see if the device is 'noticed' or better yet recognised by the USB sub-system when you plug it it. (Normal Linux would use the lsusb command to see devices but I have no NAS handy to see if this is valid on the Synology)
- I have to Restart my UDM SE every 2 days 😞
- Choosing the Best UPS : Comparing APC Back-UPS Pro 1500 vs. APC Smart-UPS
-
What UPS are you using?
Others have answered the hardware part of your question. I have not seen much mention about the software to control graceful shutdowns. For this I suggest you look at the ”Network UPS Tool” (NUT for short) project (https://networkupstools.org/). It is mostly manufacturer agnostic with clients for a vast array of hardware components.
-
Power outage automation
You're looking for NUT.
-
APC Smart Connect
Network UPS Tools is one option: https://networkupstools.org/
-
PSA: APC has updated it's terms for the PowerChute management software. It now requires a licence
APC is giving me pre-nut clarity.
-
Cyberpower UPS issue
So no, the NAS does not monitor the battery level. The UPS does that. The NAS just acts on the messages it receives from the UPS via Synology's version of NUT - Network UPS Tools (https://networkupstools.org/). The NAS will first receive the ON_BATTERY/POWERFAIL signal. Then, eventually the BATTERY_LOW signal at which time the UPS will shutdown. So you really need to set a time for it to shut down *BEFORE* you get BATTERY_LOW.
loki
- Loki 3.0 Released
-
List of your reverse proxied services
I also needed to make a small patch to Promtail to make this work: https://github.com/grafana/loki/pull/10256
-
About reading logs
We don't pull logs, we forward logs to a centralized logging service.
-
loki VS openobserve - a user suggested alternative
2 projects | 30 Aug 2023
-
Logs monitoring with Loki, Node.js and Fastify.js
Over the past few months, I've been spending a lot of time creating dashboards on Grafana using Loki for MyUnisoft (the company I work for).
-
OpenObserve: Open source Elasticsearch alternative in Rust for logs. 140x lower storage cost
For log systems you generally don't migrate data. Logs lose value over time. What you want to do is to go ahead and start ingesting data into the new system (OpenObserve in this case) and slowly, the data in the old system will become stale and then you can retire it. However if you need to export logs anyhow, there is no straightforward way in loki to do this. You could run a script to query loki and export it to a file. If found this thread with a sample script - https://github.com/grafana/loki/issues/409
-
Config files of snaps?
That snap is woefully out of date. The upstream repo was recently updated to 2.8.2, but the snap stable channel has 2.4.1 from 18 months ago. https://github.com/grafana/loki/releases/tag/v2.8.2
-
i need to visualize all logs from remote dir
Loki
- Loki Helm charts that use DynamoDB
-
I can't recommend serious use of an all-in-one local Grafana Loki setup
I installed promtail a few weeks back and I ran into this bug, that has been outstanding for months: https://github.com/grafana/loki/issues/8663 (e.g. a fix had been written but had not been released):
Due to a buffering issue, Loki would exit in case of configuration error without printing any error message or anything at all
There is definitely something weird about how the project is run.
What are some alternatives?
prtg-ups-monitor - Network monitoring via PRTG for non-networked UPS battery backups.
ClickHouse - ClickHouse® is a free analytics DBMS for big data
MagicMirror - MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
fluent-bit - Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
webNUT - Web interface for Network UPS Tools servers.
Zabbix - Real-time monitoring of IT components and services, such as networks, servers, VMs, applications and the cloud.
snmp_exporter - SNMP Exporter for Prometheus
VictoriaMetrics - VictoriaMetrics: fast, cost-effective monitoring solution and time series database
Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.
ElastiFlow - Network flow analytics (Netflow, sFlow and IPFIX) with the Elastic Stack
webNUT - Web interface for Network UPS Tools servers.
loki-multi-tenant-proxy - Grafana Loki multi-tenant Proxy. Needed to deploy Grafana Loki in a multi-tenant way