{"id":16971584,"url":"https://github.com/thomastjdev/nim_sermon","last_synced_at":"2025-03-21T20:16:20.366Z","repository":{"id":87657498,"uuid":"154940921","full_name":"ThomasTJdev/nim_sermon","owner":"ThomasTJdev","description":"The health of your system and more","archived":false,"fork":false,"pushed_at":"2019-09-01T09:55:34.000Z","size":86,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-26T14:48:37.980Z","etag":null,"topics":["monitor","monitoring-daemon","monitoring-tool","server","storage","systemd"],"latest_commit_sha":null,"homepage":null,"language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThomasTJdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-27T08:07:55.000Z","updated_at":"2023-07-12T16:04:58.000Z","dependencies_parsed_at":"2023-03-13T18:40:18.666Z","dependency_job_id":null,"html_url":"https://github.com/ThomasTJdev/nim_sermon","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_sermon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_sermon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_sermon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasTJdev%2Fnim_sermon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasTJdev","download_url":"https://codeload.github.com/ThomasTJdev/nim_sermon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244860611,"owners_count":20522466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monitor","monitoring-daemon","monitoring-tool","server","storage","systemd"],"created_at":"2024-10-14T00:52:47.217Z","updated_at":"2025-03-21T20:16:20.358Z","avatar_url":"https://github.com/ThomasTJdev.png","language":"Nim","readme":"# sermon\n\nThis program purpose is to monitor your system\nhealth using standard Linux tools. Therefore\nLinux is required.\n\nThe idea of the program is to run it on your **ser**ver\nand **mon**itor the health. Which is also the reason\nfor the name **sermon**.\n\nThe program can run on your local machine\nor on your server. The best way to run the program\nis by adding it as a system service.\n\n## System health vs Continuously monitoring\nYou can monitor you system in 2 ways. Either getting 1 or more\ndaily notifications, or continuously monitoring various\nsystem parameters.\n\nTo activate continuously monitoring disable:\n   `dailyInfo = \"false\"` in the config.cfg\nOtherwise the daily notification is enabled.\n\n\n## Usage\n```\n sermon [options]\n```\n\n## Options\n```\n -h, --help          Show this output\n -c, --config        Prints the path to your config file\n -s, --show          Prints the current health to the console\n -cs, --clustershow  Prints the current health of all nodes in cluster\n -cp, --clusterping  Checks the connection to the cluster nodes\n -ms, --mailstatus   Send a mail with health to emails in config\n```\n\n\n## Config file\nThe config file (`config.cfg`) is where you specify\nthe details which sermon use.\n\nTo disable integers, set them to 0.\n\n\n## Cluster\nThe current GIT repo does not support the cluster\nparameter. The purpose of the cluster if to give\nyou 1 place to monitor all of your sermon instances.\n\nCurrently you can only access the cluster in\nthe WWW-view - terminal is not supported.\n\nTo enable cluster, compile with `-d:cluster`\n\n# Example output\n```\n $ sermon -s\n\n ----------------------------------------\n            System status\n ----------------------------------------\n Last boot:    system boot  2018-10-27 06:43\n Uptime:       10:25:07 up  3:42,  1 user,  load average: 1,00, 1,00, 0,88\n System:       Linux sys 4.18.16-arch1-1-ARCH\n Hostname:     myHostname\n Public IP:    80.80.80.80\n Mem total:    1.028MB\n Mem occupied: 0.298453125MB\n Mem free:     0.488MB\n Nim verion:   0.19.4\n Compile time: 10:49:10\n Compile data: 2019-03-16\n\n ----------------------------------------\n               Memory usage\n ----------------------------------------\n Error:   Mem:   Usage: 3,0Gi - Limit: 2.0\n Success: Swap:  Usage: 0,0Ki - Limit: 1000.0\n\n ----------------------------------------\n               Process status\n ----------------------------------------\n Error:   nginx      : is inactive (dead)\n Success: sshd       : is active (running)\n Info:    servermon  : is not a service\n\n ----------------------------------------\n               Memory per process\n ----------------------------------------\n Error:   nginx      : 26 \u003e 20MB\n Success: sshd       : 23 \u003c 25MB\n\n ----------------------------------------\n               Space usage\n ----------------------------------------\n Error:   You have reached your warning storage level at 40\n\n Success: Filesystem                           Size  Used Avail Use% Mounted on\n Success: dev                                  6,8G     0  6,8G   0% /dev\n Success: run                                  6,8G  1,3M  6,8G   1% /run\n Error:   /dev/mapper/AntergosVG-AntergosRoot  600G  150G  150G  50% /\n Success: tmpfs                                5,8G   24M  5,7G   1% /dev/shm\n Success: /dev/sda1                            243M   76M  151M  34% /boot\n\n ----------------------------------------\n               URL health\n ----------------------------------------\n Error:   301 - https://redirecturl.com\n Success: 200 - https://nim-lang.org\n```\n\n*README is generated with [Nim to Markdown](https://github.com/ThomasTJdev/nimtomd)*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomastjdev%2Fnim_sermon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomastjdev%2Fnim_sermon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomastjdev%2Fnim_sermon/lists"}