{"id":20442598,"url":"https://github.com/masonm/nagios-sms-flowroute","last_synced_at":"2025-06-30T02:07:34.349Z","repository":{"id":146551331,"uuid":"68972402","full_name":"MasonM/nagios-sms-flowroute","owner":"MasonM","description":"Script for Nagios to send SMS alerts using Flowroute","archived":false,"fork":false,"pushed_at":"2016-09-23T21:34:33.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-08T21:02:13.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/MasonM.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":"2016-09-23T00:08:44.000Z","updated_at":"2016-09-23T00:08:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"e903994d-e849-496d-8dca-2e1cec5a4874","html_url":"https://github.com/MasonM/nagios-sms-flowroute","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MasonM/nagios-sms-flowroute","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fnagios-sms-flowroute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fnagios-sms-flowroute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fnagios-sms-flowroute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fnagios-sms-flowroute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MasonM","download_url":"https://codeload.github.com/MasonM/nagios-sms-flowroute/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MasonM%2Fnagios-sms-flowroute/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262697277,"owners_count":23349894,"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":[],"created_at":"2024-11-15T09:41:44.051Z","updated_at":"2025-06-30T02:07:34.318Z","avatar_url":"https://github.com/MasonM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Nagios-SMS-Flowroute\n================\n\nNagios plugin to send SMS alerts using Flowroute (http://www.flowroute.com)\n\nProject location: https://github.com/MasonM/nagios-sms-flowroute\n\n## Requirements\n\n* Python 2.x\n* Pip\n\n## Setup\n\n1. Signup for an account at https://manage.flowroute.com/signup/\n2. If you do not already have one, get a DID number from https://manage.flowroute.com/accounts/dids/\n3. Update the `ACCESS_KEY` and `SECRET_KEY` constants in `nagios_sms_flowroute.py`\n4. Run `pip install -r requirements.txt .` to install the script and its dependencies.\n5. Define the commands to invoke the script, one for service notifications and one for host\n   notifications:\n\n        define command {\n           command_name service-notify-by-sms\n           command_line /usr/bin/nagios_sms_flowroute.py \"$_CONTACTFROM_NUMBER$\" \"$_CONTACTTO_NUMBER$\" \"$NOTIFICATIONTYPE$ $SERVICESTATE$ $SERVICEDESC$ Host($HOSTNAME$) Info($SERVICEOUTPUT$) Date($SHORTDATETIME$)\"\n        }\n\n        define command {\n           command_name host-notify-by-sms\n           command_line /usr/bin/nagios_sms_flowroute.py \"$_CONTACTFROM_NUMBER$\" \"$_CONTACTTO_NUMBER$\" \"$NOTIFICATIONTYPE$ $HOSTSTATE$ Host($HOSTALIAS$) Info($HOSTOUTPUT$) Time($SHORTDATETIME$)\"\n        }\n\n6. Update or add a contact to use the command(s). The `_from_number` and `_to_number` fields are\n   required and must be in E.164 format.\n\n        define contact {\n           contact_name                    on-call-admin\n           alias                           Support Engineer\n           service_notification_period     24x7\n           host_notification_period        24x7\n           service_notification_options    w,u,c,r\n           host_notification_options       d,u,r\n           service_notification_commands   service-notify-by-sms\n           host_notification_commands      host-notify-by-sms\n           _from_number                    11234567891\n           _to_number                      11234567890\n        }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonm%2Fnagios-sms-flowroute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasonm%2Fnagios-sms-flowroute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasonm%2Fnagios-sms-flowroute/lists"}