- Published on
- • 1 min read
Kannel monitoring tool - Ruby Gem
- Authors

- Name
- Shaiju Edakulangara
- @eshaiju
Over the past few months, I have been facing many issues with the Kannel SMS gateway. Sometimes SMS messages get queued up, and at other times the SMSC goes into a reconnecting stage. I searched for a tool to monitor Kannel status, but unfortunately, I didn't find one that could monitor and send alerts. So I decided to write a tool to monitor Kannel activities.
kannel_monitor 0.0.2
This gem will monitor:
- Kannel status
- Kannel sms queue
- SMSC status
- SMSC queue and will send email alerts when something goes wrong.
Just install the gem on your server using:
gem install kannel_monitor
Run the monitoring activity using the command:
kannel_monitor 'path to kannel_monitor.yml'
Example of yml file is given here.
You need to set up a cron job to run this at specific intervals. If an SMSC is in a permanent reconnection stage and you don't want to monitor that SMSC, you can skip that particular SMSC by adding it to sms_to_be_skipped.