Networking Forums

Networking Forums > Computer Networking > Linux Networking > Exec Command sending a SMS

Reply
Thread Tools Display Modes

Exec Command sending a SMS

 
 
Andrea
Guest
Posts: n/a

 
      10-28-2008, 07:25 AM
Hi,
I manage some servers in a Farm-
I wish to know if it's possible to exec some command using SMS-
Example:

I have to reboot a service or the server 'cause it's in crash.
I don't have a pc.
I send an SMS to a specific number writng: "reboot server2 code:1234"

the system recognize my auth code 1234 and reboot the server2

It's possibile to do that?
Which sw can do it?
Any suggestions of names?

Thanks a lot!!
 
Reply With Quote
 
 
 
 
Jozza
Guest
Posts: n/a

 
      10-28-2008, 10:37 AM
"Andrea" <(E-Mail Removed)> wrote in message
news:8515c891-653f-4838-bce9-(E-Mail Removed)...
> Hi,
> I manage some servers in a Farm-
> I wish to know if it's possible to exec some command using SMS-
> Example:
>
> I have to reboot a service or the server 'cause it's in crash.
> I don't have a pc.
> I send an SMS to a specific number writng: "reboot server2 code:1234"
>
> the system recognize my auth code 1234 and reboot the server2
>
> It's possibile to do that?
> Which sw can do it?
> Any suggestions of names?
>
> Thanks a lot!!


Are you for real? I don't see how this question applies to this group,
but...

First you would need an external gsm module to receive SMSs.
This module would have to have the ability to transfer SMSs to the receiving
PC and therefore to the receiving software running on that PC.
If it was a "service" that failed on your server, Then the receiving
software could restart the failing service (or you could just use the
built-in mechanism of the service manager to restart the service if the
service has shut down, thus removing the need for GSM equipment)
If it was the "server machine" than hung, then you would have to have a
piece of harware relay that would receive the SMS and physicaly remove the
power from your server machine and then return it to make it reboot.

J.





 
Reply With Quote
 
Doug Mitton
Guest
Posts: n/a

 
      10-28-2008, 12:36 PM
Andrea <(E-Mail Removed)> wrote:

>Hi,
>I manage some servers in a Farm-
>I wish to know if it's possible to exec some command using SMS-
>Example:
>
>I have to reboot a service or the server 'cause it's in crash.
>I don't have a pc.
>I send an SMS to a specific number writng: "reboot server2 code:1234"
>
>the system recognize my auth code 1234 and reboot the server2
>
>It's possibile to do that?
>Which sw can do it?
>Any suggestions of names?
>
>Thanks a lot!!


I may have misunderstood your request BUT:

1) SMS From PC to Phone
I don't know which country you are writing from BUT here, all (?) cell
phones have an email address, ie.
<(E-Mail Removed)>
(E-Mail Removed)
(E-Mail Removed)
(E-Mail Removed)
(E-Mail Removed)

2) Phone To PC
And, my cell phones, in the same domains as listed above accept an
email address in the SMS destination field.

So I:
- Send an SMS to a reserved email address
- I usually use some key word in the email to filter on
- Use a utility to monitor the reserved email address (ie. fetchmail)
- Retrieve the email and use procmail and a custom script to parse the
email, and act on it if it meets the criteria.

In #1 I have my computer alert me if a specific email has arrived or
some preset condition has been met on my computer.

In #2 I send a ham radio call sign from my phone, have my computer
look it up then reply with the name, address and qualifications of the
owner.

I use these approachs regularly. Why? Because I can! :-)

Good luck!

--
-------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove ".invalid" from my domain.
-------------------------------------------------
 
Reply With Quote
 
Jozza
Guest
Posts: n/a

 
      10-28-2008, 02:13 PM
"Doug Mitton" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Andrea <(E-Mail Removed)> wrote:
>
>>Hi,
>>I manage some servers in a Farm-
>>I wish to know if it's possible to exec some command using SMS-
>>Example:
>>
>>I have to reboot a service or the server 'cause it's in crash.
>>I don't have a pc.
>>I send an SMS to a specific number writng: "reboot server2 code:1234"
>>
>>the system recognize my auth code 1234 and reboot the server2
>>
>>It's possibile to do that?
>>Which sw can do it?
>>Any suggestions of names?
>>
>>Thanks a lot!!

>
> I may have misunderstood your request BUT:
>
> 1) SMS From PC to Phone
> I don't know which country you are writing from BUT here, all (?) cell
> phones have an email address, ie.
> <(E-Mail Removed)>
> (E-Mail Removed)
> (E-Mail Removed)
> (E-Mail Removed)
> (E-Mail Removed)
>
> 2) Phone To PC
> And, my cell phones, in the same domains as listed above accept an
> email address in the SMS destination field.
>
> So I:
> - Send an SMS to a reserved email address
> - I usually use some key word in the email to filter on
> - Use a utility to monitor the reserved email address (ie. fetchmail)
> - Retrieve the email and use procmail and a custom script to parse the
> email, and act on it if it meets the criteria.
>
> In #1 I have my computer alert me if a specific email has arrived or
> some preset condition has been met on my computer.
>
> In #2 I send a ham radio call sign from my phone, have my computer
> look it up then reply with the name, address and qualifications of the
> owner.
>
> I use these approachs regularly. Why? Because I can! :-)
>
> Good luck!
>
> --
> -------------------------------------------------
> http://www3.sympatico.ca/dmitton
> SPAM Reduction: Remove ".invalid" from my domain.
> -------------------------------------------------


Not happening in Europe
As far as i know, in US, cell phones didn't support SMS messaging system
until a few years ago, only emails?

J.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending email from command line? Gilles Ganault Linux Networking 5 11-14-2007 07:00 PM
net-snmp exec script Adamo Linux Networking 0 03-31-2006 08:25 AM
Sick of Backup Exec, is there a better way to back up servers? google@chanter.com Windows Networking 30 09-25-2005 03:37 PM
wu-ftpd & site exec & tar Magda Hewryk Linux Networking 0 10-16-2004 03:56 AM
stunnel doing exec; how to get remote IP address? Jem Berkes Linux Networking 5 05-21-2004 05:18 PM



1 2 3 4 5 6 7 8 9 10 11