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 reconnecting stage. I searched for a tool which will monitor kannel status Unfortunately i didn't find a tool to monitor and give alert . so decided to write a tool which will monitor kannel activities.
kannel_monitor 0.0.2
kannel_monitor 0.0.2
installgem install kannel_monitor
- kannel status
- kannel sms queue
- smsc status
- smsc queue and will send a email alerts when something went wrong.
Just install gem in server using gem install kannel_monitor
run monitoring activity using command kannel_monitor 'path to kannel_monitor.yml'
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
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
No comments:
Post a Comment