{"id":20541181,"url":"https://github.com/netways/check_smseagle","last_synced_at":"2025-07-05T17:36:29.713Z","repository":{"id":148513410,"uuid":"92949596","full_name":"NETWAYS/check_smseagle","owner":"NETWAYS","description":"Icinga check plugin for GSM signal strength of an SMSEagle device","archived":false,"fork":false,"pushed_at":"2023-12-13T13:56:47.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-03-27T22:11:51.244Z","etag":null,"topics":["icinga","monitoring","plugin","smseagle"],"latest_commit_sha":null,"homepage":"https://shop.netways.de","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NETWAYS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2017-05-31T13:39:16.000Z","updated_at":"2023-12-06T08:39:53.000Z","dependencies_parsed_at":"2024-11-16T01:21:31.832Z","dependency_job_id":"2d4086a8-1d32-466d-9595-ae8a62022ca7","html_url":"https://github.com/NETWAYS/check_smseagle","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NETWAYS%2Fcheck_smseagle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NETWAYS%2Fcheck_smseagle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NETWAYS%2Fcheck_smseagle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NETWAYS%2Fcheck_smseagle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NETWAYS","download_url":"https://codeload.github.com/NETWAYS/check_smseagle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248848278,"owners_count":21171340,"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":["icinga","monitoring","plugin","smseagle"],"created_at":"2024-11-16T01:20:00.658Z","updated_at":"2025-04-14T08:39:33.599Z","avatar_url":"https://github.com/NETWAYS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check_smseagle\n\ncheck_smseagle checks the GSM signal strength of an [SMSEagle](http://www.smseagle.eu/) device.\nCurrently only works with the recommended API v2. For API v1 please use the version 1.0.0.\n\n## Installation\n\nThe plugin requires at least Python 3 and the Python requests module\n\nPlease prefer installation via system packages like python3-requests.\n\nAlternatively you can install with pip:\n\n`pip3 install -r requirements.txt`\n\n## Usage\n\n```\ncheck_smseagle.py [-h] -u URL -t TOKEN [-M MODEM] [-w WARNING] [-c CRITICAL] [-T TIMEOUT]\n                  [--insecure]\n\ncheck_smseagle (Version: 2.0.0)\n\noptions:\n  -h, --help            show this help message and exit\n  -u URL, --url URL     Hostname of the device (CHECK_SMSEAGLE_API_URL)\n  -t TOKEN, --token TOKEN\n                        API token for authentication (CHECK_SMSEAGLE_API_TOKEN)\n  -M MODEM, --modem MODEM\n                        Modem ID\n  -w WARNING, --warning WARNING\n                        Warning if the GSM signal strength is less than PERCENT.\n                        Must be greater than --critical\n  -c CRITICAL, --critical CRITICAL\n                        Critical if the GSM signal strength is less than PERCENT\n  -T TIMEOUT, --timeout TIMEOUT\n                        Seconds before connection times out (default 10)\n  --insecure            Allow insecure SSL connections (default False)\n```\n\nVarious flags can be set with environment variables, refer to the help to see which flags.\n\n## Example\n\nFor a device at `192.168.144.120:443` with this API token `qqgfHAtBuja8liwcOafzXzm4WHcWYOb`.\n\nTo monitor the GSM signal strength you would use the plugin like this:\n\n```\ncheck_smseagle -u \"https://192.168.144.120\" -t \"qqgfHAtBuja8liwcOafzXzm4WHcWYOb\"\n```\n\nYou can increase the warning and critical thresholds by adding the following options: `-w 20 -c 10`\n\n# notify_smseagle\n\nnotify_smseagle sends SMS via an [SMSEagle](http://www.smseagle.eu/) device.\nCurrently only works with the recommended API v2. For API v1 please use the version 1.0.0.\n\n## Installation\n\nThe plugin requires at least Python 3 and the Python requests module\n\nPlease prefer installation via system packages like python3-requests.\n\nAlternatively you can install with pip:\n\n`pip3 install -r requirements.txt`\n\n## Usage\n\n```\nnotify_smseagle.py [-h] -u URL -r RECIPIENT -m MESSAGE -t TOKEN [-T TIMEOUT]\n                   [--insecure]\n\nnotify_smseagle (Version: 2.0.0)\n\noptions:\n  -h, --help            show this help message and exit\n  -u URL, --url URL     Hostname of the device (CHECK_SMSEAGLE_API_URL)\n  -t TOKEN, --token TOKEN\n                        API token for authentication (CHECK_SMSEAGLE_API_TOKEN)\n  -r RECIPIENT, --recipient RECIPIENT\n                        Recipient for the message (required)\n  -m MESSAGE, --message MESSAGE\n                        The message to send (required)\n  -T TIMEOUT, --timeout TIMEOUT\n                        Seconds before connection times out (default 10)\n  --insecure            Allow insecure SSL connections (default False)\n```\n\nVarious flags can be set with environment variables, refer to the help to see which flags.\n\n## Example\n\nFor a device at `192.168.144.120:443` with this API token `qqgfHAtBuja8liwcOafzXzm4WHcWYOb`.\n\nTo send an SMS you would use the plugin like this:\n\n```\nnotify_smseagle -u \"https://192.168.144.120\" -t \"qqgfHAtBuja8liwcOafzXzm4WHcWYOb\" \\\n                -r \"+49123456789\" -m \"nothingtoreadhere\"\n```\n\n# smseagle_ack.cgi\n\nsmseagle_ack.cgi is a CGI 1.1 script for the \"callback url\" function of an [SMSEagle](http://www.smseagle.eu/) device.\n\nIt parses incoming SMSs and acknowledges host/service problems if an SMS requests that.\n\n## Requirements\n\nPython 2.6 or 2.7\n\n## Configuration\n\nThe script reads its configuration from the file specified in the\nX_SMSEAGLE_ACK_CGI_CFG environment variable. Default: /etc/smseagle-ack-cgi.conf\n\n## Example\n\n```\n[security]\napikey=123456\nverify-sender=1\n\n[contacts]\n+49123456789=jdoe\n\n[icinga]\ncmd-pipe=/var/lib/icinga/rw/icinga.cmd\n```\n\nsecurity.apikey requires the SMSEagle device to authenticate with that API key.\n\nIf security.verify-sender is set to 1, only SMSs from the configured\nmobile numbers may acknowledge problems.\n\nIf an acknowledging SMS' sender is configured in [contacts],\nthe acknowledgement's author shall be the configured alias, not the number.\n\nicinga.cmd-pipe specifies the local command pipe to be used for acknowledging.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetways%2Fcheck_smseagle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetways%2Fcheck_smseagle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetways%2Fcheck_smseagle/lists"}