|Subject:||Testing connectivity to a SMPP-server|
|Date:||Wed, 14 Sep 2011 13:14:42 +0200|
|User-agent:||Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:126.96.36.199) Gecko/20110902 Thunderbird/3.1.14|
Hi all,Since monit cannot (yet?) speak the SMPP-protocol, I try to use the send/expect method.
Now, to test the connectivity I send a well-defined "BIND" string to the SMPP server and check my response. However, this will leave the SMPP connection open until closed.
To not have dozens, or hundreds, of dangling connections open I would like to send the appropriate "UNBIND" string to terminate the connection.
How do I write a statement that will do one test after the other; and only if the first test succeeded?
|[Prev in Thread]||Current Thread||[Next in Thread]|