Skip to content

Commit 758d494

Browse files
Readme
1 parent e6649c8 commit 758d494

File tree

1 file changed

+26
-77
lines changed

1 file changed

+26
-77
lines changed

README.md

+26-77
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,23 @@
1010
[![Docker build and push](https://github.com/ArthurMitchell42/nutcase/actions/workflows/docker-buildpush.yml/badge.svg)](https://github.com/ArthurMitchell42/nutcase/actions/workflows/docker-buildpush.yml)
1111

1212
> [!TIP]
13-
> ### News: [V0.3.0](https://github.com/ArthurMitchell42/nutcase/discussions/30) is released today. - 3/2/2024
13+
> ### News: [V0.3.3](https://github.com/ArthurMitchell42/nutcase/releases) is released today. - 7/3/2024
1414
15-
<h2 id="introduction">A Network UPS Tools (NUT) and APC daemon exporter to pass data to Prometheus and any JSON compatible applications</h2>
16-
<h3 id="key-features">Key features</h3>
15+
## A **Network UPS Tools (NUT)** and **APC daemon** exporter working with Prometheus and any JSON compatible application and GUI
1716

18-
* A drop-in replacement for other Prometheus scrapers such as HON95/prometheus-nut-exporter.
19-
* A graphic interface showing key data over time with diagnostic information. <a href="https://github.com/ArthurMitchell42/nutcase/discussions/19"><img src="https://img.shields.io/badge/New_in_V0.3.0-8A2BE2"></a>
20-
* Supports pulling data from NUT and APC servers and formatting the UPS status for the [Prometheus](https://prometheus.io/) logging system
21-
* Supports formatting the UPS status as JSON for use with the beautiful [HomePage](https://gethomepage.dev/) app.
22-
* The JSON output can be used with [Uptime Kuma](https://github.com/louislam/uptime-kuma) and other reporting, alarming and monitoring apps.
23-
* Provides diagnostic information and usage information.
17+
### Key features
18+
* Acts as a **drop in replacement** for other NUT scrapers such as HON95 prometheus nut exporter
19+
* A [graphic interface](https://github.com/ArthurMitchell42/nutcase/wiki/The-GUI) showing key data over time with diagnostic information. <a href="https://github.com/ArthurMitchell42/nutcase/wiki/The-GUI"><img src="https://img.shields.io/badge/New_in_V0.3.0-8A2BE2"></a>
20+
* Supports pulling data from NUT and APC servers, formatting the UPS metrics for the [Prometheus](https://prometheus.io/) logging system
21+
* Supports formatting the UPS data as JSON for use with the beautiful [HomePage](https://gethomepage.dev/) app.
22+
* The JSON output can be used with [Uptime Kuma](https://github.com/louislam/uptime-kuma) and other reporting, alerting and monitoring apps.
23+
* Provides diagnostic and usage information.
2424
* Supports APC apcupsd servers for graphic display **and** metric scraping - **Use one Prometheus and Grafana dashboard for all servers.**
25-
* Supports filtering of JSON elements to support simple monitoring apps. See [Filtering the JSON](https://github.com/ArthurMitchell42/nutcase/wiki/Using-the-JSON-returned-by-NUTCase#filtering-the-json-) <a href="https://github.com/ArthurMitchell42/nutcase/discussions/19"><img src="https://img.shields.io/badge/New_in_V0.3.0-8A2BE2"></a>
25+
* Supports filtering of JSON elements to support simple monitoring apps. See [Filtering the JSON](https://github.com/ArthurMitchell42/nutcase/wiki/Using-the-JSON-returned-by-NUTCase#filtering-the-json-) <a href="https://github.com/ArthurMitchell42/nutcase/wiki/Using-the-JSON-returned-by-NUTCase#filtering-the-json-"><img src="https://img.shields.io/badge/New_in_V0.3.0-8A2BE2"></a>
2626

2727
![image](https://github.com/ArthurMitchell42/nutcase/assets/82239494/6fbfa4d8-7cbc-4882-9e8e-ac3907e70d9a)
2828

29-
### How It Works
29+
### What it does for you
3030

3131
![Structure](https://github.com/ArthurMitchell42/nutcase/blob/6e7b52aa5cd89663476fa5558ab05a15233967aa/resources/structure_v2.png)
3232

@@ -149,79 +149,28 @@ Currently supports 'AMD64', 'ARM64 (ARM64V8)' (suitable for running on docker un
149149

150150
[Contents](#contents)
151151

152-
<h3 id="preparation">Preparation and Application Setup</h3>
153-
<p>
154-
<h4 id="preparation-system">Your UPS system</h3>
155-
Your UPS system should be set up and working.
156-
<ol>
157-
<li>Your UPS should be connected to the machine you intend to have as the NUT server.</li>
158-
<li>The NUT server software should be installed and the UPS should be configured correctly.</li>
159-
</ol>
160-
<p>You can verify if this is correctly setup by using:</p>
161-
162-
<code> telnet server-ip server-port</code><br>
163-
164-
and typing <code>VER</code> at the command line followed by <code>LIST UPS</code>. If the server is correctly configured you should get the version information of the server followed by a list of UPS's served by the machine. The result should that look something like this:<br>
165-
```
166-
VER
167-
DSM7-1-1-42930-workplus-version2-repack-42930-220712
168-
LIST UPS
169-
BEGIN LIST UPS
170-
UPS ups "Description unavailable"
171-
END LIST UPS
172-
```
173-
This example output is from a Synology DSM 7.1 NAS. The name `ups` is not configurable and neither is the decsription [^1]
174-
175-
See [Diagnosing Connection Issues](https://github.com/ArthurMitchell42/nutcase/wiki/Diagnosing-Connection-Issues) to set up an diagnose connection issues.
176-
177-
> [^1]: <i>without SSH'ing into the system and editing config files.</i>
178-
179-
> [!IMPORTANT]
180-
> Your NUT server must be functioning before trying to run NUTCase or you will only recieve errors.
181-
182-
<h4 id="preparation-docker">The NUTCase docker container</h3>
183-
To setup the NUTCase docker container:
184-
<ol start="3">
185-
<li>Create the logging directory on the mapped docker share directory.</li>
186-
<li>Add the container to your system and start.</li>
187-
</ol>
188-
</p>
189-
190-
[Contents](#contents)
191-
192-
<h3 id="nutcase-useage">NUTCase Usage</h3>
193-
194-
For details on useage please see [Running the NUTCase container](https://github.com/ArthurMitchell42/nutcase/wiki/Running-the-NUTCase-container).
195-
196-
[Contents](#contents)
197-
198-
<h3 id="parameters">Parameters</h3>
199-
<p>
200-
The parameters available are documented in [Running the NUTCase container](https://github.com/ArthurMitchell42/nutcase/wiki/Running-the-NUTCase-container)
201-
202-
[Contents](#contents)
203-
204-
<h3 id="endpoints">End-points to Access NUTCase</h3>
205-
206-
Please see [Accessing and Using NUTCase](https://github.com/ArthurMitchell42/nutcase/wiki/Accessing-and-Using-NUTCase)
207-
208-
[Contents](#contents)
209-
210-
<h3 id="using-nutcase">Using NUTCase</h3>
211-
<h4 id="using-nutcase-prometheus">Prometeus & Grafana</h4>
212-
213-
See [Using with Prometheus and Grafana](https://github.com/ArthurMitchell42/nutcase/wiki/Using-with-Prometheus-and-Grafana)
214-
215-
<h4 id="using-nutcase-homepage">HomePage</h4>
152+
Getting started
153+
* [Instalation](https://github.com/ArthurMitchell42/nutcase/wiki/Running-the-NUTCase-container)
154+
* [Accessing Nutcase](https://github.com/ArthurMitchell42/nutcase/wiki/Accessing-and-Using-NUTCase)
155+
* [Configuring NUTCase](https://github.com/ArthurMitchell42/nutcase/wiki/The-Configuration-File)
216156

217-
To configure HomePage to display information from NUTCase see [Customising the Data Displayed on the HomePage App](https://github.com/ArthurMitchell42/nutcase/wiki/Customising-the-Data-Displayed-on-the-HomePage-App)
157+
Using NUTCase
158+
* [Working with the GUI](https://github.com/ArthurMitchell42/nutcase/wiki/The-GUI)
159+
* [Working with HomePage](https://github.com/ArthurMitchell42/nutcase/wiki/Customising-the-data-displayed-on-the-HomePage-app)
160+
* [Working with other JSON consumers](https://github.com/ArthurMitchell42/nutcase/wiki/Using-the-JSON-returned-by-NUTCase)
161+
* [Interfacing to Prometheus & Grafana](https://github.com/ArthurMitchell42/nutcase/wiki/Using-with-Prometheus-and-Grafana)
218162

163+
Advanced useage
164+
* [Customising data for HomePage and UptimeKuma](https://github.com/ArthurMitchell42/nutcase/wiki/Customising-the-Data-Displayed-on-the-HomePage-App)
165+
* [With APC devices](https://github.com/ArthurMitchell42/nutcase/wiki/NUTCase-and-APC's-apcupsd)
166+
* [Custom variables](https://github.com/ArthurMitchell42/nutcase/wiki/Reworking-variables-using-the-configuration-file)
167+
* [WebHooks](https://github.com/ArthurMitchell42/nutcase/wiki/WebHooks)
219168

220169
[Contents](#contents)
221170

222171
<h3 id="credits">Credits</h3>
223172
<p>
224-
Credit goes to the HON95 container upon which this is heavily based on.
173+
Credit goes to the HON95 container which gave inspiration to the metrics function.
225174
</p>
226175

227176
[Contents](#contents)

0 commit comments

Comments
 (0)