{"id":16850320,"url":"https://github.com/jacques/nagios-sms","last_synced_at":"2025-03-18T08:42:10.765Z","repository":{"id":420430,"uuid":"40264","full_name":"jacques/nagios-sms","owner":"jacques","description":"Send SMS Alerts from Nagios","archived":false,"fork":false,"pushed_at":"2008-08-17T21:35:43.000Z","size":76,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T10:30:44.223Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.ataris.co.za/projects/nagios-sms/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacques.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-08-05T22:41:46.000Z","updated_at":"2019-08-13T13:30:53.000Z","dependencies_parsed_at":"2022-07-07T18:12:15.754Z","dependency_job_id":null,"html_url":"https://github.com/jacques/nagios-sms","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/jacques%2Fnagios-sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fnagios-sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fnagios-sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacques%2Fnagios-sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacques","download_url":"https://codeload.github.com/jacques/nagios-sms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244188223,"owners_count":20412977,"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-10-13T13:22:17.588Z","updated_at":"2025-03-18T08:42:10.738Z","avatar_url":"https://github.com/jacques.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"nagios-sms\n----------\n\n * Requires that PEAR is included in your php include_path\n * Requires that SMS_Clickatell is installed from\n   http://www.powertrip.co.za/PEAR/SMS_Clickatell/\n * Requires the following standard PEAR modules:\n     - PEAR\n     - Console_Getopt\n * You will need a Clickatell account in order to receive notifications\n   from them.\n\n * Update sendsms.php with your login credentials for Clickatell if you want\n   to send SMS messages.  You can register for an account with Clickatell by\n   clicking on the following link (http://tinyurl.com/clickatell) in order\n   to sign up for an HTTP/S API account and purchase SMS Credits.\n\nUnder the contacts in contacts.cfg you add an options for\nservice_notification_commands and host_notification_commands the following:\n\nservice_notification_commands   notify-by-email,service_notify_with_sms\nhost_notification_commands      host-notify-by-email,host_notify_with_sms\n\nNow specify a pager option with your cellphone number.\n\nThe contact should look similar to:\n\ndefine contact{\n        contact_name                    joe\n        alias                           Joe Soap\n        service_notification_period     24x7\n        host_notification_period        24x7\n        service_notification_options    w,u,c,r\n        host_notification_options       d,r\n        service_notification_commands   notify-by-email,service_notify_with_sms\n        host_notification_commands      host-notify-by-email,host_notify_with_sms\n        pager                           27821234567\n        email                           joe@example.com\n        }\n\nIn misccommands.cfg add:\n------------------------\n\n# 'service_notify_with_sms' command definition\ndefine command{\n        command_name service_notify_with_sms\n        command_line /usr/local/bin/sendsms.php -d $CONTACTPAGER$ -m '$NOTIFICATIONTYPE$: $HOSTNAME$ is $SERVICESTATE$ ($SERVICEOUTPUT$)'\n}\n\n# 'host_notify_with_sms' command definition\ndefine command{\n        command_name host_notify_with_sms\n        command_line /usr/local/bin/sendsms.php -d $CONTACTPAGER$ -m '$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$ ($HOSTOUTPUT$)'\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacques%2Fnagios-sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacques%2Fnagios-sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacques%2Fnagios-sms/lists"}