Monitoring Active SMPP Connections

Monitoring Active SMPP Connections SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 24, 2009 » Monitoring Active SMPP Connections « Previous || Next »
Author Message
New member
Username: Tester

Post Number: 6
Registered: 11-2008
Posted on Thursday, May 28, 2009 - 04:59 pm:   

Are there any SNMP traps generated from NowSMS? If not, what is the best practice for monitoring the active SMPP Client Connections. My thought is to monitor the files in %Program Files%\NowSMS\SMPPData\ActiveUsers. If the user's file does not exist, then there is no acitve connection.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 866
Registered: 08-2008
Posted on Thursday, May 28, 2009 - 06:54 pm:   

There is no SNMP interface.

What you are thinking of doing is a reasonable idea, but there is also another way.

Regarding the files in %Program Files%\NowSMS\SMPPData\ActiveUsers ...

Each active connection gets a file in that directory. There is no content to the file, the file is just held open as long as the connection is active, then closed and deleted when the connection is released.

The format of the filename is:


IPAddress is the address from which the account is connected, and port is the port number (usually varies with each connection) from which the account is connected.

SRT indicates the connection type ... S = sender .... R = receiver ... T = transceiver

accountName is the name of the account as defined in NowSMS

You're welcome to monitor these files if that's what you want to do.

However, there is another way. There is an XML/HTTP based query interface for this information.

Enable the "Web Account Administration" on the "Web" page of the NowSMS configuration dialog, and assign an account name and password.

Connect to the NowSMS server with the following URL:

Substitute in your appropriate IP address and port ... and the appropriate "adminuser" and "adminpass" values.

The XML formatted information is quite readable, so to get started you might want to make the request via a web browser to see what information is returned.

For more details on the XML format, see the following:

You'll notice from the example in that thread that there is an <SMPPClientList> section of the XML response that details information about connected SMPP clients.

NowSMS Support

Login Login / Register Logout Logout Search Last 30 Days Topics Topics