{"id":5779,"date":"2021-05-23T13:29:23","date_gmt":"2021-05-23T13:29:23","guid":{"rendered":"https:\/\/davelevy.info\/wiki\/?p=5779"},"modified":"2024-08-15T08:52:28","modified_gmt":"2024-08-15T08:52:28","slug":"raspberry-pi-and-messages","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/raspberry-pi-and-messages\/","title":{"rendered":"Raspberry Pi and messages"},"content":{"rendered":"\n<p>I logged into find my disk too full to use. Why didn&#8217;t it tell me? Here are my notes.<br><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>When originally written I asked is Twitter the answer, or should I use mail\/smtp or even snmp? In 2022, I realised that mastodon could be used, but smtp and snmp remain the lowest common denominator for message transport. See also <a href=\"https:\/\/davelevy.info\/wiki\/event-monitoring\/\">https:\/\/davelevy.info\/wiki\/event-monitoring\/<\/a> which is about event capture elsewhere on this wiki.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Twitter<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/ostechnix.com\/tweet-commandline-linux\/\">How to tweet from the Linux command line<\/a>&nbsp;from ostechnix<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Mail<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.howtogeek.com\/51819\/how-to-setup-email-alerts-on-linux-using-gmail\/\">How to setup email alerts on linux using gmail<\/a>&nbsp;from &#8220;How to Geek&#8221;<\/li>\n\n\n\n<li><a href=\"https:\/\/raspberrytips.com\/mail-server-raspberry-pi\/\">How to set up a mail server on your Raspberry Pi?<\/a>&nbsp;from Raspberry Tips<\/li>\n\n\n\n<li>See <a href=\"https:\/\/davelevy.info\/wiki\/my-little-mail-server\/\">my little mail server<\/a><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">SNMP<\/h3>\n\n\n\n<p>The problem with SNMP is one of wheat and chaff<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/web.archive.org\/web\/20240302074642\/https:\/\/bytesofgigabytes.com\/snmp-protocol\/raspberry-pi-snmp\/\">raspberry pi SNMP<\/a>&nbsp;from bytes of gigabytes, how to install on the PI<\/li>\n\n\n\n<li><a href=\"https:\/\/www.manageengine.com\/free-snmp-mibbrowser-android\/free-snmp-mibbrowser-android-index.html\">Free SNMP console for Android from Manage Engine<\/a>, this <strong>might<\/strong> be what&#8217;s needed?<\/li>\n\n\n\n<li><a href=\"https:\/\/www.satsignal.eu\/raspberry-pi\/monitoring.html\">Monitoring The Raspberry Pi with MRTG<\/a>&nbsp;from satsignal.eu, focused on the monitored device<\/li>\n\n\n\n<li>The <a href=\"https:\/\/en.wikipedia.org\/wiki\/Multi_Router_Traffic_Grapher\">Multi Router Traffic Grapher<\/a>&nbsp;at wikipedia<\/li>\n\n\n\n<li><a href=\"https:\/\/pushover.net\/\">https:\/\/pushover.net\/<\/a>, a free trial but otherwise $5 per annum, looks like a console. Maybe free for individual use. It has some code examples <a href=\"https:\/\/support.pushover.net\/i44-example-code-and-pushover-libraries#unix\">here<\/a>, inc. the command line.<\/li>\n\n\n\n<li><a href=\"https:\/\/simplepush.io\/#about\">https:\/\/simplepush.io\/#about<\/a> is this another tool at the console end<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Mastodon<\/h3>\n\n\n\n<p>This can be written to, using <code>toot<\/code> a command line utility. It can be installed using apt. <code>toot<\/code> has a <a href=\"https:\/\/toot.bezdomni.net\/usage.html\">number of command line arguments<\/a>, it seems to store the login parameters on the disk; you must login interactively the first time. It&#8217;s code is <a href=\"https:\/\/github.com\/ihabunek\/toot\">here<\/a>, and web page is <a href=\"https:\/\/toot.readthedocs.io\/en\/latest\/\">here<\/a>, it&#8217;s available afaik in the raspbian repos. I <a href=\"https:\/\/github.com\/ihabunek\/toot\/issues\/230\">asked about direct messages<\/a>, and got a reply, I was pointed at <a href=\"https:\/\/docs.joinmastodon.org\/user\/posting\/#direct\">the mastodon documentation<\/a>. Here is the short cut, <code>toot --visibility direct \"@username message text\".<\/code><\/p>\n\n\n\n<a name=\"RSS\"><\/a>\n\n\n\n<h3 class=\"wp-block-heading\">RSS<\/h3>\n\n\n\n<p>This should be easy, checkout my ellotorss code, and my add linkedin scripts. What is the standard?\u00a0 This,<a href=\"https:\/\/www.businessinsider.com\/guides\/tech\/what-is-rss-feed?r=US&amp;IR=T\"> from Business Insider<\/a> is mainly about reading. I made some notes on this wiki, in an article called <a href=\"https:\/\/davelevy.info\/wiki\/json-to-xml\/\">json-to-xml<\/a>.<\/p>\n\n\n\n<p>I found the following links in 2023, how to <a href=\"https:\/\/www.xul.fr\/en-xml-rss.html\">use the RSS standard to make a file<\/a>. and how to use<a href=\"https:\/\/ifttt.com\/connect\/feed\/sms\"> IFTTT to send a text on receipt <\/a>of a feed item.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Others?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/grafana.com\/\">https:\/\/grafana.com\/<\/a><\/li>\n\n\n\n<li>Is <a href=\"https:\/\/ifttt.com\/\">IFTTT<\/a>, part of the answer, using RSS as the event log? Or <a href=\"https:\/\/www.monitoro.xyz\/post\/how-to-trigger-an-ifttt-recipe-when-a-website-changes\">Monitoro<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I logged into find my disk too full to use. Why didn&#8217;t it tell me? Here are my notes.<\/p>\n","protected":false},"author":1,"featured_media":6777,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[8,6,3],"tags":[822,1632,129,916,1291,914,994,1286,119,1633,911,118,1634],"class_list":["post-5779","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-networking","category-technology","tag-email","tag-event-monitoring","tag-ifttt","tag-linux","tag-monitoring","tag-networking","tag-raspberry-pi","tag-raspbian","tag-rss","tag-snmp","tag-technology","tag-twitter","tag-webhooks"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2022\/10\/raspberrytart-unsplash-alexandrakusper-cropped-w1024.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=5779"}],"version-history":[{"count":5,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5779\/revisions"}],"predecessor-version":[{"id":11276,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5779\/revisions\/11276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/6777"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=5779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=5779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=5779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}