I'm using Kannel in conjuction with Nagios. For some reason, Kannel doesn't send the first SMS when Nagios is sending alerts. The other recipients receive messages.


Does anybody have a clue?

My Kannel.conf:
group = core
admin-port = 13000
admin-password = XX
status-password = XX
admin-allow-ip = "127.0.0.1 "
log-file = "/var/log/kannel/kannel.log"
log-level = 4
access-log = "/var/log/kannel/access.log"
smsbox-port = 13001
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"
dlr-storage = mysql
store-file = "/var/log/kannel/kannel.store"

# SMSC CONNECTIONS - GLOBAL FIELDS
group = smsc
smsc = at
smsc-id = SIEMENS_MC35i
device = /dev/ttyS0
modemtype = siemens_mc35i
sim-buffering = true
keepalive = 10
pin = 0000
alt-dcs=1

group = modems
id = siemens_mc35i
name = "Siemens MC35i"
detect-string = "SIEMENS"
detect-string2 = "MC35i"
init-string = "AT+CNMI=1,2,0,1,1"
speed = 19200
enable-hwhs = "AT\\Q3"
need-sleep = true
sendline-sleep = 100

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = "0123456789 +-,"
global-sender = XYZ
log-file = "/var/log/kannel/smsbox.log"
log-level = 4
access-log = "/var/log/kannel/access.log"


# SEND-SMS USERS
group = sendsms-user
username = XX
password = XX
user-allow-ip = "127.0.0.1"
max-messages = 7
concatenation = true

group = mysql-connection
id = mydlr
host = localhost
username = XX
password = XX
database = kannel_dlr
max-connections = 1

group = dlr-db
id = mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc



BR,

Tommi

Reply via email to