sending alerts to phones
Maybe a bit off topic - but the syslog-ng feature to pipe logs to programs got me thinking: does anyone know of a provider or service that will allow me to send mobile SMS messages from the command line? I like the idea of getting alerts if, say, login fails for root and other such naughtyness :) - foob
"f" == foob <foob@return0.net> writes:
f> Maybe a bit off topic - but the syslog-ng feature to pipe logs to f> programs got me thinking: does anyone know of a provider or service f> that will allow me to send mobile SMS messages from the command f> line? I like the idea of getting alerts if, say, login fails for f> root and other such naughtyness :) For what it's worth, I saw an ad in SysAdmin Magazine[0] a while back for an SMS service targeted at sysadmins. Don't remember any details though, and I can't seem to find it either... But keep looking, it's out there. As for syslog-ng, you'd just need a small wrapper program and the pipe directive. [0] http://www.sysadminmag.com/ -- ___ . . . . . + . . o _|___|_ + . + . + . . Per Olofsson, konstnär o-o . . . o + MagerValp@cling.gu.se - + + . http://www.cling.gu.se/~cl3polof/
Hi Here in South Africa I can send sms to my cellphone via email. Its simple to send emails from command line and best of all its free. It all depends if your SP supports email@sms. Regards Laurence foob@return0.net said:
Maybe a bit off topic - but the syslog-ng feature to pipe logs to programs got me thinking: does anyone know of a provider or service that will allow me to send mobile SMS messages from the command line? I like the idea of getting alerts if, say, login fails for root and other such naughtyness :)
- foob
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
--
My search has ended. btinternet in the UK have a web form to send sms messages. You have to be registered with bt. (which i was). Its two simple web forms, so scripting it in perl was fairly trivial. And syslog-ng's program destination pipes messages straight to the perl script. Seems to work nicely ;) If any1 in the uk wants a copy of the script i'll mail it out. Shame syslog-ng holds the program open all the time, rather than just exec'ing it when neeed... alas beggars/choosers ;) - foob On Thu, 31 May 2001, Laurence Baldwin wrote:
Hi Here in South Africa I can send sms to my cellphone via email. Its simple to send emails from command line and best of all its free. It all depends if your SP supports email@sms.
Regards Laurence
foob@return0.net said:
Maybe a bit off topic - but the syslog-ng feature to pipe logs to programs got me thinking: does anyone know of a provider or service that will allow me to send mobile SMS messages from the command line? I like the idea of getting alerts if, say, login fails for root and other such naughtyness :)
- foob
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
foob@return0.net pressed following keys:
Shame syslog-ng holds the program open all the time, rather than just exec'ing it when neeed... IMHO it's rather feature than bug... it can be used to dynamically create a daily summary.
Suggestion: either create a new destination (exec) or add a parameter to program destination to control if the program is exec'ed for each message or held open. greets, --Washington Irving -- __ Maciek Pasternacki <maciekp@japhy.fnord.org> [http://japhy.fnord.org] `| _ |_\ / See http://japhy.fnord.org/sig.txt for more info -><- Fish: ,|{-}|}| }\/ { ...I only laughed away your tears, \/ |____/ but even jesters cry... }
participants (4)
-
foob@return0.net
-
Laurence Baldwin
-
Maciek Pasternacki
-
MagerValp