Hi Hafez,
I would parse the state that is mentioned in the kannel status xml
file, and track the error that way.
......................................
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS
www.coolsms.com
Phone: +45 7026 1272
Fax: +45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. This message contains confidential information and
is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system. If you
are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the contents
of this information is strictly prohibited.
Den 05/02/2008 kl. 11.31 skrev hafez ahmad:
Thanks Mads for sharing, but if I have error in the LOG file like
the following :
I/O error or other error. Re-connecting.
what is the best way to monitor like errors, is it by implementing
script that parse the log files or is the another way?
thanks made again.
Hafez.
On Dec 29, 2007 2:14 PM, Mads N. Vestergaard - CoolSMS
<[EMAIL PROTECTED]> wrote:
Hi Everybody,
This is the script we are using to monitor our kannel servers:
http://gw1.coolsmsc.dk/kannel/kannelmonitor.phps
It's very simple, and can be developed even further.
Feel free to use, and please notice me if you implemented a usefull
feature ;)
--
......................................
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS
www.coolsms.com
Phone: +45 7026 1272
Fax: +45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please
notify the system manager. This message contains confidential
information and is intended only for the individual named. If you
are not the named addressee you should not disseminate, distribute
or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail
from your system. If you are not the intended recipient you are
notified that disclosing, copying, distributing or taking any action
in reliance on the contents of this information is strictly
prohibited.
--
Hafez A.Ahmad
Amman-Jordan
mobile:962-785259011
962-795708728
http://blog.hafezadnan.com