<style type="text/css">a[data-mtli~="mtli_filesize28705kB"]:after {content:" (287.05 kB)"}</style><style type="text/css">a[data-mtli~="mtli_filesize28705kB"]:after {content:" (287.05 kB)"}</style>{"id":232,"date":"2017-12-12T14:21:15","date_gmt":"2017-12-12T13:21:15","guid":{"rendered":"http:\/\/pandorafms.com\/library\/?p=232"},"modified":"2022-08-26T13:14:55","modified_gmt":"2022-08-26T11:14:55","slug":"alerts-via-whatsapp-script","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/alerts-via-whatsapp-script\/","title":{"rendered":"Alerts via Whatsapp script"},"content":{"rendered":"<p class=\"description_pui\">A script to configure alert commands in Pandora FMS to send alerts via Whatsapp<\/p>\n<h2>Module data<\/h2>\n<p>A simple script in PHP to accept parameters via console and be executed in the following way:<\/p>\n<p>Syntax:<\/p>\n<pre>php5 send_whatsapp.php [phone_number_source] [password] [phone_number_target] [message]<\/pre>\n<p>Example:<\/p>\n<pre>php5 send_whatsapp.php 34666123456 cGFzc3dvcmQ=\r\n 34666654321 \"What's up Whatsapp!\"<\/pre>\n<p>Includes a pdf document explaining use from manual execution to complet alert configuration in Pandora FMS<\/p>\n<h2>Files:<\/h2>\n<p><a href=\"\/library\/files_repository\/1359108233.sergio.PandoraFMS_Alerts_Whatsapp_4.zip\" class=\"mtli_attachment mtli_zip\" data-mtli=\"mtli_filesize28705kB\" target=\"_blank\" rel=\"noopener nofollow\">PandoraFMS_Alerts_Whatsapp_4.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A script to configure alert commands in Pandora FMS to send alerts via Whatsapp Module data A simple script in PHP to accept parameters via console and be executed in the following way: Syntax: php5 send_whatsapp.php [phone_number_source] [password] [phone_number_target] [message] Example: php5 send_whatsapp.php 34666123456 cGFzc3dvcmQ= 34666654321 &#8220;What&#8217;s up Whatsapp!&#8221; Includes a pdf document explaining use [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4],"tags":[54],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/232"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=232"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/232\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}