check_mssql_server.py "Average Wait Time"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hatebur
Posts: 2
Joined: Tue Mar 27, 2018 12:10 am
Location: Switzerland

check_mssql_server.py "Average Wait Time"

Post by hatebur »

According to Microsofts counter type definition (see https://blogs.msdn.microsoft.com/psssql ... _counters/) the "Average Wait Time (ms)" counter is of type PERF_AVERAGE_BULK, and should be measured from two samples.
Currently, as far as i understand, the "Average Wait Time" in the Script check_mssql_server.py, Version 2.1.0, 06/24/2016, is calculated from only one sample of counter "Average Wait Time (ms)" directly divided by counter "Average Wait Time Base". See attached picture.
example_data.jpg
Is there a chance that you could update the plugin so this metric is calculated more accurate?
You do not have the required permissions to view the files attached to this post.
Setup from image nagiosxi-5.4.13-64.ova.
System:
Nagios XI Version : 5.4.13
XXX.local 2.6.32-696.20.1.el6.x86_64 x86_64
CentOS release 6.9 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_mssql_server.py "Average Wait Time"

Post by scottwilkerson »

Would you be willing to make an issue on the public tracker for this open source plugin?
https://github.com/NagiosEnterprises/ch ... collection

I could copy over your info, but you seem informed about the Microsoft specs, and I would like you to get credit for the find.

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
hatebur
Posts: 2
Joined: Tue Mar 27, 2018 12:10 am
Location: Switzerland

Re: check_mssql_server.py "Average Wait Time"

Post by hatebur »

Thank you for the fast reply, i just posted the issue on GitHub.
Setup from image nagiosxi-5.4.13-64.ova.
System:
Nagios XI Version : 5.4.13
XXX.local 2.6.32-696.20.1.el6.x86_64 x86_64
CentOS release 6.9 (Final)
Gnome is not installed
Apache Information
PHP Version: 5.3.3
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_mssql_server.py "Average Wait Time"

Post by scottwilkerson »

Thanks! Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked