Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I dunno whether its possible or not but I would like to have all my error logs sent to my mobile phone. For example I want all my /var/log/messages "error" reports to be sent to my mobile as sms, or you can take another example of Bacula, I want all the failed backup reports to be sent to me as a sms.
Is there any software which I can integrate or any script or any application so something.
Yeah I do have a monitoring system in place but again I need to integrate the monitoring system to SMS server and I dunno know how to exactly do it.
Shed as much light on this as you can. I'm an noob with sms server and stuff so guide me to basic reading even pls.
Hey,
I dunno whether its possible or not but I would like to have all my error logs sent to my mobile phone. For example I want all my /var/log/messages "error" reports to be sent to my mobile as sms, or you can take another example of Bacula, I want all the failed backup reports to be sent to me as a sms.
Is there any software which I can integrate or any script or any application so something. Yeah I do have a monitoring system in place but again I need to integrate the monitoring system to SMS server and I dunno know how to exactly do it.
Shed as much light on this as you can. I'm an noob with sms server and stuff so guide me to basic reading even pls.
Most cell phone companies have an address for each cell phone, where you can email a message, and it'll go to the phone via SMS. Something like "<phone number>@mms.att.net", or something like that. Might even be on your cell providers website, or something you can easily get from them via a quick phone call to support.
All you've got to do is set up a small script to send an email, to that address. You mention an SMS server, a monitoring system, and your Linux box...are they all the same, or different boxes? Something like
is a basic start. Look up some shell scripting tutorials, and the man pages for the mailx command. Once you get your error(s) parsed out, your script can then email out.
Thanks. Now that's helpful im gonna give a call to my mobile service provider and ask him the details.
I was wondering is there a way to setup my own SMS Server and integrate it?
There are SMS servers available for Linux, but unless you're really shoveling out LOTS of messages, it's not worth it. The Email interface is very easy to set up and use.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.