Operating System - HP-UX
1834809 Members
2569 Online
110070 Solutions
New Discussion

Re: How to configure SMS Alerts.

 
Vasanth Nayak
Occasional Advisor

How to configure SMS Alerts.

Can any one help me in configuring SMS alerts if there is a threshold voilation.
2 REPLIES 2
Steven Sim Kok Leong
Honored Contributor

Re: How to configure SMS Alerts.

Hi,

You need:
1) An SMS gateway
2) An SMS client software ported to your OS in order to send the alerts to the SMS gateway for alerting.
3) Cron scripts to interface with the SMS client software e.g.

#!/sbin/sh

if [ `ps -fae|wc -l|awk '{print $1}'` -gt 600 ]
then
/opt/sms/sms.client 91828385 "`hostname` alert: processes > 600"
fi

Hope this helps. Regards.

Steven Sim Kok Leong
Wodisch
Honored Contributor

Re: How to configure SMS Alerts.

Hello,

usually you can simply send an email to your mobile phone provider's SMS-gateway (at least we can do this in germany) and it will be sent to the mobile phone which number you support.
But be careful, as it may take longer than expected for the SMS to arrive (even though my mobile phone is turned every day for hours, sometimes I receive a SMS after up to 5 days of waiting).

Regards,
Wodisch