3 ms·
Complicated? It's a 10 line shell script and a single configuration item in the nut config.
by fanatic2pope 1y ago
Complicated? It's a 10 line shell script and a single configuration item in the nut config.
- sugarpimpdorsey 1y ago> I also have it broadcast on mqtt so that in the future I can have a dedicated daemon that will collect stat mqtt? How many Docker containers do you have running to track UPS voltage? I keep forgetting SNMP is not "web scale" and only for greybeards on a minimum of 3+ prescription medications.
- fanatic2pope 1y agoLOL, docker for running mosquitto at home? Who does that?
- deleted 1y ago[deleted]
- Xevion 1y agoAre you recommending that I run mosquitto directly on my Unraid server rather than Docker? Just to re-iterate, Unraid is a proprietary Linux OS based on Slackware Linux. It is generally ill-advised to ever run tooling directly on Unraid when a Dockerized equivalent is available.
- NortySpock 1y agoI did. It was convenient. The official docker image includes all the tools you need. Overkill? Sure. It sips memory and compute, but when most everything else is in docker, what is wrong with one more container. I did a write-up here: https://github.com/NortySpock/selfhosted-show-wiki/blob/bca68f69be278b6d2e787154e31271c13c4eff20/docs/home-automation/MQTT%20Message%20Brokers/Mosquitto/index.md https://github.com/NortySpock/selfhosted-show-wiki/blob/bca6... (Eventually I did switch over to NATS emulating an MQTT endpoint so I could get a broker with Prometheus-scrapeable `/metrics` endpoint )
- Nextgrid 1y agoDocker is effectively just a packaging format on Linux - it's not a VM (unlike on Windows/Mac where running Docker involves running a hidden Linux VM on which containers are scheduled). So I don't see why you wouldn't use it if it makes things easier (like not having to worry about distro specifics, since there is generally one canonical Docker image for major pieces of software)?
- ghotli 1y agoThe way you wrote this and your previous comment above led me to believe your account is new. I checked it, 74 days at time of writing. I get the impression you haven't read the guidelines here. I like this place as it is generally civil discourse and have no qualms being the person that points you to the "In Comments" section of the guidelines. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html Be kind, rewind.