{"id":20424610,"url":"https://github.com/madfxr/servbot","last_synced_at":"2025-04-12T18:44:28.307Z","repository":{"id":37814710,"uuid":"150098070","full_name":"madfxr/SERVBot","owner":"madfxr","description":"Linux Server Monitoring with Telegram Bot","archived":false,"fork":false,"pushed_at":"2024-08-19T01:45:16.000Z","size":31,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-09T21:24:12.415Z","etag":null,"topics":["bot","linux","monitoring","php","sysadmin","telegram"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/madfxr.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}},"created_at":"2018-09-24T12:19:19.000Z","updated_at":"2024-08-19T01:45:19.000Z","dependencies_parsed_at":"2023-01-17T17:01:38.207Z","dependency_job_id":null,"html_url":"https://github.com/madfxr/SERVBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfxr%2FSERVBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfxr%2FSERVBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfxr%2FSERVBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madfxr%2FSERVBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madfxr","download_url":"https://codeload.github.com/madfxr/SERVBot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248617199,"owners_count":21134190,"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":["bot","linux","monitoring","php","sysadmin","telegram"],"created_at":"2024-11-15T07:10:14.208Z","updated_at":"2025-04-12T18:44:28.228Z","avatar_url":"https://github.com/madfxr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Server Monitoring with Telegram Bot\n\n## Requirements\n- Git\n- Nginx\n- PHP-FPM\n- PHP\n- BIND\n- Certbot\n- Telegram\n\n## Installation\n- Configure the Web Server and SSL: ``https://certbot.eff.org/lets-encrypt/centosrhel7-nginx``\n- Cloning PHP source code: ``https://github.com/madfxr/servbot.git``\n- Chat in Telegram with ``@BotFather (https://t.me/BotFather)`` and create a new bot\n- Get your API token (example: ``613961047:AZFWy0k603kLssujSIkKacmKuxxxTnq8Wl4``)\n- In php file line 2, change ``\u003cauthorization_token\u003e`` with your API token (example: ``613961047:AZFWy0k603kLssujSIkKacmKuxxxTnq8Wl4``)\n- Upload the ``index.php`` file to your Web Server with SSL support\n- Then access the following URL: ``https://api.telegram.org/bot\u003cauthorization_token\u003e/setWebhook?url=https://domain.tld/index.php`` in the web browser to set the webhook (example: ``https://api.telegram.org/bot613961047:AZFWy0k603kLssujSIkKacmKuxxxTnq8Wl4/setWebhook?url=https://domain.tld/index.php``\n- Chat in Telegram with ``@BotFather (https://t.me/BotFather)`` and edit ``@yourBotName`` commands:\n\n```\ndf - Report file system disk space usage\nfree - Display amount of free and used memory in the system \nps - Report a snapshot of the current processes\ntop - Report a snapshot of the current processes\nnamedstatus - Show Internet domain name server service status\nnginxstatus - Show HTTP and reverse proxy server, mail proxy server service status\nphpfpmstatus - Show PHP FastCGI Process Manager service status\nsshdstatus - Show OpenSSH SSH service status\ndate - Print or set the system date and time\nuptime - Tell how long the system has been running\nid - Print real and effective user and group IDs\nls - List directory contents\npwd - Print name of current/working directory\nlast - Show a listing of last logged in users\nw - Show who is logged on and what they are doing\nphpversion - Show PHP version number\nsysinfo - Print system operation information\nuname - Print system information\nnc - Arbitrary TCP and UDP connections and listens\nping - Send ICMP ECHO_REQUEST to network hosts\ntelnet - User interface to the TELNET protocol\ntraceroute - Print the route packets trace to network host\ncurl - Transfer data from or to a server\ndig - DNS lookup utility\nwhois - Client for the whois directory service\n```\n\n- Enjoy!\n\n## Notes\n- SERVBot is still tried on CentOS 7 x86_64 only\n- If you are using another operating system, feel free to make changes to an existing PHP source code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadfxr%2Fservbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadfxr%2Fservbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadfxr%2Fservbot/lists"}