You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Monika* is a Java-implemented RESTful Web Service serving as an agent for Uptime Kuma to read the local disk's free space.
4
-
5
-
6
-
## Use
7
-
8
-
* Disk Free: `/monika/status` responds status `100` on hardware failures, status `901` if volume has less than 20% free, status `2XX` in all other cases (where `XX` is the lowest free value in %). The status text contains the smallest free percentage of all monitored volumes. Example: `260 Smallest free volume is 60 %.`
9
-
* Health Check: `/monika/health` responds status 204 always.
3
+
*Cindy* is a Java-implemented RESTful Web Service for collecting events in [iCalender](https://www.rfc-editor.org/rfc/rfc5545.txt) format and publishing them on a Mastodon instance.
10
4
11
5
12
6
## Administrate
13
7
14
-
*`docker logs monika` - Contains one entry for each monitored path per `/status` request, like:
15
-
```
16
-
/home is 60 % free
17
-
/var is 75 % free
18
-
```
8
+
*`docker logs cindy` - Contains (at least) one entry for each processed event.
19
9
20
10
21
11
## Deploy
22
12
23
-
*`docker run --name monika -d -e MONITORED_PATHS=/home:/var -e IP_PORT=8123 -P ghcr.io/ijug-ev/monika`: Monika will listen to requests on port 8123 and monitor paths `/home` and `/var`.
24
-
-`MONITORED_PATH`: Monika will monitor each path in this list. The default is `/`, i. e. only the root file system is monitored.
25
-
-`IP_PORT`: Monika will listen to this IP port. The default is `8080`.
13
+
*`docker run --name cindy -d -e CINDY_IP_PORT=7231 -e ... -P ghcr.io/ijug-ev/cindy`: Cindy will listen to requests on port 7231.
14
+
-`CINDY_IP_PORT`: Cindy will listen to this IP port. The default is `8080`.
15
+
-`CINDY_MASTODON_HOST`: Cindy will publish events on this Mastodon host. There is no default.
16
+
-`CINDY_MASTODON_ACCESS_TOKEN`: Cindy uses this access token to log in to the Mastodon host. There is no default.
17
+
-`CINDY_LAST_RUN_FILE`: Cindy rembembers the instant when it last pulled calenders, so it understands which calender events are new/modified, and which are old. The default is `lastRun`
18
+
-`CINDY_POLLING_SECONDS`: Time between two calendar polls. The default frequency is one minute, i. e. `60`.
19
+
-`CINDY_CALENDAR_SOURCES`: Comma-separated list of download URLs of calendars to poll. There is no default.
0 commit comments