{"repo":"ImranR98/Logtfy","free":true,"listed":false,"github":"https://github.com/ImranR98/Logtfy","clone":"git clone https://github.com/ImranR98/Logtfy.git","description":"Simple log monitoring service that uses ntfy for alerts.","language":"Shell","stars":13,"topics":["alerting","alerting-service","alerts","logging","logs","monitoring","monitoring-automation","ntfy","ntfy-sh"],"license":"MIT","category":"analytics","readme_excerpt":"Logtfy Simple log monitoring service that uses ntfy for alerts. Details - Logs from a specified source are continuously monitored, parsed, and used to trigger alerts that are posted to a ntfy topic. - This is done through packages called modules - each module represents a specific source of logs. - For example, the ssh logins module is used to monitor SSH logs and send an alert when someone logs in via SSH. - Modules are stored in the modules directory and each module must contain these 2 files: - logger.sh : Defines the log message source (continuously outputs log messages). - parser.sh : Parses an individual log and decides whether it should trigger a ntfy alert (if so, this script print a specifically formatted output containing the final alert data). - Alerts can be sent to a user-defined ntfy server/topic, with the option to fallback to a second server/topic in case of failure. Usage 1. Create a copy of config.default.json and name it config.json . 2. Modify config.json to suit your needs. - This file defines your ntfy.sh servers (server URL, credentials, and an optional prefix to append to all topic names). - You can define as many servers as you want, but only 1 to 2 are used (the main server, with an optional fallback). - This file also defines changes to the default settings per module. - This includes specifying a different ntfy server (and fallback) to use, customizing the topic name, disabling modules, and adding additional data to use for log collection and parsi","default_branch":null,"files":null,"tree":[],"storefront":"/r/ImranR98","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ImranR98/Logtfy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}