Last few months I have been facing lots of issues in Kannel SMS gateway.Some time sms are getting queued up, in some other time smsc went to the reconnecting stage. I searched for a tool which will monitor Kannel status unfortunately I didn’t find a tool to monitor and give an alert. so decided to write a tool which will monitor Kannel activities.
This gem will monitor
- kannel status
- kannel sms queue
- smsc status
- smsc queue and will send a email alerts when something went wrong.
run monitoring activity using command
Example of yml file is given Here.
you need to set a crone job to run this in a specific intervals. If a smsc is permanently reconection stage and you don’t want to monitor that smsc, then you can skip that particular smsc by adding in sms_to_be_skipped