Poll current statistics

Poll current statistics SearchSearch
Author Message
Chris
New member
Username: Chrisc

Post Number: 26
Registered: 12-2008
Posted on Wednesday, February 10, 2010 - 03:30 pm:   

Hi guys

We'd like to know if it is possible to Poll NowSMS for the statistics that appears on the Service tab of the interface.

What we'd prefer is to have the stats talk to Windows perfmon because it hardly impacts the server. If not, any other means is also acceptable.

The main reason for this is to measure current performance such as current message throughput, queued messages, sent messages, failures and retries.

If this is at all possible, we'd like to have stats on an overall and on a per SMPP-bind level.

Is this something you can perhaps look into?

Thanks
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1784
Registered: 08-2008
Posted on Wednesday, February 10, 2010 - 07:21 pm:   

Hi Chris,

There is a polling interface that returns an XML format status report.

You can find details here:

http://blog.nowsms.com/2009/02/xml-status-query-for-smsc-connection.html

And we just recently posted an XML Schema that can also assist in interpreting the information:

http://blog.nowsms.com/2010/02/xml-status-query-for-smsc-connection.html

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 28
Registered: 12-2008
Posted on Friday, February 12, 2010 - 09:11 am:   

Hi Des

Thanks for providing us this, this will help us a lot in managing our SMPP users.

However, what we are after is some way of having realtime monitoring in place for the NowSMS queues. The reasons we're suggesting Windows Perfmon is because of the fact that perfmon hardly uses any server overhead, is easy to integrate with, and offers realtime monitoring.

When looking at the NowSMS service tab, realtime monitoring already seems to be the case with NowSMS, but our we think that because the application is already Windows based, integration into perfmon should be possible?

We're basically looking for queued messages, sent messages, failures and retries.

Is there any way you can look into this?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1795
Registered: 08-2008
Posted on Friday, February 12, 2010 - 05:17 pm:   

Hi Chris,

I had a talk with a couple of our engineers about this, and they don't have any familiarity with the APIs for interfacing with PerfMon.

You wouldn't happen to have any pointers would you?

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 31
Registered: 12-2008
Posted on Thursday, February 25, 2010 - 03:31 pm:   

Hi Des

Further to the discussion in the other post, getting NowSMS to interact with perfmon will greatly help us diagnose any issues when things get a bit rough

I've spoken to our IT director who is a perfmon guru and we can point you guys in the right direction.

Have a look at:

http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecountertyp e.aspx

http://msdn.microsoft.com/en-us/library/system.diagnostics.performancecounter.as px

http://www.codeproject.com/KB/cs/PerfCounterCreation.aspx

These should provide a good explanation of what we're on about.

We've got a specific list of counters we would like to see from you guys, but I'm not able to paste in here without messing it up.

Is there any way of me emailing the list of counters we'd like to you?

Thanks
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1864
Registered: 08-2008
Posted on Thursday, February 25, 2010 - 11:22 pm:   

Hi Chris,

We have been looking into this a little further, and have found the information on MSDN that describes how to create and implement your own performance counters.

It's still a bit overwhelming, as the interfaces for creating the performance counters are a bit unusual. We haven't gotten as far as any proof of concept yet, which would tell us how much effort would be involved in a full implementation.

But let me ask you this ... since your IT director is something of a perfmon guru. Is there any way to monitor perfmon data via SNMP? We periodically get requests for monitoring via SNMP, and perfmon does look like it would be easier to implement than direct SNMP.

--
Des
NowSMS Support
Chris
New member
Username: Chrisc

Post Number: 33
Registered: 12-2008
Posted on Monday, March 01, 2010 - 11:33 am:   

Hi Des

It does seem to be possible to do, but since we do not know the ins and outs of your software it would be best if you guys take a look into it and decide on your own interpretation of what can be done.

I also had a chat with our Infrastructure Manager and he's also saying monitoring via SNMP will be of a great help.

Does Google provide you with any help?

Regards
Chris
Chris
New member
Username: Chrisc

Post Number: 39
Registered: 12-2008
Posted on Wednesday, April 28, 2010 - 10:23 am:   

Hi Des

Thought I'd chase this up and perhaps get an update to how you guys are doing with integrating performance counters into NowSMS?

We have been able to create a form of monitoring using the XML posts and that has helped to a degree, including our overall message throughput rate. However, we'd still to view these statistics in a real-time environment and with a few more specific counters in place.

If you can provide an update to us regarding this it will be highly appreciated.

Regards
Chris
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2058
Registered: 08-2008
Posted on Thursday, April 29, 2010 - 03:41 pm:   

Hi Chris,

I'm sorry, but no progress has been made in this area.

Our primary focus over the last two months has been on significant performance improvements when there are large message queues (especially when combined with a large number of outbound SMSC connections).

We may be able to revisit this issue after that work is complete.

--
Des
NowSMS Support
Frank Danielson
New member
Username: Fdanielson

Post Number: 7
Registered: 02-2006
Posted on Friday, April 30, 2010 - 04:45 pm:   

FWIW- If you're considering adding monitoring capabilities to the software SNMP would be much more useful to us than Windows PerfMon.