WARNING: Could not deliver message 0 to <NULL> on 01721234567 delivery code 172
"irger.armin" <[email protected]> Sun, 01 Aug 2004 11:28:02 +0200
| Newsgroups | gmane.comp.mobile.sms.tsms |
|---|---|
| Message-ID | <[email protected]> |
Hi,
i'am using smsclient_2_0_8z on a SuSE 8.2 / SuSE 9.1 and with an
external isdn-modem (Elsa Microlink) to send notifications from nagios.
95% it is running fine ,but sometimes i got the following warning in the
logfile:
Jun 16 19:36:21 [13313] : Dialing SMSC 01722278020...
Jun 16 19:36:30 [13313] WARNING: read() Timeout
Jun 16 19:36:32 [13313] WARNING: read() Timeout
Jun 16 19:36:39 [13321] : Another SMS Client is already running.
Jun 16 19:36:39 [13321] : Waiting...
Jun 16 19:36:47 [13313] : Connection Established.
Jun 16 19:37:12 [13330] : Another SMS Client is already running.
Jun 16 19:37:12 [13330] : Waiting...
Jun 16 19:37:17 [13313] WARNING: read() Timeout
Jun 16 19:37:17 [13313] ERROR: Timeout: searching for +<ETX>+ failed
after 30 seconds
Jun 16 19:37:17 [13313] ERROR: No Message Response
Jun 16 19:37:17 [13313] : Hangup...
Jun 16 19:37:20 [13313] : Hangup...
Jun 16 19:37:20 [13313] : d2 Service Time: 59 Seconds
Jun 16 19:37:20 [13313] WARNING: Could not deliver message 0 to <NULL>
on 01721234567 delivery code 172
Jun 16 19:37:20 [13313] : [172] d2:01728619438 "PROBLEM: xyz is DOWN
(CRITICAL - Plugin timed out after
10 seconds)"
and the sms wasn't sent.
sms_config:
# --------------------------------------------------------------------
# Sample SMS config file
# --------------------------------------------------------------------
{
SMS_default_service = "minicall" # Used by numbers used
# without SERVICE:XXXXXX
# format
SMS_lock_action = "BLOCK"
SMS_lock_retry_delay = 5000000
SMS_lockfile = "/var/lock/smslock"
# SMS_lockfile = "/var/opt/sms/smslock" # UNIXWARE
}
# --------------------------------------------------------------------
sms_modem:
# --------------------------------------------------------------------
# SMS Modem Configuration file
# --------------------------------------------------------------------
{
# ------------------------------------------------------------
MDM_lock_dir = "/var/lock" # Lock directory
MDM_device = "ttyS0" # Modem Device Name
# Modem Device Name Examples:
#
# MDM_device = "term/00m" # UNIXWARE
# MDM_device = "ttyS0" # Linux COM1
# MDM_device = "ttyS1" # Linux COM2
#
# MDM_device = "cua/a" # SOLARIS
# MDM_lock_platform = "SOLARIS" # Set this so that we generate
# Solaris compatible lock file
# names
# ------------------------------------------------------------
# MDM_pause_after_connect = 3000000 # Pause after the connection
# string for 3 seconds
# ------------------------------------------------------------
MDM_command_prefix = "AT"
MDM_init_command = "Z"
MDM_dial_command = "X3DT"
MDM_number_prefix = "0" # Number to dial to get an
# external line.
MDM_set_local_echo_off = "E0"
MDM_disable_echo_test = NO # Test and Set local echo
# YES/NO
# ------------------------------------------------------------
MDM_dtr_hangup_sleep = 3000000 # How many microseconds
should
MDM_dtr_init_sleep = 3000000 # I lower DTR during
# MDM_dtr_init_sleep = 1000000 # init/hangup
# ------------------------------------------------------------
MDM_command_suffix = "\r"
MDM_response_prefix = "\r\n"
MDM_response_suffix = "\r\n"
# ------------------------------------------------------------
MDM_flow_control = "Hardware" # Software or Hardware
# ------------------------------------------------------------
MDM_hangup_command = "H"
MDM_attention_command = "+++"
MDM_soft_hangup_retries = 0 # Number of times I should
# continue sending
hangup code
# If 0 then don't bother
# and rely on lowering DTR
MDM_guard_time = 1750000 # Microsecond delay
before and
# After transmitting
attention command
MDM_esc_time = 125000 # Microsecond delay
between each
# character of the
attention command
# ------------------------------------------------------------
MDM_lock_action = "BLOCK"
MDM_lock_retry_delay = 5000000 # Microsecond delay to
wait before
# retrying for modem lock.
}
# --------------------------------------------------------------------
sms_service:
# --------------------------------------------------------------------
# Sample SMS services file
#
# <SERVICE> = <PROTOCOL>
#
# --------------------------------------------------------------------
{
eplus = "TAP"
d2 = "UCP"
cellnet = "TAP"
detemobil = "TAP"
d1 = "TAP"
azcom = "TAP"
ampi = "TAP"
callmax = "TAP"
telstra = "TAP"
europolitan = "CIMD"
libertel = "LIBERTEL"
mtn = "MTN"
one2one = "ONE2ONE"
orange = "ORANGE"
pageone = "PAGEONE"
minicall = "PAGEONE"
snpp = "SNPP"
tim = "TIM"
vodacom = "VODACOM"
vodafone = "VODAFONE"
vodafone_australia = "VODAFONE"
proximus = "PROXIMUS"
vodapage_block = "VODAPAGE_BLOCK"
kpn = "KPN"
answer = "ANSWER"
bteasyreach = "TAP"
swisscom = "UCP"
telenor = "UCP"
generic = "GENERIC"
vstream = "TAP"
vodafone_tap = "TAP"
nz = "TAP"
btmessagemaster = "TAP"
orange_web = "ORANGE_WEB"
cellnet_web = "CELLNET_WEB"
proximus_web = "PROXIMUS_WEB"
att_web = "ATT_WEB"
nextel_web = "NEXTEL_WEB"
pagenet_web = "PAGENET_WEB"
skytel = "TAP"
skytel2 = "TAP"
digifone = "TAP"
telia = "UCP"
netcom = "TAP"
ucp_tcp = "UCP_TCP"
mobistar = "MOBISTAR"
eirpage = "TAP"
}
#--------------------------------------------------------------------
--
-----------------------------------------------------------------------